Home
last modified time | relevance | path

Searched refs:client_result (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/crypto/
Dp224_spake_unittest.cc32 P224EncryptedKeyExchange::Result client_result, server_result; in RunExchange() local
33 client_result = client->ProcessMessage(server_message); in RunExchange()
37 EXPECT_EQ(client_result == P224EncryptedKeyExchange::kResultSuccess, in RunExchange()
40 if (client_result == P224EncryptedKeyExchange::kResultFailed || in RunExchange()
48 if (client_result == P224EncryptedKeyExchange::kResultSuccess && in RunExchange()
53 EXPECT_EQ(P224EncryptedKeyExchange::kResultPending, client_result); in RunExchange()
153 P224EncryptedKeyExchange::Result client_result, server_result; in TEST() local
154 client_result = client.ProcessMessage(server_message); in TEST()
161 client_result == P224EncryptedKeyExchange::kResultSuccess && in TEST()
164 if (client_result == P224EncryptedKeyExchange::kResultFailed || in TEST()
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/_cython/
Dcygrpc_test.py261 for client_result in client_event.batch_operations:
263 self.assertNotIn(client_result.type(), found_client_op_types)
264 found_client_op_types.add(client_result.type())
265 if client_result.type(
270 client_result.initial_metadata()))
271 elif client_result.type() == cygrpc.OperationType.receive_message:
272 self.assertEqual(RESPONSE, client_result.message())
273 elif client_result.type(
278 client_result.trailing_metadata()))
279 self.assertEqual(SERVER_STATUS_DETAILS, client_result.details())
[all …]
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test_lib.cc89 : fixture->client_result; in check_unused_bytes()
91 fixture->has_client_finished_first ? fixture->client_result in check_unused_bytes()
115 fixture->client_result != nullptr) { in check_handshake_results()
153 if (fixture->client_result != nullptr && in maybe_append_unused_bytes()
314 args->is_client ? &fixture->client_result : &fixture->server_result; in on_handshake_next_done()
343 if ((args->is_client && fixture->client_result != nullptr) || in is_handshake_finished_properly()
408 } while (fixture->client_result == nullptr || in tsi_test_do_handshake()
474 fixture->client_result, in tsi_test_do_round_trip()
629 tsi_handshaker_result_destroy(fixture->client_result); in tsi_test_fixture_destroy()
Dtransport_security_test_lib.h82 tsi_handshaker_result* client_result; member
Dfake_transport_security_test.cc56 validate_handshaker_peers(fixture->client_result); in fake_test_check_handshaker_peers()
Dssl_transport_security_test.cc299 ssl_fixture->base.client_result, &peer) == TSI_OK); in ssl_test_check_handshaker_peers()
308 GPR_ASSERT(ssl_fixture->base.client_result == nullptr); in ssl_test_check_handshaker_peers()
/external/python/cpython2/Lib/test/
Dtest_ssl.py2986 client_result = stats['client_alpn_protocol']
2987 self.assertEqual(client_result, expected,
2988 msg % (client_result, "client"))
3025 client_result = stats['client_npn_protocol']
3026 self.assertEqual(client_result, expected, msg % (client_result, "client"))
/external/python/cpython3/Lib/test/
Dtest_ssl.py3951 client_result = stats['client_alpn_protocol']
3952 self.assertEqual(client_result, expected,
3953 msg % (client_result, "client"))
3987 client_result = stats['client_npn_protocol']
3988 self.assertEqual(client_result, expected, msg % (client_result, "client"))