Home
last modified time | relevance | path

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

12345678910>>...103

/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs62 [TestCase(" 1 ")]
63 [TestCase("+1")]
64 [TestCase("1,000")]
65 [TestCase("1.5")]
136 [TestCase(typeof(Int32Value), "32", 32)]
137 [TestCase(typeof(Int64Value), "32", 32L)]
138 [TestCase(typeof(UInt32Value), "32", 32U)]
139 [TestCase(typeof(UInt64Value), "32", 32UL)]
140 [TestCase(typeof(StringValue), "\"foo\"", "foo")]
141 [TestCase(typeof(FloatValue), "1.5", 1.5f)]
[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.cs155 [TestCase(1.0, "1")]
156 [TestCase(double.NaN, "'NaN'")]
157 [TestCase(double.PositiveInfinity, "'Infinity'")]
158 [TestCase(double.NegativeInfinity, "'-Infinity'")]
196 [TestCase("a\u17b4b", "a\\u17b4b")] // Explicit
197 [TestCase("a\u0601b", "a\\u0601b")] // Ranged
198 [TestCase("a\u0605b", "a\u0605b")] // Passthrough (note lack of double backslash...)
228 [TestCase("foo_bar", "fooBar")]
229 [TestCase("bananaBanana", "bananaBanana")]
230 [TestCase("BANANABanana", "bananaBanana")]
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/Compatibility/
DTypeExtensionsTest.cs54 [TestCase(typeof(int), true)]
55 [TestCase(typeof(int?), true)]
56 [TestCase(typeof(Nullable<>), true)]
57 [TestCase(typeof(WireFormat.WireType), true)]
58 [TestCase(typeof(string), false)]
59 [TestCase(typeof(object), false)]
60 [TestCase(typeof(Enum), false)]
61 [TestCase(typeof(ValueType), false)]
62 [TestCase(typeof(TypeExtensionsTest), false)]
63 [TestCase(typeof(Action), false)]
[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 …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DHebrewTest.java135 final TestCase[] testCases = { in TestCases()
145 new TestCase(1507231.5, 0, 3174, 12, 10, SUN, 0, 0, 0), in TestCases()
146 new TestCase(1660037.5, 0, 3593, 3, 25, WED, 0, 0, 0), in TestCases()
147 new TestCase(1746893.5, 0, 3831, 1, 3, WED, 0, 0, 0), in TestCases()
148 new TestCase(1770641.5, 0, 3896, 1, 9, SUN, 0, 0, 0), in TestCases()
149 new TestCase(1892731.5, 0, 4230, 4, 18, WED, 0, 0, 0), in TestCases()
150 new TestCase(1931579.5, 0, 4336, 10, 4, MON, 0, 0, 0), in TestCases()
151 new TestCase(1974851.5, 0, 4455, 2, 13, SAT, 0, 0, 0), in TestCases()
152 new TestCase(2091164.5, 0, 4773, 9, 6, SUN, 0, 0, 0), in TestCases()
153 new TestCase(2121509.5, 0, 4856, 9, 23, SUN, 0, 0, 0), in TestCases()
[all …]
DEthiopicTest.java123 final TestCase[] tests = { in TestCases()
132 … new TestCase(2401442.5, 1, 1855, 2, 20, WED, 0, 0, 0), // Gregorian: 29/10/1862 in TestCases()
133 … new TestCase(2402422.5, 1, 1857, 10, 29, WED, 0, 0, 0), // Gregorian: 05/07/1865 in TestCases()
134 … new TestCase(2402630.5, 1, 1858, 5, 22, MON, 0, 0, 0), // Gregorian: 29/01/1866 in TestCases()
135 … new TestCase(2402708.5, 1, 1858, 8, 10, TUE, 0, 0, 0), // Gregorian: 17/04/1866 in TestCases()
136 … new TestCase(2402971.5, 1, 1859, 4, 28, SAT, 0, 0, 0), // Gregorian: 05/01/1867 in TestCases()
137 … new TestCase(2403344.5, 1, 1860, 5, 5, MON, 0, 0, 0), // Gregorian: 13/01/1868 in TestCases()
143 … new TestCase(1721059.5, 0, 5492, 5, 7, SAT, 0, 0, 0), // Gregorian: 01/01/0000 in TestCases()
144 … new TestCase(1721425.5, 0, 5493, 5, 8, MON, 0, 0, 0), // Gregorian: 01/01/0001 in TestCases()
145 … new TestCase(1723854.5, 0, 5499, 13, 6, MON, 0, 0, 0), // Gregorian: 27/08/0007 in TestCases()
[all …]
DIndianTest.java55 final TestCase[] tests = { in TestCases()
61 new TestCase(1770641.5, 0, 57, ASVINA, 10, SUN, 0, 0, 0), in TestCases()
62 new TestCase(1892731.5, 0, 391, PAUSA, 18, WED, 0, 0, 0), in TestCases()
63 new TestCase(1931579.5, 0, 498, VAISAKHA, 30, MON, 0, 0, 0), in TestCases()
64 new TestCase(1974851.5, 0, 616, KARTIKA, 19, SAT, 0, 0, 0), in TestCases()
65 new TestCase(2091164.5, 0, 935, VAISAKHA, 5, SUN, 0, 0, 0), in TestCases()
66 new TestCase(2121509.5, 0, 1018, JYAISTHA, 3, SUN, 0, 0, 0), in TestCases()
67 new TestCase(2155779.5, 0, 1112, CHAITRA, 2, FRI, 0, 0, 0), in TestCases()
68 new TestCase(2174029.5, 0, 1161, PHALGUNA, 20, SAT, 0, 0, 0), in TestCases()
69 new TestCase(2191584.5, 0, 1210, CHAITRA, 13, FRI, 0, 0, 0), in TestCases()
[all …]
DCopticTest.java98 final TestCase[] tests = { in TestCases()
107 … new TestCase(2401442.5, 1, 1579, 2, 20, WED, 0, 0, 0), // Gregorian: 20/10/1862 in TestCases()
108 … new TestCase(2402422.5, 1, 1581, 10, 29, WED, 0, 0, 0), // Gregorian: 05/07/1865 in TestCases()
109 … new TestCase(2402630.5, 1, 1582, 5, 22, MON, 0, 0, 0), // Gregorian: 29/01/1866 in TestCases()
110 … new TestCase(2402708.5, 1, 1582, 8, 10, TUE, 0, 0, 0), // Gregorian: 17/04/1866 in TestCases()
111 … new TestCase(2402971.5, 1, 1583, 4, 28, SAT, 0, 0, 0), // Gregorian: 05/01/1867 in TestCases()
112 … new TestCase(2403344.5, 1, 1584, 5, 5, MON, 0, 0, 0), // Gregorian: 13/01/1868 in TestCases()
113 … new TestCase(1721059.5, 0, 285, 5, 7, SAT, 0, 0, 0), // Gregorian: 01/01/0000 in TestCases()
114 … new TestCase(1721425.5, 0, 284, 5, 8, MON, 0, 0, 0), // Gregorian: 01/01/0001 in TestCases()
115 … new TestCase(1824663.5, 0, 2, 13, 6, WED, 0, 0, 0), // Gregorian: 29/08/0283 in TestCases()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DHebrewTest.java134 final TestCase[] testCases = { in TestCases()
144 new TestCase(1507231.5, 0, 3174, 12, 10, SUN, 0, 0, 0), in TestCases()
145 new TestCase(1660037.5, 0, 3593, 3, 25, WED, 0, 0, 0), in TestCases()
146 new TestCase(1746893.5, 0, 3831, 1, 3, WED, 0, 0, 0), in TestCases()
147 new TestCase(1770641.5, 0, 3896, 1, 9, SUN, 0, 0, 0), in TestCases()
148 new TestCase(1892731.5, 0, 4230, 4, 18, WED, 0, 0, 0), in TestCases()
149 new TestCase(1931579.5, 0, 4336, 10, 4, MON, 0, 0, 0), in TestCases()
150 new TestCase(1974851.5, 0, 4455, 2, 13, SAT, 0, 0, 0), in TestCases()
151 new TestCase(2091164.5, 0, 4773, 9, 6, SUN, 0, 0, 0), in TestCases()
152 new TestCase(2121509.5, 0, 4856, 9, 23, SUN, 0, 0, 0), in TestCases()
[all …]
DEthiopicTest.java122 final TestCase[] tests = { in TestCases()
131 … new TestCase(2401442.5, 1, 1855, 2, 20, WED, 0, 0, 0), // Gregorian: 29/10/1862 in TestCases()
132 … new TestCase(2402422.5, 1, 1857, 10, 29, WED, 0, 0, 0), // Gregorian: 05/07/1865 in TestCases()
133 … new TestCase(2402630.5, 1, 1858, 5, 22, MON, 0, 0, 0), // Gregorian: 29/01/1866 in TestCases()
134 … new TestCase(2402708.5, 1, 1858, 8, 10, TUE, 0, 0, 0), // Gregorian: 17/04/1866 in TestCases()
135 … new TestCase(2402971.5, 1, 1859, 4, 28, SAT, 0, 0, 0), // Gregorian: 05/01/1867 in TestCases()
136 … new TestCase(2403344.5, 1, 1860, 5, 5, MON, 0, 0, 0), // Gregorian: 13/01/1868 in TestCases()
142 … new TestCase(1721059.5, 0, 5492, 5, 7, SAT, 0, 0, 0), // Gregorian: 01/01/0000 in TestCases()
143 … new TestCase(1721425.5, 0, 5493, 5, 8, MON, 0, 0, 0), // Gregorian: 01/01/0001 in TestCases()
144 … new TestCase(1723854.5, 0, 5499, 13, 6, MON, 0, 0, 0), // Gregorian: 27/08/0007 in TestCases()
[all …]
DIndianTest.java54 final TestCase[] tests = { in TestCases()
60 new TestCase(1770641.5, 0, 57, ASVINA, 10, SUN, 0, 0, 0), in TestCases()
61 new TestCase(1892731.5, 0, 391, PAUSA, 18, WED, 0, 0, 0), in TestCases()
62 new TestCase(1931579.5, 0, 498, VAISAKHA, 30, MON, 0, 0, 0), in TestCases()
63 new TestCase(1974851.5, 0, 616, KARTIKA, 19, SAT, 0, 0, 0), in TestCases()
64 new TestCase(2091164.5, 0, 935, VAISAKHA, 5, SUN, 0, 0, 0), in TestCases()
65 new TestCase(2121509.5, 0, 1018, JYAISTHA, 3, SUN, 0, 0, 0), in TestCases()
66 new TestCase(2155779.5, 0, 1112, CHAITRA, 2, FRI, 0, 0, 0), in TestCases()
67 new TestCase(2174029.5, 0, 1161, PHALGUNA, 20, SAT, 0, 0, 0), in TestCases()
68 new TestCase(2191584.5, 0, 1210, CHAITRA, 13, FRI, 0, 0, 0), in TestCases()
[all …]
DCopticTest.java97 final TestCase[] tests = { in TestCases()
106 … new TestCase(2401442.5, 1, 1579, 2, 20, WED, 0, 0, 0), // Gregorian: 20/10/1862 in TestCases()
107 … new TestCase(2402422.5, 1, 1581, 10, 29, WED, 0, 0, 0), // Gregorian: 05/07/1865 in TestCases()
108 … new TestCase(2402630.5, 1, 1582, 5, 22, MON, 0, 0, 0), // Gregorian: 29/01/1866 in TestCases()
109 … new TestCase(2402708.5, 1, 1582, 8, 10, TUE, 0, 0, 0), // Gregorian: 17/04/1866 in TestCases()
110 … new TestCase(2402971.5, 1, 1583, 4, 28, SAT, 0, 0, 0), // Gregorian: 05/01/1867 in TestCases()
111 … new TestCase(2403344.5, 1, 1584, 5, 5, MON, 0, 0, 0), // Gregorian: 13/01/1868 in TestCases()
112 … new TestCase(1721059.5, 0, 285, 5, 7, SAT, 0, 0, 0), // Gregorian: 01/01/0000 in TestCases()
113 … new TestCase(1721425.5, 0, 284, 5, 8, MON, 0, 0, 0), // Gregorian: 01/01/0001 in TestCases()
114 … new TestCase(1824663.5, 0, 2, 13, 6, WED, 0, 0, 0), // Gregorian: 29/08/0283 in TestCases()
[all …]
/external/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 …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestReorderRunsOnly.java25 static class TestCase { class in TestReorderRunsOnly
30 TestCase(String in, String[][] out, int[] nrd) { in TestCase() method in TestReorderRunsOnly.TestCase
37 static final TestCase testCases[] = {
38 new TestCase("ab 234 896 de", // 0
42 new TestCase("abcGHI", // 1
45 new TestCase("a.>67->", // 2
48 new TestCase("-=%$123/ *", // 3
52 new TestCase("abc->12..>JKL", // 4
56 new TestCase("JKL->12..>abc", // 5
60 new TestCase("123->abc", // 6
[all …]
/external/skia/tests/
DGrShapeTest.cpp249 class TestCase { class
251 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() function in __anon06bb34050111::TestCase
257 TestCase(skiatest::Reporter* r, ShapeArgs... shapeArgs) in TestCase() function in __anon06bb34050111::TestCase
262 TestCase(const GrShape& shape, skiatest::Reporter* r, SkScalar scale = SK_Scalar1) in TestCase() function in __anon06bb34050111::TestCase
282 void compare(skiatest::Reporter*, const TestCase& that, ComparisonExpecation) const;
416 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const { in testExpectations()
573 void TestCase::compare(skiatest::Reporter* r, const TestCase& that, in compare()
616 TestCase::SelfExpectations expectations; in test_basic()
619 TestCase fillCase(geo, fill, reporter); in test_basic()
625 TestCase(geo, fill, reporter).compare(reporter, fillCase, in test_basic()
[all …]
/external/deqp/modules/gles3/
Dtes3TestCase.hpp48 class TestCase : public tcu::TestCase class
51 TestCase (Context& context, const char* name, const char* description);
52TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const char* descriptio…
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 (Context& context, tcu::TestNodeType nodeType, const char* name, const ch… in TestCase() function in deqp::gles3::TestCase
78 : tcu::TestCase (context.getTestContext(), nodeType, name, description) in TestCase()
/external/deqp/modules/gles31/
Dtes31TestCase.hpp48 class TestCase : public tcu::TestCase class
51 TestCase (Context& context, const char* name, const char* description);
52TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const char* descriptio…
53 virtual ~TestCase (void) {} in ~TestCase()
71 inline TestCase::TestCase (Context& context, const char* name, const char* description) in TestCase() function in deqp::gles31::TestCase
72 : tcu::TestCase (context.getTestContext(), name, description) in TestCase()
77 inline TestCase::TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const ch… in TestCase() function in deqp::gles31::TestCase
78 : tcu::TestCase (context.getTestContext(), nodeType, name, description) in TestCase()
/external/deqp/modules/gles2/
Dtes2TestCase.hpp48 class TestCase : public tcu::TestCase class
51 TestCase (Context& context, const char* name, const char* description);
52TestCase (Context& context, tcu::TestNodeType type, 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::gles2::TestCase
72 : tcu::TestCase (context.getTestContext(), name, description) in TestCase()
77 inline TestCase::TestCase (Context& context, tcu::TestNodeType type, const char* name, const char* … in TestCase() function in deqp::gles2::TestCase
78 : tcu::TestCase (context.getTestContext(), type, name, description) in TestCase()
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_1_2_3.pass.cpp243 struct TestCase : public TestCaseImp<MemFun03, Sig, Arity, CV> {}; struct
278 TestCase<R(), 0, Q_None>::run(); in main()
279 TestCase<R() const, 0, Q_Const>::run(); in main()
280 TestCase<R() volatile, 0, Q_Volatile>::run(); in main()
281 TestCase<R() const volatile, 0, Q_CV>::run(); in main()
282 TestCase<R(...), 0, Q_None>::run(); in main()
283 TestCase<R(...) const, 0, Q_Const>::run(); in main()
284 TestCase<R(...) volatile, 0, Q_Volatile>::run(); in main()
285 TestCase<R(...) const volatile, 0, Q_CV>::run(); in main()
286 TestCase<R(A&), 1, Q_None>::run(); in main()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DICUDurationTest.java273 final class TestCase { in TestXMLDuration() class
280 TestCase(String loc, String ds, Duration d, String exp) { in TestXMLDuration() method in ICUDurationTest.TestCase
289 TestCase cases[] = { in TestXMLDuration()
290 new TestCase("en", "PT10.00099S", newDuration(1, 10.00099F), "10 seconds"), in TestXMLDuration()
291 new TestCase("en", "#10000", newDuration(10000), "10 seconds"), in TestXMLDuration()
292 new TestCase("en", "-PT10.00099S", newDuration(-1, 10.00099F), "10 seconds"), in TestXMLDuration()
293 new TestCase("en", "#-10000", newDuration(-10000), "10 seconds"), in TestXMLDuration()
296 …new TestCase("en", "PT2H46M40S", newDuration(1, 2, 46, 40), "2 hours, 46 minutes, and 40 second… in TestXMLDuration()
297 … new TestCase("it", "PT2H46M40S", newDuration(1, 2, 46, 40), "due ore, 46 minuti e 40 secondi"), in TestXMLDuration()
300 new TestCase("en", "PT10S", newDuration(1, 10), "10 seconds"), in TestXMLDuration()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DICUDurationTest.java272 final class TestCase { in TestXMLDuration() class
279 TestCase(String loc, String ds, Duration d, String exp) { in TestXMLDuration() method in ICUDurationTest.TestCase
288 TestCase cases[] = { in TestXMLDuration()
289 new TestCase("en", "PT10.00099S", newDuration(1, 10.00099F), "10 seconds"), in TestXMLDuration()
290 new TestCase("en", "#10000", newDuration(10000), "10 seconds"), in TestXMLDuration()
291 new TestCase("en", "-PT10.00099S", newDuration(-1, 10.00099F), "10 seconds"), in TestXMLDuration()
292 new TestCase("en", "#-10000", newDuration(-10000), "10 seconds"), in TestXMLDuration()
295 …new TestCase("en", "PT2H46M40S", newDuration(1, 2, 46, 40), "2 hours, 46 minutes, and 40 second… in TestXMLDuration()
296 … new TestCase("it", "PT2H46M40S", newDuration(1, 2, 46, 40), "due ore, 46 minuti e 40 secondi"), in TestXMLDuration()
299 new TestCase("en", "PT10S", newDuration(1, 10), "10 seconds"), in TestXMLDuration()
[all …]
/external/deqp/modules/glshared/
DglsAttributeLocationTests.hpp132 class BindAttributeTest : public tcu::TestCase
151 class BindMaxAttributesTest : public tcu::TestCase
169 class BindAliasingAttributeTest : public tcu::TestCase
189 class BindMaxAliasingAttributeTest : public tcu::TestCase
207 class BindInactiveAliasingAttributeTest : public tcu::TestCase
225 class BindHoleAttributeTest : public tcu::TestCase
243 class PreAttachBindAttributeTest : public tcu::TestCase
255 class PreLinkBindAttributeTest : public tcu::TestCase
269 class PostLinkBindAttributeTest : public tcu::TestCase
283 class BindReattachAttributeTest : public tcu::TestCase
[all …]
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtestexceptions.py6 class TestRecognitionException(unittest.TestCase):
15 class TestEarlyExitException(unittest.TestCase):
25 class TestFailedPredicateException(unittest.TestCase):
35 class TestMismatchedNotSetException(unittest.TestCase):
45 class TestMismatchedRangeException(unittest.TestCase):
55 class TestMismatchedSetException(unittest.TestCase):
65 class TestMismatchedTokenException(unittest.TestCase):
75 class TestMismatchedTreeNodeException(unittest.TestCase):
85 class TestNoViableAltException(unittest.TestCase):
/external/mockito/src/test/java/org/mockitousage/annotation/
DMockInjectionUsingConstructorTest.java136 class TestCase { in injectMocksMustFailWithInterface() class
145 initMocks(new TestCase()); in injectMocksMustFailWithInterface()
150 class TestCase { in injectMocksMustFailWithEnum() class
158 initMocks(new TestCase()); in injectMocksMustFailWithEnum()
163 class TestCase { in injectMocksMustFailWithAbstractClass() class
171 initMocks(new TestCase()); in injectMocksMustFailWithAbstractClass()
176 class TestCase { in injectMocksMustFailWithNonStaticInnerClass() class
186 initMocks(new TestCase()); in injectMocksMustFailWithNonStaticInnerClass()
192 class TestCase { in injectMocksMustSucceedWithStaticInnerClass() class
197 TestCase testClass = new TestCase(); in injectMocksMustSucceedWithStaticInnerClass()
[all …]

12345678910>>...103