/aosp_15_r20/external/cronet/net/http/ |
H A D | http_auth_handler_factory_unittest.cc | 250 struct TestCase { in TEST() struct 251 int expected_net_error; in TEST() 252 const GURL origin; in TEST() 253 const char* challenge; in TEST() 304 struct TestCase { in TEST() struct 305 int expected_net_error; in TEST() 306 const url::SchemeHostPort scheme_host_port; in TEST() 307 const char* challenge; in TEST() 347 struct TestCase { in TEST() struct 348 int expected_net_error; in TEST() [all …]
|
/aosp_15_r20/external/cronet/net/cookies/ |
H A D | cookie_partition_key_unittest.cc | 202 struct TestCase { in TEST_P() struct 203 const std::string desc; in TEST_P() 204 const NetworkIsolationKey network_isolation_key; in TEST_P() 205 const std::optional<CookiePartitionKey> expected; in TEST_P() 206 const SiteForCookies site_for_cookies; in TEST_P() 207 const SchemefulSite request_site; in TEST_P() 263 struct TestCase { in TEST_P() struct 264 const GURL url; in TEST_P() 265 const std::optional<base::UnguessableToken> nonce; in TEST_P() 266 const CookiePartitionKey::AncestorChainBit ancestor_chain_bit; in TEST_P() [all …]
|
H A D | cookie_deletion_info_unittest.cc | 538 struct TestCase { in TEST() struct 539 const std::string desc; in TEST() 540 const CookiePartitionKeyCollection filter_cookie_partition_key_collection; in TEST() 541 const std::optional<CookiePartitionKey> cookie_partition_key; in TEST() 542 bool expects_match; in TEST() 581 struct TestCase { in TEST() struct 582 const std::string desc; in TEST() 583 const std::optional<CookiePartitionKey> cookie_partition_key; in TEST() 584 bool partitioned_state_only; in TEST() 585 bool expects_match; in TEST()
|
/aosp_15_r20/system/authgraph/tests/src/ |
H A D | lib.rs | 57 struct TestCase { in test_hmac() struct 58 key: &'static str, // 32 bytes, hex-encoded in test_hmac() 59 data: &'static [u8], in test_hmac() 60 want: &'static str, // 32 bytes, hex-encoded in test_hmac() 85 struct TestCase { in test_hkdf() struct 86 ikm: &'static str, in test_hkdf() 87 salt: &'static str, in test_hkdf() 88 info: &'static str, in test_hkdf() 89 want: &'static str, in test_hkdf() 181 struct TestCase { in test_aes_gcm() struct [all …]
|
/aosp_15_r20/external/icu/icu4c/source/test/intltest/ |
H A D | units_data_test.cpp | 42 struct TestCase { in testGetUnitCategory() struct 43 const char *unit; in testGetUnitCategory() 44 const char *expectedCategory; in testGetUnitCategory() 108 struct TestCase { in testGetPreferencesFor() struct 109 const char *name; in testGetPreferencesFor() 110 const char *category; in testGetPreferencesFor() 111 const char *usage; in testGetPreferencesFor() 112 const char *region; in testGetPreferencesFor() 113 const char *expectedBiggest; in testGetPreferencesFor() 114 const char *expectedSmallest; in testGetPreferencesFor()
|
H A D | caltest.cpp | 4429 struct TestCase { in TestGregorianCalendarSetTemporalMonthCode() struct 4430 int32_t gYear; in TestGregorianCalendarSetTemporalMonthCode() 4431 int32_t gMonth; in TestGregorianCalendarSetTemporalMonthCode() 4432 int32_t gDate; in TestGregorianCalendarSetTemporalMonthCode() 4433 const char* monthCode; in TestGregorianCalendarSetTemporalMonthCode() 4434 int32_t ordinalMonth; in TestGregorianCalendarSetTemporalMonthCode() 4485 struct TestCase { in TestChineseCalendarSetTemporalMonthCode() struct 4486 int32_t gYear; in TestChineseCalendarSetTemporalMonthCode() 4487 int32_t gMonth; in TestChineseCalendarSetTemporalMonthCode() 4488 int32_t gDate; in TestChineseCalendarSetTemporalMonthCode() [all …]
|
H A D | numbertest_affixutils.cpp | 87 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()
|
/aosp_15_r20/external/cronet/third_party/icu/source/test/intltest/ |
H A D | units_data_test.cpp | 42 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()
|
H A D | caltest.cpp | 4415 struct TestCase { in TestGregorianCalendarSetTemporalMonthCode() struct 4416 int32_t gYear; in TestGregorianCalendarSetTemporalMonthCode() 4417 int32_t gMonth; in TestGregorianCalendarSetTemporalMonthCode() 4418 int32_t gDate; in TestGregorianCalendarSetTemporalMonthCode() 4419 const char* monthCode; in TestGregorianCalendarSetTemporalMonthCode() 4420 int32_t ordinalMonth; in TestGregorianCalendarSetTemporalMonthCode() 4471 struct TestCase { in TestChineseCalendarSetTemporalMonthCode() struct 4472 int32_t gYear; in TestChineseCalendarSetTemporalMonthCode() 4473 int32_t gMonth; in TestChineseCalendarSetTemporalMonthCode() 4474 int32_t gDate; in TestChineseCalendarSetTemporalMonthCode() [all …]
|
H A D | numbertest_affixutils.cpp | 87 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()
|
/aosp_15_r20/external/rust/android-crates-io/crates/mls-rs/src/group/interop_test_vectors/ |
D | passive_client.rs | 42 pub struct TestCase { struct 43 pub cipher_suite: u16, 45 pub external_psks: Vec<TestExternalPsk>, 47 pub key_package: Vec<u8>, 49 pub signature_priv: Vec<u8>, 51 pub encryption_priv: Vec<u8>, 53 pub init_priv: Vec<u8>, 56 pub welcome: Vec<u8>, 57 pub ratchet_tree: Option<TestRatchetTree>, 59 pub initial_epoch_authenticator: Vec<u8>, [all …]
|
/aosp_15_r20/external/libcxx/test/libcxx/utilities/function.objects/func.require/ |
H A D | bullet_4_5_6.pass.cpp | 54 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()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/libcxx/utilities/function.objects/func.require/ |
H A D | bullet_4_5_6.pass.cpp | 57 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
|
/aosp_15_r20/external/cronet/net/websockets/ |
H A D | websocket_frame_parser_test.cc | 451 struct TestCase { in TEST() struct 452 const char* frame_header; in TEST() 453 size_t frame_header_length; in TEST() 487 struct TestCase { in TEST() struct 488 const char* frame_header; in TEST() 489 size_t frame_header_length; in TEST() 490 WebSocketFrameHeader::OpCode opcode; in TEST() 546 struct TestCase { in TEST() struct 547 const char* frame_header; in TEST() 548 size_t frame_header_length; in TEST() [all …]
|
/aosp_15_r20/external/skia/modules/skparagraph/tests/ |
H A D | SkShaperJSONWriterTest.cpp | 23 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()
|
/aosp_15_r20/external/libcxx/test/libcxx/numerics/ |
H A D | clamp_to_integral.pass.cpp | 24 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()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/libcxx/numerics/ |
H A D | clamp_to_integral.pass.cpp | 25 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()
|
/aosp_15_r20/external/libcxx/utils/google-benchmark/test/ |
H A D | register_benchmark_test.cc | 21 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() argument 29 typedef benchmark::BenchmarkReporter::Run Run; 31 void CheckRun(Run const& run) const { in CheckRun()
|
/aosp_15_r20/external/openthread/tests/unit/ |
H A D | test_mac_frame.cpp | 197 struct TestCase in TestMacHeader() struct 199 Mac::Frame::Version mVersion; in TestMacHeader() 200 AddrType mSrcAddrType; in TestMacHeader() 201 PanIdMode mSrcPanIdMode; in TestMacHeader() 202 AddrType mDstAddrType; in TestMacHeader() 203 PanIdMode mDstPanIdMode; in TestMacHeader() 204 Mac::Frame::SecurityLevel mSecurity; in TestMacHeader() 205 Mac::Frame::KeyIdMode mKeyIdMode; in TestMacHeader() 206 uint8_t mHeaderLength; in TestMacHeader() 207 uint8_t mFooterLength; in TestMacHeader() [all …]
|
H A D | test_ip_address.cpp | 529 struct TestCase in TestIp6Prefix() struct 531 Ip6::Prefix mPrefixA; in TestIp6Prefix() 532 Ip6::Prefix mPrefixB; in TestIp6Prefix() 801 struct TestCase in TestIp4Ip6Translation() struct 803 const char *mPrefix; // NAT64 prefix in TestIp4Ip6Translation() 804 uint8_t mLength; // Prefix length in bits in TestIp4Ip6Translation() 805 const char *mIp6Address; // Expected IPv6 address (with embedded IPv4 "192.0.2.33"). in TestIp4Ip6Translation() 867 struct TestCase in TestIp4Cidr() struct 869 const char *mNetwork; in TestIp4Cidr() 870 const uint8_t mLength; in TestIp4Cidr() [all …]
|
/aosp_15_r20/external/pigweed/pw_unit_test/py/pw_unit_test/ |
H A D | rpc.py | 30 class TestCase: class 80 def test_case_start(self, test_case: TestCase) -> None: 85 self, test_case: TestCase, result: TestCaseResult 90 def test_case_disabled(self, test_case: TestCase) -> None: 95 self, test_case: TestCase, expectation: TestExpectation 112 def test_case_start(self, test_case: TestCase) -> None: 116 self, test_case: TestCase, result: TestCaseResult 123 def test_case_disabled(self, test_case: TestCase) -> None: 127 self, test_case: TestCase, expectation: TestExpectation
|
/aosp_15_r20/external/cronet/third_party/google_benchmark/src/test/ |
H A D | register_benchmark_test.cc | 21 struct TestCase { struct 22 const std::string name; 23 const std::string label; 25 TestCase(const std::string& xname) : TestCase(xname, "") {} in TestCase() argument 26 TestCase(const std::string& xname, const std::string& xlabel) in TestCase() argument 29 typedef benchmark::BenchmarkReporter::Run Run; 31 void CheckRun(Run const& run) const { in CheckRun()
|
/aosp_15_r20/external/google-benchmark/test/ |
H A D | register_benchmark_test.cc | 21 struct TestCase { struct 22 const std::string name; 23 const std::string label; 25 TestCase(const std::string& xname) : TestCase(xname, "") {} in TestCase() argument 26 TestCase(const std::string& xname, const std::string& xlabel) in TestCase() argument 29 typedef benchmark::BenchmarkReporter::Run Run; 31 void CheckRun(Run const& run) const { in CheckRun()
|
/aosp_15_r20/external/skia/tests/ |
H A D | RectTest.cpp | 284 struct TestCase { in DEF_TEST() struct 285 std::string label; in DEF_TEST() 286 bool expect; in DEF_TEST() 287 SkMatrix m; in DEF_TEST() 288 SkIRect a; in DEF_TEST() 289 SkIRect b; in DEF_TEST() 290 float tol = 0.f; in DEF_TEST() 401 struct TestCase { in DEF_TEST() struct 402 std::string label; in DEF_TEST() 403 SkIRect dst; in DEF_TEST() [all …]
|
/aosp_15_r20/external/tink/cc/mac/ |
H A D | hmac_proto_serialization_test.cc | 56 struct TestCase { struct 57 HmacParameters::Variant variant; 58 OutputPrefixType output_prefix_type; 59 HmacParameters::HashType hash_type; 60 HashType proto_hash_type; 61 int key_size; 62 int tag_size; 63 int total_size; 64 absl::optional<int> id; 65 std::string output_prefix;
|