Home
last modified time | relevance | path

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

12345678910>>...189

/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/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 …]
/external/icu/android_icu4j/src/main/tests/android/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 …]
/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/skia/tests/
DGrShapeTest.cpp516 class TestCase { class
518 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() function in __anon06bb34050111::TestCase
525 TestCase(skiatest::Reporter* r, ShapeArgs... shapeArgs) : fBase(new GrShape(shapeArgs...)) { in TestCase() function in __anon06bb34050111::TestCase
529 TestCase(const GrShape& shape, skiatest::Reporter* r, SkScalar scale = SK_Scalar1) in TestCase() function in __anon06bb34050111::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 …]
/external/skqp/tests/
DGrShapeTest.cpp516 class TestCase { class
518 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() function in __anon392b385c0111::TestCase
525 TestCase(skiatest::Reporter* r, ShapeArgs... shapeArgs) : fBase(new GrShape(shapeArgs...)) { in TestCase() function in __anon392b385c0111::TestCase
529 TestCase(const GrShape& shape, skiatest::Reporter* r, SkScalar scale = SK_Scalar1) in TestCase() function in __anon392b385c0111::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 …]
/external/icu/android_icu4j/src/main/tests/android/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 …]
/external/deqp/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 …]
/external/catch2/include/internal/
Dcatch_test_case_registry_impl.h22 class TestCase; variable
25 …std::vector<TestCase> sortTests( IConfig const& config, std::vector<TestCase> const& unsortedTestC…
26 bool matchTest( TestCase const& testCase, TestSpec const& testSpec, IConfig const& config );
28 void enforceNoDuplicateTestCases( std::vector<TestCase> const& functions );
30 …std::vector<TestCase> filterTests( std::vector<TestCase> const& testCases, TestSpec const& testSpe…
31 std::vector<TestCase> const& getAllTestCasesSorted( IConfig const& config );
37 virtual void registerTest( TestCase const& testCase );
39 std::vector<TestCase> const& getAllTests() const override;
40 std::vector<TestCase> const& getAllTestsSorted( IConfig const& config ) const override;
43 std::vector<TestCase> m_functions;
[all …]
/external/tensorflow/tensorflow/contrib/rpc/python/kernel_tests/
Dtest_example.proto7 // A TestCase holds a sequence of values.
8 message TestCase { message
14 rpc Increment(TestCase) returns (TestCase) {
18 rpc SleepForever(TestCase) returns (TestCase) {
22 rpc SometimesSleepForever(TestCase) returns (TestCase) {
26 rpc AlwaysFailWithInvalidArgument(TestCase) returns (TestCase) {
30 rpc SometimesFailWithInvalidArgument(TestCase) returns (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/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/external/openglcts/modules/common/
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(Context& context, tcu::TestNodeType nodeType, const char* name, const cha… in TestCase() function in deqp::TestCase
83 : tcu::TestCase(context.getTestContext(), nodeType, name, description), m_context(context) 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 …]

12345678910>>...189