Home
last modified time | relevance | path

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

12345678910>>...14

/external/icu/icu4c/source/test/intltest/
Dcalcasts.h29 struct TestCase { struct
44 void doTestCases(const TestCase *cases, Calendar *cal); argument
Dnumbertest_decimalquantity.cpp300 static const struct TestCase { in testUseApproximateDoubleWhenAble() struct
301 double d; in testUseApproximateDoubleWhenAble()
302 int32_t maxFrac; in testUseApproximateDoubleWhenAble()
303 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble()
304 bool usesExact; in testUseApproximateDoubleWhenAble()
332 static const struct TestCase { in testHardDoubleConversion() struct
333 double input; in testHardDoubleConversion()
334 const char16_t* expectedOutput; in testHardDoubleConversion()
362 static const struct TestCase { in testToDouble() struct
363 const char* input; // char* for the decNumber constructor in testToDouble()
[all …]
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()
212 static const struct TestCase { in testSeriesMatcher() struct
213 const char16_t* input; in testSeriesMatcher()
214 int32_t expectedOffset; in testSeriesMatcher()
215 bool expectedMaybeMore; in testSeriesMatcher()
[all …]
Dunits_data_test.cpp36 struct TestCase { in testGetUnitCategory() struct
37 const char *unit; in testGetUnitCategory()
38 const char *expectedCategory; in testGetUnitCategory()
94 struct TestCase { in testGetPreferencesFor() struct
95 const char *name; in testGetPreferencesFor()
96 const char *category; in testGetPreferencesFor()
97 const char *usage; in testGetPreferencesFor()
98 const char *region; in testGetPreferencesFor()
99 const char *expectedBiggest; in testGetPreferencesFor()
100 const char *expectedSmallest; in testGetPreferencesFor()
Dnumbertest_skeletons.cpp309 static struct TestCase { in flexibleSeparators() struct
310 const char16_t* skeleton; in flexibleSeparators()
311 const char16_t* expected; in flexibleSeparators()
334 struct TestCase { in wildcardCharacters() struct
335 const char16_t* star; in wildcardCharacters()
336 const char16_t* plus; in wildcardCharacters()
370 struct TestCase { in perUnitInArabic() struct
371 const char16_t* type; in perUnitInArabic()
372 const char16_t* subtype; in perUnitInArabic()
442 struct TestCase { in perUnitToSkeleton() struct
[all …]
Dunits_test.cpp126 struct TestCase { in testConversionCapability() struct
127 const char *const source; in testConversionCapability()
128 const char *const target; in testConversionCapability()
129 const Convertibility expectedState; in testConversionCapability()
160 struct TestCase { in testSiPrefixes() struct
161 const char *source; in testSiPrefixes()
162 const char *target; in testSiPrefixes()
163 const double inputValue; in testSiPrefixes()
164 const double expectedValue; in testSiPrefixes()
196 struct TestCase { in testMass() struct
[all …]
/external/llvm-project/lldb/unittests/Language/CPlusPlus/
DCPlusPlusLanguageTest.cpp16 struct TestCase { in TEST() struct
17 std::string input; in TEST()
18 std::string context, basename, arguments, qualifiers, scope_qualified_name; in TEST()
125 struct TestCase { in TEST() struct
126 std::string input; in TEST()
127 std::string context, basename; in TEST()
/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/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/
Dpermissions.pass.cpp93 struct TestCase { in TEST_CASE() struct
94 path p; in TEST_CASE()
95 perms set_perms; in TEST_CASE()
96 perms expected; in TEST_CASE()
97 perm_options opts; in TEST_CASE()
98 TestCase(path xp, perms xperms, perms xexpect, in TEST_CASE() function
148 struct TestCase { in TEST_CASE() struct
149 perms set_perms; in TEST_CASE()
150 perms expected; // only expected on platform that support symlink perms. in TEST_CASE()
151 perm_options opts = perm_options::replace; in TEST_CASE()
[all …]
/external/angle/src/tests/gl_tests/
DDXTSRGBCompressedTextureTestData.inl13 struct TestCase struct
22 static const std::map<GLenum, TestCase> kTests = { argument
/external/libcxx/test/libcxx/numerics/
Dclamp_to_integral.pass.cpp24 struct TestCase { in test() struct
25 double Input; in test()
26 IntT Expect; in test()
27 bool IsRepresentable; in test()
56 struct TestCase { in test_float() struct
57 float Input; in test_float()
58 IntT Expect; in test_float()
59 bool IsRepresentable; in test_float()
/external/pdfium/testing/fuzzers/
Dpdf_fuzzer_init_public.cc60 struct TestCase { struct
61 TestCase() { in TestCase() argument
96 static TestCase* g_test_case = new TestCase(); argument
Dpdf_fuzzer_init.cc10 struct TestCase { struct
11 TestCase() { in TestCase() function
25 static TestCase* g_test_case = new TestCase(); argument
/external/llvm-project/libcxx/test/libcxx/numerics/
Dclamp_to_integral.pass.cpp24 struct TestCase { in test() struct
25 double Input; in test()
26 IntT Expect; in test()
27 bool IsRepresentable; in test()
56 struct TestCase { in test_float() struct
57 float Input; in test_float()
58 IntT Expect; in test_float()
59 bool IsRepresentable; in test_float()
/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/llvm-project/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_4_5_6.pass.cpp57 struct TestCase { struct
60 static void run() { TestCase().doTest(); } in run() argument
63 typedef TestMemberObject<ObjectType> TestType;
67 void doTest() { in doTest()
141 void runTestDispatch(Fn M, T& obj, ObjectType* expect) { in runTestDispatch()
155 void runTestPropCVDispatch(Fn M, T& obj, ObjectType* expect) { in runTestPropCVDispatch()
163 void runTestNoPropDispatch(Fn M, T& obj, ObjectType* expect) { in runTestNoPropDispatch()
177 void runTest(Fn M, const T& obj, ObjectType* expect) { in runTest()
187 void runTest(Fn M, T&& obj, ObjectType* expect) { in runTest()
/external/llvm-project/llvm/unittests/Support/
DDJBTest.cpp16 struct TestCase { in TEST() struct
17 StringLiteral One; in TEST()
18 StringLiteral Two; in TEST()
59 struct TestCase { in TEST() struct
60 StringLiteral Text; in TEST()
61 uint32_t Hash; in TEST()
/external/skia/tests/
DSkShaperJSONWriterTest.cpp23 struct TestCase { in DEF_TEST() struct
24 size_t utf8Len; in DEF_TEST()
25 std::vector<uint32_t> clusters; in DEF_TEST()
26 std::vector<Answer> answers; in DEF_TEST()
79 struct TestCase { in DEF_TEST() struct
80 std::string utf8; in DEF_TEST()
81 std::vector<SkGlyphID> glyphIDs; in DEF_TEST()
82 std::vector<uint32_t> clusters; in DEF_TEST()
83 std::vector<Answer> answers; in DEF_TEST()
/external/pigweed/pw_unit_test/py/pw_unit_test/
Drpc.py29 class TestCase: class
65 def test_case_start(self, test_case: TestCase):
69 def test_case_end(self, test_case: TestCase, result: int):
73 def test_case_disabled(self, test_case: TestCase):
77 def test_case_expect(self, test_case: TestCase,
93 def test_case_start(self, test_case: TestCase):
96 def test_case_end(self, test_case: TestCase, result: int):
102 def test_case_disabled(self, test_case: TestCase):
105 def test_case_expect(self, test_case: TestCase,
/external/llvm-project/clang/unittests/StaticAnalyzer/
DRangeSetTest.cpp23 template <typename T> struct TestCase { struct
24 RangeSet original;
25 RangeSet expected;
27 TestCase(BasicValueFactory &BVF, RangeSet::Factory &F, in TestCase() argument
34 RangeSet createRangeSetFromList(BasicValueFactory &BVF, RangeSet::Factory &F, in createRangeSetFromList()
48 void printNegate(const TestCase &TestCase) { in printNegate()
/external/llvm-project/llvm/utils/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() function
29 typedef benchmark::BenchmarkReporter::Run Run;
31 void CheckRun(Run const& run) const { in CheckRun()
/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() argument
26 TestCase(const char* xname, const char* xlabel) in TestCase() function
29 typedef benchmark::BenchmarkReporter::Run Run;
31 void CheckRun(Run const& run) const { in CheckRun()
/external/llvm-project/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() function
29 typedef benchmark::BenchmarkReporter::Run Run;
31 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() function
29 typedef benchmark::BenchmarkReporter::Run Run;
31 void CheckRun(Run const& run) const { in CheckRun()
/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()

12345678910>>...14