Home
last modified time | relevance | path

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

12345678910

/external/icu/icu4c/source/test/intltest/
Dcalcasts.h29 struct TestCase { struct
44 void doTestCases(const TestCase *cases, Calendar *cal); argument
Dnumbertest_decimalquantity.cpp301 static const struct TestCase { in testUseApproximateDoubleWhenAble() struct
302 double d; in testUseApproximateDoubleWhenAble()
303 int32_t maxFrac; in testUseApproximateDoubleWhenAble()
304 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble()
305 bool usesExact; in testUseApproximateDoubleWhenAble()
333 static const struct TestCase { in testHardDoubleConversion() struct
334 double input; in testHardDoubleConversion()
335 const char16_t* expectedOutput; in testHardDoubleConversion()
401 static const struct TestCase { in testToDouble() struct
402 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.cpp40 struct TestCase { in testGetUnitCategory() struct
41 const char *unit; in testGetUnitCategory()
42 const char *expectedCategory; in testGetUnitCategory()
104 struct TestCase { in testGetPreferencesFor() struct
105 const char *name; in testGetPreferencesFor()
106 const char *category; in testGetPreferencesFor()
107 const char *usage; in testGetPreferencesFor()
108 const char *region; in testGetPreferencesFor()
109 const char *expectedBiggest; in testGetPreferencesFor()
110 const char *expectedSmallest; in testGetPreferencesFor()
Dunits_test.cpp126 struct TestCase { in testExtractConvertibility() struct
127 const char *const source; in testExtractConvertibility()
128 const char *const target; in testExtractConvertibility()
129 const Convertibility expectedState; in testExtractConvertibility()
181 struct TestCase { in testConversionInfo() struct
182 const char *source; in testConversionInfo()
183 const char *target; in testConversionInfo()
184 const ConversionInfo expectedConversionInfo; in testConversionInfo()
270 struct TestCase { in testConverter() struct
271 const char *source; in testConverter()
[all …]
Dnumbertest_skeletons.cpp325 static struct TestCase { in flexibleSeparators() struct
326 const char16_t* skeleton; in flexibleSeparators()
327 const char16_t* expected; in flexibleSeparators()
350 struct TestCase { in wildcardCharacters() struct
351 const char16_t* star; in wildcardCharacters()
352 const char16_t* plus; in wildcardCharacters()
385 struct TestCase { in perUnitInArabic() struct
386 const char16_t* type; in perUnitInArabic()
387 const char16_t* subtype; in perUnitInArabic()
457 struct TestCase { in perUnitToSkeleton() struct
[all …]
Dnumbertest_affixutils.cpp87 static struct TestCase { in testUnescape() struct
88 const char16_t *input; in testUnescape()
89 bool currency; in testUnescape()
90 int32_t expectedLength; in testUnescape()
91 const char16_t *output; in testUnescape()
151 static struct TestCase { in testContainsReplaceType() struct
152 const char16_t *input; in testContainsReplaceType()
153 bool hasMinusSign; in testContainsReplaceType()
154 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/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/tensorflow/tensorflow/compiler/xla/service/
Dcollective_ops_utils_test.cc64 struct TestCase { struct
65 bool has_channel_id;
66 absl::optional<bool> use_global_device_ids;
67 absl::optional<xla::CollectiveOpGroupMode> expected;
69 std::string ToString() const { in ToString()
119 struct TestCase { struct
120 xla::Array2D<int> device_assignment;
121 std::vector<std::vector<int>> replica_groups;
122 bool has_channel_id;
123 absl::optional<bool> use_global_device_ids;
[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/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
70 def test_case_start(self, test_case: TestCase):
74 def test_case_end(self, test_case: TestCase, result: int):
78 def test_case_disabled(self, test_case: TestCase):
82 def test_case_expect(self, test_case: TestCase,
98 def test_case_start(self, test_case: TestCase):
101 def test_case_end(self, test_case: TestCase, result: int):
107 def test_case_disabled(self, test_case: TestCase):
110 def test_case_expect(self, test_case: TestCase,
/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() 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() argument
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()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dpow10_helper_test.cc28 struct TestCase { struct
29 int power; // Testing Pow10(power)
30 uint64_t significand; // Raw bits of the expected value
31 int radix; // significand is adjusted by 2^radix
/external/abseil-cpp/absl/strings/internal/
Dpow10_helper_test.cc28 struct TestCase { struct
29 int power; // Testing Pow10(power)
30 uint64_t significand; // Raw bits of the expected value
31 int radix; // significand is adjusted by 2^radix
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dpow10_helper_test.cc28 struct TestCase { struct
29 int power; // Testing Pow10(power)
30 uint64_t significand; // Raw bits of the expected value
31 int radix; // significand is adjusted by 2^radix
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dpow10_helper_test.cc28 struct TestCase { struct
29 int power; // Testing Pow10(power)
30 uint64_t significand; // Raw bits of the expected value
31 int radix; // significand is adjusted by 2^radix
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dpow10_helper_test.cc28 struct TestCase { struct
29 int power; // Testing Pow10(power)
30 uint64_t significand; // Raw bits of the expected value
31 int radix; // significand is adjusted by 2^radix
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dpow10_helper_test.cc28 struct TestCase { struct
29 int power; // Testing Pow10(power)
30 uint64_t significand; // Raw bits of the expected value
31 int radix; // significand is adjusted by 2^radix

12345678910