Home
last modified time | relevance | path

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

12345678910>>...27

/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/rust/android-crates-io/crates/mls-rs/src/group/interop_test_vectors/
Dserialization.rs23 struct TestCase { struct
25 mls_welcome: Vec<u8>,
27 mls_group_info: Vec<u8>,
29 mls_key_package: Vec<u8>,
32 ratchet_tree: Vec<u8>,
34 group_secrets: Vec<u8>,
37 add_proposal: Vec<u8>,
39 update_proposal: Vec<u8>,
41 remove_proposal: Vec<u8>,
43 pre_shared_key_proposal: Vec<u8>,
[all …]
/external/cronet/stable/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 …]
/external/cronet/tot/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 …]
/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 …]
/external/cronet/tot/crypto/
Dkdf_unittest.cc17 struct TestCase { in TEST() struct
18 std::string password; in TEST()
19 std::string salt; in TEST()
20 crypto::kdf::Pbkdf2HmacSha1Params params; in TEST()
21 size_t len; in TEST()
22 const char* result; in TEST()
44 struct TestCase { in TEST() struct
45 std::string password; in TEST()
46 std::string salt; in TEST()
47 crypto::kdf::ScryptParams params; in TEST()
[all …]
/external/cronet/stable/crypto/
Dkdf_unittest.cc17 struct TestCase { in TEST() struct
18 std::string password; in TEST()
19 std::string salt; in TEST()
20 crypto::kdf::Pbkdf2HmacSha1Params params; in TEST()
21 size_t len; in TEST()
22 const char* result; in TEST()
44 struct TestCase { in TEST() struct
45 std::string password; in TEST()
46 std::string salt; in TEST()
47 crypto::kdf::ScryptParams params; in TEST()
[all …]
/external/cronet/tot/net/websockets/
Dwebsocket_frame_test.cc32 struct TestCase { in TEST() struct
33 const std::string_view frame_header; in TEST()
34 uint64_t frame_length; in TEST()
65 struct TestCase { in TEST() struct
66 const std::string_view frame_header; in TEST()
67 uint64_t frame_length; in TEST()
100 struct TestCase { in TEST() struct
101 const std::string_view frame_header; in TEST()
102 WebSocketFrameHeader::OpCode opcode; in TEST()
139 struct TestCase { in TEST() struct
[all …]
/external/cronet/stable/net/websockets/
Dwebsocket_frame_test.cc32 struct TestCase { in TEST() struct
33 const std::string_view frame_header; in TEST()
34 uint64_t frame_length; in TEST()
65 struct TestCase { in TEST() struct
66 const std::string_view frame_header; in TEST()
67 uint64_t frame_length; in TEST()
100 struct TestCase { in TEST() struct
101 const std::string_view frame_header; in TEST()
102 WebSocketFrameHeader::OpCode opcode; in TEST()
139 struct TestCase { in TEST() struct
[all …]
/external/cronet/tot/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 …]
/external/cronet/stable/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 …]
/external/cronet/stable/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/
Dpermissions.pass.cpp96 struct TestCase { in basic_permissions_test() struct
97 path p; in basic_permissions_test()
98 perms set_perms; in basic_permissions_test()
99 perms expected; in basic_permissions_test()
100 perm_options opts; in basic_permissions_test()
101 TestCase(path xp, perms xperms, perms xexpect, in basic_permissions_test() function
155 struct TestCase { in test_no_resolve_symlink_on_symlink() struct
156 perms set_perms; in test_no_resolve_symlink_on_symlink()
157 perms expected; // only expected on platform that support symlink perms. in test_no_resolve_symlink_on_symlink()
158 perm_options opts = perm_options::replace; in test_no_resolve_symlink_on_symlink()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/
Dpermissions.pass.cpp96 struct TestCase { in basic_permissions_test() struct
97 path p; in basic_permissions_test()
98 perms set_perms; in basic_permissions_test()
99 perms expected; in basic_permissions_test()
100 perm_options opts; in basic_permissions_test()
101 TestCase(path xp, perms xperms, perms xexpect, in basic_permissions_test() function
155 struct TestCase { in test_no_resolve_symlink_on_symlink() struct
156 perms set_perms; in test_no_resolve_symlink_on_symlink()
157 perms expected; // only expected on platform that support symlink perms. in test_no_resolve_symlink_on_symlink()
158 perm_options opts = perm_options::replace; in test_no_resolve_symlink_on_symlink()
[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/openthread/tests/unit/
Dtest_crc.cpp38 struct TestCase in TestCrc16() struct
40 const uint8_t *mData; in TestCrc16()
41 uint16_t mDataLength; in TestCrc16()
42 uint16_t mExpectedCcittCrc16; in TestCrc16()
43 uint16_t mExpectedAnsiCrc16; in TestCrc16()
76 struct TestCase in TestCrc32() struct
78 const uint8_t *mData; in TestCrc32()
79 uint16_t mDataLength; in TestCrc32()
80 uint32_t mExpectedAnsiCrc32; in TestCrc32()
/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/cronet/tot/net/dns/
Ddns_config_service_win_unittest.cc31 const struct TestCase { in TEST() struct
32 const wchar_t* input; in TEST()
33 std::vector<std::string> expected; in TEST()
118 const struct TestCase { in TEST() struct
119 AdapterInfo input_adapters[4]; // |if_type| == 0 indicates end. in TEST()
120 std::string expected_nameservers[4]; // Empty string indicates end. in TEST()
121 std::string expected_suffix; in TEST()
122 uint16_t expected_ports[4]; in TEST()
205 const struct TestCase { in TEST() struct
206 struct { in TEST()
[all …]
/external/cronet/stable/net/dns/
Ddns_config_service_win_unittest.cc31 const struct TestCase { in TEST() struct
32 const wchar_t* input; in TEST()
33 std::vector<std::string> expected; in TEST()
118 const struct TestCase { in TEST() struct
119 AdapterInfo input_adapters[4]; // |if_type| == 0 indicates end. in TEST()
120 std::string expected_nameservers[4]; // Empty string indicates end. in TEST()
121 std::string expected_suffix; in TEST()
122 uint16_t expected_ports[4]; in TEST()
205 const struct TestCase { in TEST() struct
206 struct { in TEST()
[all …]

12345678910>>...27