Home
last modified time | relevance | path

Searched refs:server_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
34 server_result = server->ProcessMessage(client_message); in RunExchange()
38 server_result == P224EncryptedKeyExchange::kResultSuccess); in RunExchange()
41 server_result == P224EncryptedKeyExchange::kResultFailed) { in RunExchange()
49 server_result == P224EncryptedKeyExchange::kResultSuccess) { in RunExchange()
54 EXPECT_EQ(P224EncryptedKeyExchange::kResultPending, server_result); in RunExchange()
153 P224EncryptedKeyExchange::Result client_result, server_result; in TEST() local
155 server_result = server.ProcessMessage(client_message); in TEST()
162 server_result == P224EncryptedKeyExchange::kResultSuccess); in TEST()
165 server_result == P224EncryptedKeyExchange::kResultFailed) { in TEST()
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/_cython/
Dcygrpc_test.py293 for server_result in server_event.batch_operations:
294 self.assertNotIn(server_result.type(), found_server_op_types)
295 found_server_op_types.add(server_result.type())
296 if server_result.type() == cygrpc.OperationType.receive_message:
297 self.assertEqual(REQUEST, server_result.message())
298 elif server_result.type(
300 self.assertFalse(server_result.cancelled())
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test_lib.cc88 fixture->has_client_finished_first ? fixture->server_result in check_unused_bytes()
92 : fixture->server_result; in check_unused_bytes()
114 if (fixture->server_result != nullptr && in check_handshake_results()
154 fixture->server_result == nullptr) { in maybe_append_unused_bytes()
314 args->is_client ? &fixture->client_result : &fixture->server_result; in on_handshake_next_done()
344 (!args->is_client && fixture->server_result != nullptr)) { in is_handshake_finished_properly()
409 fixture->server_result == nullptr); in tsi_test_do_handshake()
482 fixture->server_result, in tsi_test_do_round_trip()
630 tsi_handshaker_result_destroy(fixture->server_result); in tsi_test_fixture_destroy()
Dtransport_security_test_lib.h83 tsi_handshaker_result* server_result; member
Dfake_transport_security_test.cc57 validate_handshaker_peers(fixture->server_result); in fake_test_check_handshaker_peers()
Dssl_transport_security_test.cc312 ssl_fixture->base.server_result, &peer) == TSI_OK); in ssl_test_check_handshaker_peers()
317 GPR_ASSERT(ssl_fixture->base.server_result == nullptr); in ssl_test_check_handshaker_peers()
/external/python/cpython2/Lib/test/
Dtest_ssl.py2989 server_result = stats['server_alpn_protocols'][-1] \
2991 self.assertEqual(server_result, expected,
2992 msg % (server_result, "server"))
3027 server_result = stats['server_npn_protocols'][-1] \
3029 self.assertEqual(server_result, expected, msg % (server_result, "server"))
/external/python/cpython3/Lib/test/
Dtest_ssl.py4071 server_result = stats['server_alpn_protocols'][-1] \
4073 self.assertEqual(server_result, expected,
4074 msg % (server_result, "server"))
4106 server_result = stats['server_npn_protocols'][-1] \
4108 self.assertEqual(server_result, expected, msg % (server_result, "server"))