Home
last modified time | relevance | path

Searched defs:TestCase (Results 1 – 25 of 199) sorted by relevance

12345678

/external/icu/icu4c/source/test/intltest/
Dcalcasts.h29 struct TestCase { struct
44 void doTestCases(const TestCase *cases, Calendar *cal); argument
Dnumbertest_parse.cpp34 static const struct TestCase { in testBasic() struct
35 int32_t flags; in testBasic()
36 const char16_t* inputString; in testBasic()
37 const char16_t* patternString; in testBasic()
38 int32_t expectedCharsConsumed; in testBasic()
39 double expectedResultDouble; in testBasic()
207 static const struct TestCase { in testSeriesMatcher() struct
208 const char16_t* input; in testSeriesMatcher()
209 int32_t expectedOffset; in testSeriesMatcher()
210 bool expectedMaybeMore; in testSeriesMatcher()
[all …]
Dnumbertest_decimalquantity.cpp282 static const struct TestCase { in testUseApproximateDoubleWhenAble() struct
283 double d; in testUseApproximateDoubleWhenAble()
284 int32_t maxFrac; in testUseApproximateDoubleWhenAble()
285 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble()
286 bool usesExact; in testUseApproximateDoubleWhenAble()
314 static const struct TestCase { in testHardDoubleConversion() struct
315 double input; in testHardDoubleConversion()
316 const char16_t* expectedOutput; in testHardDoubleConversion()
344 static const struct TestCase { in testToDouble() struct
345 const char* input; // char* for the decNumber constructor in testToDouble()
[all …]
Dnumbertest_affixutils.cpp86 static struct TestCase { in testUnescape() struct
87 const char16_t *input; in testUnescape()
88 bool currency; in testUnescape()
89 int32_t expectedLength; in testUnescape()
90 const char16_t *output; in testUnescape()
149 static struct TestCase { in testContainsReplaceType() struct
150 const char16_t *input; in testContainsReplaceType()
151 bool hasMinusSign; in testContainsReplaceType()
152 const char16_t *output; in testContainsReplaceType()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/
Dpermissions.pass.cpp94 struct TestCase { in TEST_CASE() struct
95 path p; in TEST_CASE()
96 perms set_perms; in TEST_CASE()
97 perms expected; in TEST_CASE()
98 perm_options opts; in TEST_CASE()
99 TestCase(path xp, perms xperms, perms xexpect, in TEST_CASE() argument
149 struct TestCase { in TEST_CASE() struct
150 perms set_perms; in TEST_CASE()
151 perms expected; // only expected on platform that support symlink perms. in TEST_CASE()
152 perm_options opts = perm_options::replace; in TEST_CASE()
[all …]
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_4_5_6.pass.cpp54 struct TestCase { struct
57 static void run() { TestCase().doTest(); } in run() argument
60 typedef TestMemberObject<ObjectType> TestType;
64 void doTest() { in doTest()
138 void runTestDispatch(Fn M, T& obj, ObjectType* expect) { in runTestDispatch()
152 void runTestPropCVDispatch(Fn M, T& obj, ObjectType* expect) { in runTestPropCVDispatch()
160 void runTestNoPropDispatch(Fn M, T& obj, ObjectType* expect) { in runTestNoPropDispatch()
174 void runTest(Fn M, const T& obj, ObjectType* expect) { in runTest()
184 void runTest(Fn M, T&& obj, ObjectType* expect) { in runTest()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DDJBTest.cpp17 struct TestCase { in TEST() struct
18 StringLiteral One; in TEST()
19 StringLiteral Two; in TEST()
60 struct TestCase { in TEST() struct
61 StringLiteral Text; in TEST()
62 uint32_t Hash; in TEST()
/external/pdfium/testing/libfuzzer/
Dpdf_fuzzer_init.cc10 struct TestCase { struct
11 TestCase() { in TestCase() function
21 static TestCase* testCase = new TestCase(); argument
/external/boringssl/src/decrepit/cast/
Dcast_test.cc22 struct TestCase { struct
30 static const TestCase kTests[] = { argument
/external/google-benchmark/test/
Dregister_benchmark_test.cc21 struct TestCase { struct
22 std::string name;
23 const char* label;
25 TestCase(const char* xname) : TestCase(xname, nullptr) {} in TestCase() function
26 TestCase(const char* xname, const char* xlabel) in TestCase() argument
29 typedef benchmark::BenchmarkReporter::Run Run;
31 void CheckRun(Run const& run) const { in CheckRun()
Dskip_with_error_test.cc28 struct TestCase { struct
29 std::string name;
30 bool error_occurred;
31 std::string error_message;
33 typedef benchmark::BenchmarkReporter::Run Run;
35 void CheckRun(Run const& run) const { in CheckRun()
/external/libcxx/utils/google-benchmark/test/
Dregister_benchmark_test.cc21 struct TestCase { struct
22 std::string name;
23 const char* label;
25 TestCase(const char* xname) : TestCase(xname, nullptr) {} in TestCase() function
26 TestCase(const char* xname, const char* xlabel) in TestCase() argument
29 typedef benchmark::BenchmarkReporter::Run Run;
31 void CheckRun(Run const& run) const { in CheckRun()
Dskip_with_error_test.cc28 struct TestCase { struct
29 std::string name;
30 bool error_occurred;
31 std::string error_message;
33 typedef benchmark::BenchmarkReporter::Run Run;
35 void CheckRun(Run const& run) const { in CheckRun()
/external/boringssl/src/decrepit/blowfish/
Dblowfish_test.cc22 struct TestCase { struct
31 static const TestCase kTests[] = { argument
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/
Dis_symlink.pass.cpp42 struct TestCase { in TEST_CASE() struct
43 file_type type; in TEST_CASE()
44 bool expect; in TEST_CASE()
66 struct TestCase { in TEST_CASE() struct
67 path p; in TEST_CASE()
68 bool expect; in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/
Dcanonical.pass.cpp56 struct TestCase { in TEST_CASE() struct
57 path p; in TEST_CASE()
58 path expect; in TEST_CASE()
59 path base; in TEST_CASE()
60 TestCase(path p1, path e, path b = StaticEnv::Root) in TEST_CASE() argument
/external/pdfium/xfa/fxfa/parser/
Dxfa_utils_unittest.cpp11 struct TestCase { in TEST() struct
12 int input; in TEST()
13 int expected_output; in TEST()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/
Dstatus.pass.cpp73 struct TestCase { in TEST_CASE() struct
74 path p; in TEST_CASE()
75 std::error_code expect_ec; in TEST_CASE()
107 struct TestCase { in TEST_CASE() struct
108 path p; in TEST_CASE()
109 file_type expect_type; in TEST_CASE()
/external/pdfium/fxbarcode/oned/
DBC_OnedCode128Writer_unittest.cpp10 struct TestCase { struct
11 const char* input;
12 int32_t checksum;
13 int32_t patterns[7];
14 size_t num_patterns;
/external/mockito/src/test/java/org/mockitousage/annotation/
DMockInjectionUsingConstructorTest.java136 class TestCase { in injectMocksMustFailWithInterface() class
150 class TestCase { in injectMocksMustFailWithEnum() class
163 class TestCase { in injectMocksMustFailWithAbstractClass() class
176 class TestCase { in injectMocksMustFailWithNonStaticInnerClass() class
192 class TestCase { in injectMocksMustSucceedWithStaticInnerClass() class
205 class TestCase { in injectMocksMustSucceedWithInstance() class
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status_known/
Dstatus_known.pass.cpp37 struct TestCase { in TEST_CASE() struct
38 file_type type; in TEST_CASE()
39 bool expect; in TEST_CASE()
/external/adhd/cras/src/tests/
Dchecksum_unittest.cc12 struct TestCase { struct
13 const char *input;
14 uint32_t output;
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/
Dequivalent.pass.cpp39 struct TestCase { in TEST_CASE() struct
40 path lhs; in TEST_CASE()
41 path rhs; in TEST_CASE()
42 bool expect; in TEST_CASE()
/external/tensorflow/tensorflow/core/common_runtime/data/
Dstandalone_test.cc155 struct TestCase { in TEST() struct
156 string fetch_node; in TEST()
157 std::vector<int64> expected_outputs; in TEST()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_other/
Dis_other.pass.cpp42 struct TestCase { in TEST_CASE() struct
43 file_type type; in TEST_CASE()
44 bool expect; in TEST_CASE()

12345678