Home
last modified time | relevance | path

Searched refs:TestCase (Results 1 – 25 of 2073) sorted by relevance

12345678910>>...83

/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DJsonParserTest.cs62 [TestCase(" 1 ")]
63 [TestCase("+1")]
64 [TestCase("1,000")]
65 [TestCase("1.5")]
136 [TestCase(typeof(BoolValue), "true", true)]
137 [TestCase(typeof(Int32Value), "32", 32)]
138 [TestCase(typeof(Int64Value), "32", 32L)]
139 [TestCase(typeof(Int64Value), "\"32\"", 32L)]
140 [TestCase(typeof(UInt32Value), "32", 32U)]
141 [TestCase(typeof(UInt64Value), "\"32\"", 32UL)]
[all …]
DJsonTokenizerTest.cs53 [TestCase("foo", "foo")]
54 [TestCase("tab\\t", "tab\t")]
55 [TestCase("line\\nfeed", "line\nfeed")]
56 [TestCase("carriage\\rreturn", "carriage\rreturn")]
57 [TestCase("back\\bspace", "back\bspace")]
58 [TestCase("form\\ffeed", "form\ffeed")]
59 [TestCase("escaped\\/slash", "escaped/slash")]
60 [TestCase("escaped\\\\backslash", "escaped\\backslash")]
61 [TestCase("escaped\\\"quote", "escaped\"quote")]
62 [TestCase("foo {}[] bar", "foo {}[] bar")]
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs64 [TestCase(" 1 ")]
65 [TestCase("+1")]
66 [TestCase("1,000")]
67 [TestCase("1.5")]
138 [TestCase(typeof(BoolValue), "true", true)]
139 [TestCase(typeof(Int32Value), "32", 32)]
140 [TestCase(typeof(Int64Value), "32", 32L)]
141 [TestCase(typeof(Int64Value), "\"32\"", 32L)]
142 [TestCase(typeof(UInt32Value), "32", 32U)]
143 [TestCase(typeof(UInt64Value), "\"32\"", 32UL)]
[all …]
DJsonTokenizerTest.cs53 [TestCase("foo", "foo")]
54 [TestCase("tab\\t", "tab\t")]
55 [TestCase("line\\nfeed", "line\nfeed")]
56 [TestCase("carriage\\rreturn", "carriage\rreturn")]
57 [TestCase("back\\bspace", "back\bspace")]
58 [TestCase("form\\ffeed", "form\ffeed")]
59 [TestCase("escaped\\/slash", "escaped/slash")]
60 [TestCase("escaped\\\\backslash", "escaped\\backslash")]
61 [TestCase("escaped\\\"quote", "escaped\"quote")]
62 [TestCase("foo {}[] bar", "foo {}[] bar")]
[all …]
DJsonFormatterTest.cs251 [TestCase(1.0, "1")]
252 [TestCase(double.NaN, "'NaN'")]
253 [TestCase(double.PositiveInfinity, "'Infinity'")]
254 [TestCase(double.NegativeInfinity, "'-Infinity'")]
292 [TestCase("a\u17b4b", "a\\u17b4b")] // Explicit
293 [TestCase("a\u0601b", "a\\u0601b")] // Ranged
294 [TestCase("a\u0605b", "a\u0605b")] // Passthrough (note lack of double backslash...)
324 [TestCase("foo_bar", "fooBar")]
325 [TestCase("bananaBanana", "bananaBanana")]
326 [TestCase("BANANABanana", "BANANABanana")]
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHebrewTest.java137 final TestCase[] testCases = { in TestCases()
147 new TestCase(1507231.5, 0, 3174, 12, 10, SUN, 0, 0, 0), in TestCases()
148 new TestCase(1660037.5, 0, 3593, 3, 25, WED, 0, 0, 0), in TestCases()
149 new TestCase(1746893.5, 0, 3831, 1, 3, WED, 0, 0, 0), in TestCases()
150 new TestCase(1770641.5, 0, 3896, 1, 9, SUN, 0, 0, 0), in TestCases()
151 new TestCase(1892731.5, 0, 4230, 4, 18, WED, 0, 0, 0), in TestCases()
152 new TestCase(1931579.5, 0, 4336, 10, 4, MON, 0, 0, 0), in TestCases()
153 new TestCase(1974851.5, 0, 4455, 2, 13, SAT, 0, 0, 0), in TestCases()
154 new TestCase(2091164.5, 0, 4773, 9, 6, SUN, 0, 0, 0), in TestCases()
155 new TestCase(2121509.5, 0, 4856, 9, 23, SUN, 0, 0, 0), in TestCases()
[all …]
DEthiopicTest.java125 final TestCase[] tests = { in TestCases()
134 … new TestCase(2401442.5, 1, 1855, 2, 20, WED, 0, 0, 0), // Gregorian: 29/10/1862 in TestCases()
135 … new TestCase(2402422.5, 1, 1857, 10, 29, WED, 0, 0, 0), // Gregorian: 05/07/1865 in TestCases()
136 … new TestCase(2402630.5, 1, 1858, 5, 22, MON, 0, 0, 0), // Gregorian: 29/01/1866 in TestCases()
137 … new TestCase(2402708.5, 1, 1858, 8, 10, TUE, 0, 0, 0), // Gregorian: 17/04/1866 in TestCases()
138 … new TestCase(2402971.5, 1, 1859, 4, 28, SAT, 0, 0, 0), // Gregorian: 05/01/1867 in TestCases()
139 … new TestCase(2403344.5, 1, 1860, 5, 5, MON, 0, 0, 0), // Gregorian: 13/01/1868 in TestCases()
145 … new TestCase(1721059.5, 0, 5492, 5, 7, SAT, 0, 0, 0), // Gregorian: 01/01/0000 in TestCases()
146 … new TestCase(1721425.5, 0, 5493, 5, 8, MON, 0, 0, 0), // Gregorian: 01/01/0001 in TestCases()
147 … new TestCase(1723854.5, 0, 5499, 13, 6, MON, 0, 0, 0), // Gregorian: 27/08/0007 in TestCases()
[all …]
DIndianTest.java57 final TestCase[] tests = { in TestCases()
63 new TestCase(1770641.5, 0, 57, ASVINA, 10, SUN, 0, 0, 0), in TestCases()
64 new TestCase(1892731.5, 0, 391, PAUSA, 18, WED, 0, 0, 0), in TestCases()
65 new TestCase(1931579.5, 0, 498, VAISAKHA, 30, MON, 0, 0, 0), in TestCases()
66 new TestCase(1974851.5, 0, 616, KARTIKA, 19, SAT, 0, 0, 0), in TestCases()
67 new TestCase(2091164.5, 0, 935, VAISAKHA, 5, SUN, 0, 0, 0), in TestCases()
68 new TestCase(2121509.5, 0, 1018, JYAISTHA, 3, SUN, 0, 0, 0), in TestCases()
69 new TestCase(2155779.5, 0, 1112, CHAITRA, 2, FRI, 0, 0, 0), in TestCases()
70 new TestCase(2174029.5, 0, 1161, PHALGUNA, 20, SAT, 0, 0, 0), in TestCases()
71 new TestCase(2191584.5, 0, 1210, CHAITRA, 13, FRI, 0, 0, 0), in TestCases()
[all …]
DCopticTest.java100 final TestCase[] tests = { in TestCases()
109 … new TestCase(2401442.5, 1, 1579, 2, 20, WED, 0, 0, 0), // Gregorian: 20/10/1862 in TestCases()
110 … new TestCase(2402422.5, 1, 1581, 10, 29, WED, 0, 0, 0), // Gregorian: 05/07/1865 in TestCases()
111 … new TestCase(2402630.5, 1, 1582, 5, 22, MON, 0, 0, 0), // Gregorian: 29/01/1866 in TestCases()
112 … new TestCase(2402708.5, 1, 1582, 8, 10, TUE, 0, 0, 0), // Gregorian: 17/04/1866 in TestCases()
113 … new TestCase(2402971.5, 1, 1583, 4, 28, SAT, 0, 0, 0), // Gregorian: 05/01/1867 in TestCases()
114 … new TestCase(2403344.5, 1, 1584, 5, 5, MON, 0, 0, 0), // Gregorian: 13/01/1868 in TestCases()
115 … new TestCase(1721059.5, 0, 285, 5, 7, SAT, 0, 0, 0), // Gregorian: 01/01/0000 in TestCases()
116 … new TestCase(1721425.5, 0, 284, 5, 8, MON, 0, 0, 0), // Gregorian: 01/01/0001 in TestCases()
117 … new TestCase(1824663.5, 0, 2, 13, 6, WED, 0, 0, 0), // Gregorian: 29/08/0283 in TestCases()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DHebrewTest.java140 final TestCase[] testCases = { in TestCases()
150 new TestCase(1507231.5, 0, 3174, 12, 10, SUN, 0, 0, 0), in TestCases()
151 new TestCase(1660037.5, 0, 3593, 3, 25, WED, 0, 0, 0), in TestCases()
152 new TestCase(1746893.5, 0, 3831, 1, 3, WED, 0, 0, 0), in TestCases()
153 new TestCase(1770641.5, 0, 3896, 1, 9, SUN, 0, 0, 0), in TestCases()
154 new TestCase(1892731.5, 0, 4230, 4, 18, WED, 0, 0, 0), in TestCases()
155 new TestCase(1931579.5, 0, 4336, 10, 4, MON, 0, 0, 0), in TestCases()
156 new TestCase(1974851.5, 0, 4455, 2, 13, SAT, 0, 0, 0), in TestCases()
157 new TestCase(2091164.5, 0, 4773, 9, 6, SUN, 0, 0, 0), in TestCases()
158 new TestCase(2121509.5, 0, 4856, 9, 23, SUN, 0, 0, 0), in TestCases()
[all …]
DEthiopicTest.java128 final TestCase[] tests = { in TestCases()
137 … new TestCase(2401442.5, 1, 1855, 2, 20, WED, 0, 0, 0), // Gregorian: 29/10/1862 in TestCases()
138 … new TestCase(2402422.5, 1, 1857, 10, 29, WED, 0, 0, 0), // Gregorian: 05/07/1865 in TestCases()
139 … new TestCase(2402630.5, 1, 1858, 5, 22, MON, 0, 0, 0), // Gregorian: 29/01/1866 in TestCases()
140 … new TestCase(2402708.5, 1, 1858, 8, 10, TUE, 0, 0, 0), // Gregorian: 17/04/1866 in TestCases()
141 … new TestCase(2402971.5, 1, 1859, 4, 28, SAT, 0, 0, 0), // Gregorian: 05/01/1867 in TestCases()
142 … new TestCase(2403344.5, 1, 1860, 5, 5, MON, 0, 0, 0), // Gregorian: 13/01/1868 in TestCases()
148 … new TestCase(1721059.5, 0, 5492, 5, 7, SAT, 0, 0, 0), // Gregorian: 01/01/0000 in TestCases()
149 … new TestCase(1721425.5, 0, 5493, 5, 8, MON, 0, 0, 0), // Gregorian: 01/01/0001 in TestCases()
150 … new TestCase(1723854.5, 0, 5499, 13, 6, MON, 0, 0, 0), // Gregorian: 27/08/0007 in TestCases()
[all …]
DIndianTest.java60 final TestCase[] tests = { in TestCases()
66 new TestCase(1770641.5, 0, 57, ASVINA, 10, SUN, 0, 0, 0), in TestCases()
67 new TestCase(1892731.5, 0, 391, PAUSA, 18, WED, 0, 0, 0), in TestCases()
68 new TestCase(1931579.5, 0, 498, VAISAKHA, 30, MON, 0, 0, 0), in TestCases()
69 new TestCase(1974851.5, 0, 616, KARTIKA, 19, SAT, 0, 0, 0), in TestCases()
70 new TestCase(2091164.5, 0, 935, VAISAKHA, 5, SUN, 0, 0, 0), in TestCases()
71 new TestCase(2121509.5, 0, 1018, JYAISTHA, 3, SUN, 0, 0, 0), in TestCases()
72 new TestCase(2155779.5, 0, 1112, CHAITRA, 2, FRI, 0, 0, 0), in TestCases()
73 new TestCase(2174029.5, 0, 1161, PHALGUNA, 20, SAT, 0, 0, 0), in TestCases()
74 new TestCase(2191584.5, 0, 1210, CHAITRA, 13, FRI, 0, 0, 0), in TestCases()
[all …]
DCopticTest.java103 final TestCase[] tests = { in TestCases()
112 … new TestCase(2401442.5, 1, 1579, 2, 20, WED, 0, 0, 0), // Gregorian: 20/10/1862 in TestCases()
113 … new TestCase(2402422.5, 1, 1581, 10, 29, WED, 0, 0, 0), // Gregorian: 05/07/1865 in TestCases()
114 … new TestCase(2402630.5, 1, 1582, 5, 22, MON, 0, 0, 0), // Gregorian: 29/01/1866 in TestCases()
115 … new TestCase(2402708.5, 1, 1582, 8, 10, TUE, 0, 0, 0), // Gregorian: 17/04/1866 in TestCases()
116 … new TestCase(2402971.5, 1, 1583, 4, 28, SAT, 0, 0, 0), // Gregorian: 05/01/1867 in TestCases()
117 … new TestCase(2403344.5, 1, 1584, 5, 5, MON, 0, 0, 0), // Gregorian: 13/01/1868 in TestCases()
118 … new TestCase(1721059.5, 0, 285, 5, 7, SAT, 0, 0, 0), // Gregorian: 01/01/0000 in TestCases()
119 … new TestCase(1721425.5, 0, 284, 5, 8, MON, 0, 0, 0), // Gregorian: 01/01/0001 in TestCases()
120 … new TestCase(1824663.5, 0, 2, 13, 6, WED, 0, 0, 0), // Gregorian: 29/08/0283 in TestCases()
[all …]
/third_party/typescript/tests/baselines/reference/
DduplicateLocalVariable1.js10 export class TestCase { class
15 private tests: TestCase[] = [];
21 public addTest(test: TestCase) {
28 var testcase = <TestCase>this.tests[test]
63 testRunner.addTest(new TestCase("Basic test", function () { return true; }));
64 …testRunner.addTest(new TestCase("Test for any error", function () { throw new Error(); return fals…
65 …testRunner.addTest(new TestCase("Test RegEx error message match", function () { throw new Error("S…
66 …testRunner.addTest(new TestCase("Test array compare true", function () { return TestRunner.arrayCo…
67 …testRunner.addTest(new TestCase("Test array compare false", function () { return !TestRunner.array…
70 testRunner.addTest(new TestCase("Check file exists",
[all …]
DduplicateLocalVariable1.types15 export class TestCase {
16 >TestCase : TestCase
27 private tests: TestCase[] = [];
28 >tests : TestCase[]
52 public addTest(test: TestCase) {
53 >addTest : (test: TestCase) => void
54 >test : TestCase
58 >this.tests.push : (...items: TestCase[]) => number
59 >this.tests : TestCase[]
61 >tests : TestCase[]
[all …]
/third_party/typescript/tests/cases/compiler/
DduplicateLocalVariable1.ts12 export class TestCase { class
17 private tests: TestCase[] = [];
23 public addTest(test: TestCase) {
30 var testcase = <TestCase>this.tests[test]
65 testRunner.addTest(new TestCase("Basic test", function () { return true; }));
66 …testRunner.addTest(new TestCase("Test for any error", function () { throw new Error(); return fals…
67 …testRunner.addTest(new TestCase("Test RegEx error message match", function () { throw new Error("S…
68 …testRunner.addTest(new TestCase("Test array compare true", function () { return TestRunner.arrayCo…
69 …testRunner.addTest(new TestCase("Test array compare false", function () { return !TestRunner.array…
72 testRunner.addTest(new TestCase("Check file exists",
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Compatibility/
DTypeExtensionsTest.cs55 [TestCase(typeof(object), typeof(string), true)]
56 [TestCase(typeof(object), typeof(int), true)]
57 [TestCase(typeof(string), typeof(string), true)]
58 [TestCase(typeof(string), typeof(object), false)]
59 [TestCase(typeof(string), typeof(int), false)]
60 [TestCase(typeof(int), typeof(int), true)]
61 [TestCase(typeof(ValueType), typeof(int), true)]
62 [TestCase(typeof(long), typeof(int), false)] //
69 [TestCase(typeof(DerivedList), "Count")] // Go up the type hierarchy
70 [TestCase(typeof(List<string>), "Count")]
[all …]
DPropertyInfoExtensionsTest.cs50 [TestCase("PublicReadWrite")]
51 [TestCase("PublicReadPrivateWrite")]
52 [TestCase("PublicReadOnly")]
61 [TestCase("PrivateReadWrite")]
62 [TestCase("PrivateReadPublicWrite")]
63 [TestCase("PrivateReadOnly")]
64 [TestCase("PublicWriteOnly")]
65 [TestCase("PrivateWriteOnly")]
74 [TestCase("PublicReadWrite")]
75 [TestCase("PrivateReadPublicWrite")]
[all …]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Compatibility/
DTypeExtensionsTest.cs55 [TestCase(typeof(object), typeof(string), true)]
56 [TestCase(typeof(object), typeof(int), true)]
57 [TestCase(typeof(string), typeof(string), true)]
58 [TestCase(typeof(string), typeof(object), false)]
59 [TestCase(typeof(string), typeof(int), false)]
60 [TestCase(typeof(int), typeof(int), true)]
61 [TestCase(typeof(ValueType), typeof(int), true)]
62 [TestCase(typeof(long), typeof(int), false)] //
69 [TestCase(typeof(DerivedList), "Count")] // Go up the type hierarchy
70 [TestCase(typeof(List<string>), "Count")]
[all …]
DPropertyInfoExtensionsTest.cs50 [TestCase("PublicReadWrite")]
51 [TestCase("PublicReadPrivateWrite")]
52 [TestCase("PublicReadOnly")]
61 [TestCase("PrivateReadWrite")]
62 [TestCase("PrivateReadPublicWrite")]
63 [TestCase("PrivateReadOnly")]
64 [TestCase("PublicWriteOnly")]
65 [TestCase("PrivateWriteOnly")]
74 [TestCase("PublicReadWrite")]
75 [TestCase("PrivateReadPublicWrite")]
[all …]
/third_party/flutter/skia/tests/
DGrShapeTest.cpp516 class TestCase { class
518 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() function in __anona4f0892a0111::TestCase
525 TestCase(skiatest::Reporter* r, ShapeArgs... shapeArgs) : fBase(new GrShape(shapeArgs...)) { in TestCase() function in __anona4f0892a0111::TestCase
529 TestCase(const GrShape& shape, skiatest::Reporter* r, SkScalar scale = SK_Scalar1) in TestCase() function in __anona4f0892a0111::TestCase
549 void compare(skiatest::Reporter*, const TestCase& that, ComparisonExpecation) const;
694 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const { in testExpectations()
720 void TestCase::compare(skiatest::Reporter* r, const TestCase& that, in compare()
763 static std::unique_ptr<TestCase> make_TestCase(Args&&... args) { in make_TestCase()
764 return std::unique_ptr<TestCase>{ new TestCase(std::forward<Args>(args)...) }; in make_TestCase()
770 TestCase::SelfExpectations expectations; in test_basic()
[all …]
/third_party/skia/tests/
DGrStyledShapeTest.cpp523 class TestCase { class
525 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() function in __anond06a7e0a0111::TestCase
532 TestCase(skiatest::Reporter* r, ShapeArgs... shapeArgs) in TestCase() function in __anond06a7e0a0111::TestCase
537 TestCase(const GrStyledShape& shape, skiatest::Reporter* r, SkScalar scale = SK_Scalar1) in TestCase() function in __anond06a7e0a0111::TestCase
557 void compare(skiatest::Reporter*, const TestCase& that, ComparisonExpecation) const;
704 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const { in testExpectations()
730 void TestCase::compare(skiatest::Reporter* r, const TestCase& that, in compare()
773 static std::unique_ptr<TestCase> make_TestCase(Args&&... args) { in make_TestCase()
774 return std::make_unique<TestCase>( std::forward<Args>(args)... ); in make_TestCase()
780 TestCase::SelfExpectations expectations; in test_basic()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
DTestReorderRunsOnly.java27 static class TestCase { class in TestReorderRunsOnly
32 TestCase(String in, String[][] out, int[] nrd) { in TestCase() method in TestReorderRunsOnly.TestCase
39 static final TestCase testCases[] = {
40 new TestCase("ab 234 896 de", // 0
44 new TestCase("abcGHI", // 1
47 new TestCase("a.>67->", // 2
50 new TestCase("-=%$123/ *", // 3
54 new TestCase("abc->12..>JKL", // 4
58 new TestCase("JKL->12..>abc", // 5
62 new TestCase("123->abc", // 6
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestReorderRunsOnly.java24 static class TestCase { class in TestReorderRunsOnly
29 TestCase(String in, String[][] out, int[] nrd) { in TestCase() method in TestReorderRunsOnly.TestCase
36 static final TestCase testCases[] = {
37 new TestCase("ab 234 896 de", // 0
41 new TestCase("abcGHI", // 1
44 new TestCase("a.>67->", // 2
47 new TestCase("-=%$123/ *", // 3
51 new TestCase("abc->12..>JKL", // 4
55 new TestCase("JKL->12..>abc", // 5
59 new TestCase("123->abc", // 6
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cMultiBindTests.hpp49 class ErrorsBindBuffersTest : public deqp::TestCase
70 class ErrorsBindTexturesTest : public deqp::TestCase
91 class ErrorsBindSamplersTest : public deqp::TestCase
116 class ErrorsBindImageTexturesTest : public deqp::TestCase
138 class ErrorsBindVertexBuffersTest : public deqp::TestCase
182 class FunctionalBindBuffersBaseTest : public deqp::TestCase
226 class FunctionalBindBuffersRangeTest : public deqp::TestCase
270 class FunctionalBindTexturesTest : public deqp::TestCase
309 class FunctionalBindSamplersTest : public deqp::TestCase
350 class FunctionalBindImageTexturesTest : public deqp::TestCase
[all …]

12345678910>>...83