Home
last modified time | relevance | path

Searched refs:TestCase (Results 1 - 25 of 2326) sorted by relevance

12345678910>>...94

/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A 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(typeo
[all...]
H A 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("fo
[all...]
H A 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...)
311 // Note: don't use TestCase for these, as the strings can't be reliably represented in InvalidSurrogatePairsFail()
324 [TestCase("foo_bar", "fooBar")]
325 [TestCase("bananaBanan
[all...]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
H A 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(typeo
[all...]
H A 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("fo
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/
H A DFromJsonTest.java22 static final TestCase[] TEST_CASES = {
23 new TestCase.Builder()
27 new TestCase.Builder()
31 new TestCase.Builder()
35 new TestCase.Builder()
40 new TestCase.Builder()
45 new TestCase.Builder()
50 new TestCase.Builder()
56 new TestCase.Builder()
60 new TestCase
[all...]
H A DMf2FeaturesTest.java36 TestUtils.runTestCase(new TestCase.Builder() in testEmptyMessage()
45 TestUtils.runTestCase(new TestCase.Builder() in testPlainText()
54 TestUtils.runTestCase(new TestCase.Builder() in testPlaceholders()
67 TestUtils.runTestCase(new TestCase.Builder() in testArgumentMissing()
72 TestUtils.runTestCase(new TestCase.Builder() in testArgumentMissing()
77 TestUtils.runTestCase(new TestCase.Builder() in testArgumentMissing()
82 TestUtils.runTestCase(new TestCase.Builder() in testArgumentMissing()
96 TestUtils.runTestCase(new TestCase.Builder() in testDefaultLocale()
101 TestUtils.runTestCase(new TestCase.Builder() in testDefaultLocale()
110 TestUtils.runTestCase(new TestCase in testDefaultLocale()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A 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. in TestCases()
[all...]
H A 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. in TestCases()
[all...]
H A 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. in TestCases()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A 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. in TestCases()
[all...]
H A 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. in TestCases()
[all...]
H A 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. in TestCases()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DduplicateLocalVariable1.js10 export class TestCase {
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 false; }, ""));
65 testRunner.addTest(new TestCase("Test RegEx error message match", function () { throw new Error("Should also pass"); return false; }, "Should [also]+ pass"));
66 testRunner.addTest(new TestCase("Test array compare true", function () { return TestRunner.arrayCompare([1, 2, 3], [1, 2, 3]); }));
67 testRunner.addTest(new TestCase("Test array compare false", function () { return !TestRunner.arrayCompare([3, 2, 3], [1, 2, 3]); }));
70 testRunner.addTest(new TestCase("Chec
[all...]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Compatibility/
H A 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(typeo
[all...]
H A 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("PrivateReadPublicWrit
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Compatibility/
H A 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(typeo
[all...]
H A 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("PrivateReadPublicWrit
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A 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("12
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
H A 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("12
[all...]
/third_party/skia/tests/
H A DGrStyledShapeTest.cpp523 class TestCase { class
525 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() function in __anon19017::TestCase
532 TestCase(skiatest::Reporter* r, ShapeArgs... shapeArgs) in TestCase() function in __anon19017::TestCase
537 TestCase(const GrStyledShape& shape, skiatest::Reporter* r, SkScalar scale = SK_Scalar1) in TestCase() function in __anon19017::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>( st in make_TestCase()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cMultiBindTests.hpp49 class ErrorsBindBuffersTest : public deqp::TestCase
59 /* Public methods inherited from TestCase */
70 class ErrorsBindTexturesTest : public deqp::TestCase
80 /* Public methods inherited from TestCase */
91 class ErrorsBindSamplersTest : public deqp::TestCase
101 /* Public methods inherited from TestCase */
116 class ErrorsBindImageTexturesTest : public deqp::TestCase
126 /* Public methods inherited from TestCase */
138 class ErrorsBindVertexBuffersTest : public deqp::TestCase
148 /* Public methods inherited from TestCase */
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
H A DUnitsTest.java45 class TestCase { in testComplexUnitsConverter()
53 TestCase(String input, String output, BigDecimal value, Measure[] expected, double accuracy) { in testComplexUnitsConverter()
85 TestCase[] testCases = new TestCase[] { in testComplexUnitsConverter()
87 new TestCase( in testComplexUnitsConverter()
96 new TestCase( in testComplexUnitsConverter()
101 new TestCase("foot", "foot-and-inch", in testComplexUnitsConverter()
122 new TestCase("light-year", "light-year-and-meter", in testComplexUnitsConverter()
131 // new TestCase("light-year", "light-year-and-meter", in testComplexUnitsConverter()
142 new TestCase("ligh in testComplexUnitsConverter()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcTestCase.hpp53 class TestCase : public tcu::TestCase class
56 TestCase(Context& context, const char* name, const char* description);
57 TestCase(Context& context, tcu::TestNodeType nodeType, const char* name, const char* description);
58 virtual ~TestCase(void) in ~TestCase()
77 inline TestCase::TestCase(Context& context, const char* name, const char* description) in TestCase() function in deqp::TestCase
78 : tcu::TestCase(context.getTestContext(), name, description), m_context(context) in TestCase()
82 inline TestCase::TestCase(Contex function in deqp::TestCase
[all...]
/third_party/vk-gl-cts/modules/gles3/
H A Dtes3TestCase.hpp48 class TestCase : public tcu::TestCase class
51 TestCase (Context& context, const char* name, const char* description);
52 TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const char* description);
53 virtual ~TestCase (void) {} in ~TestCase()
71 inline TestCase::TestCase (Context& context, const char* name, const char* description) in TestCase() function in deqp::gles3::TestCase
72 : tcu::TestCase (context.getTestContext(), name, description) in TestCase()
77 inline TestCase::TestCase (Contex function in deqp::gles3::TestCase
[all...]

Completed in 13 milliseconds

12345678910>>...94