Home
last modified time | relevance | path

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

12345678910>>...16

/external/skia/tests/
DMatrixProcsTest.cpp32 struct TestCase { in DEF_TEST() struct
33 std::string name; in DEF_TEST()
34 SkFixed input; in DEF_TEST()
35 unsigned max; in DEF_TEST()
36 uint32_t expectedOutput; in DEF_TEST()
85 struct TestCase { in DEF_TEST() struct
86 std::string name; in DEF_TEST()
87 SkFixed input; in DEF_TEST()
88 unsigned max; in DEF_TEST()
89 uint32_t expectedOutput; in DEF_TEST()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcalcasts.h29 struct TestCase { struct
44 void doTestCases(const TestCase *cases, Calendar *cal); argument
Dnumbertest_decimalquantity.cpp305 static const struct TestCase { in testUseApproximateDoubleWhenAble() struct
306 double d; in testUseApproximateDoubleWhenAble()
307 int32_t maxFrac; in testUseApproximateDoubleWhenAble()
308 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble()
309 bool usesExact; in testUseApproximateDoubleWhenAble()
337 static const struct TestCase { in testHardDoubleConversion() struct
338 double input; in testHardDoubleConversion()
339 const char16_t* expectedOutput; in testHardDoubleConversion()
405 static const struct TestCase { in testToDouble() struct
406 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.cpp42 struct TestCase { in testGetUnitCategory() struct
43 const char *unit; in testGetUnitCategory()
44 const char *expectedCategory; in testGetUnitCategory()
106 struct TestCase { in testGetPreferencesFor() struct
107 const char *name; in testGetPreferencesFor()
108 const char *category; in testGetPreferencesFor()
109 const char *usage; in testGetPreferencesFor()
110 const char *region; in testGetPreferencesFor()
111 const char *expectedBiggest; in testGetPreferencesFor()
112 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 …]
/external/cronet/third_party/icu/source/test/intltest/
Dcalcasts.h29 struct TestCase { struct
44 void doTestCases(const TestCase *cases, Calendar *cal); argument
Dnumbertest_decimalquantity.cpp305 static const struct TestCase { in testUseApproximateDoubleWhenAble() struct
306 double d; in testUseApproximateDoubleWhenAble()
307 int32_t maxFrac; in testUseApproximateDoubleWhenAble()
308 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble()
309 bool usesExact; in testUseApproximateDoubleWhenAble()
337 static const struct TestCase { in testHardDoubleConversion() struct
338 double input; in testHardDoubleConversion()
339 const char16_t* expectedOutput; in testHardDoubleConversion()
405 static const struct TestCase { in testToDouble() struct
406 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.cpp42 struct TestCase { in testGetUnitCategory() struct
43 const char *unit; in testGetUnitCategory()
44 const char *expectedCategory; in testGetUnitCategory()
106 struct TestCase { in testGetPreferencesFor() struct
107 const char *name; in testGetPreferencesFor()
108 const char *category; in testGetPreferencesFor()
109 const char *usage; in testGetPreferencesFor()
110 const char *region; in testGetPreferencesFor()
111 const char *expectedBiggest; in testGetPreferencesFor()
112 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 …]
/external/cronet/net/websockets/
Dwebsocket_frame_test.cc21 struct TestCase { in TEST() struct
22 const char* frame_header; in TEST()
23 size_t frame_header_length; in TEST()
24 uint64_t frame_length; in TEST()
55 struct TestCase { in TEST() struct
56 const char* frame_header; in TEST()
57 size_t frame_header_length; in TEST()
58 uint64_t frame_length; in TEST()
90 struct TestCase { in TEST() struct
91 const char* frame_header; in TEST()
[all …]
/external/cronet/net/url_request/
Dredirect_info_unittest.cc20 struct TestCase { in TEST() struct
21 const char* original_method; in TEST()
22 int http_status_code; in TEST()
23 const char* expected_new_method; in TEST()
66 struct TestCase { in TEST() struct
67 bool copy_fragment; in TEST()
68 const char* original_url; in TEST()
69 const char* new_location; in TEST()
70 const char* expected_new_url; in TEST()
115 struct TestCase { in TEST() struct
[all …]
Dredirect_util_unittest.cc30 struct TestCase { in TEST() struct
31 const char* original_method; in TEST()
32 const char* new_method; in TEST()
33 const char* new_url; in TEST()
34 const struct { in TEST()
37 } modified_headers[2]; in TEST()
38 bool expected_should_clear_upload; in TEST()
40 const char* expected_origin_header; in TEST()
178 struct TestCase { in TEST() struct
179 std::vector<const char*> initial_headers; in TEST()
[all …]
/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/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/
Dpermissions.pass.cpp90 struct TestCase { in basic_permissions_test() struct
91 path p; in basic_permissions_test()
92 perms set_perms; in basic_permissions_test()
93 perms expected; in basic_permissions_test()
94 perm_options opts; in basic_permissions_test()
95 TestCase(path xp, perms xperms, perms xexpect, in basic_permissions_test() function
149 struct TestCase { in test_no_resolve_symlink_on_symlink() struct
150 perms set_perms; in test_no_resolve_symlink_on_symlink()
151 perms expected; // only expected on platform that support symlink perms. in test_no_resolve_symlink_on_symlink()
152 perm_options opts = perm_options::replace; in test_no_resolve_symlink_on_symlink()
[all …]
/external/angle/src/tests/gl_tests/
DDXTSRGBCompressedTextureTestData.inl13 struct TestCase struct
22 static const std::map<GLenum, TestCase> kTests = { argument
/external/cronet/net/dns/
Ddns_config_service_win_unittest.cc25 const struct TestCase { in TEST() struct
26 const wchar_t* input; in TEST()
27 std::vector<std::string> expected; in TEST()
112 const struct TestCase { in TEST() struct
113 AdapterInfo input_adapters[4]; // |if_type| == 0 indicates end. in TEST()
114 std::string expected_nameservers[4]; // Empty string indicates end. in TEST()
115 std::string expected_suffix; in TEST()
116 uint16_t expected_ports[4]; in TEST()
198 const struct TestCase { in TEST() struct
199 struct { in TEST()
[all …]
/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/cronet/buildtools/third_party/libc++/trunk/test/libcxx/numerics/
Dclamp_to_integral.pass.cpp25 struct TestCase { in test() struct
26 double Input; in test()
27 IntT Expect; in test()
28 bool IsRepresentable; in test()
57 struct TestCase { in test_float() struct
58 float Input; in test_float()
59 IntT Expect; in test_float()
60 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/cronet/buildtools/third_party/libc++/trunk/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()
202 TestCase<ArgType>::run(); in main() argument
/external/tensorflow/tensorflow/compiler/xla/service/
Dcollective_ops_utils_test.cc64 struct TestCase { struct
65 bool has_channel_id;
66 std::optional<bool> use_global_device_ids;
67 std::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 std::optional<bool> use_global_device_ids;
[all …]
/external/skia/modules/skparagraph/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/pdfium/testing/fuzzers/
Dpdf_fuzzer_init.cc10 struct TestCase { struct
11 TestCase() { in TestCase() function
25 static TestCase* g_test_case = new TestCase(); argument

12345678910>>...16