/external/autotest/server/site_tests/firmware_Cr50U2fCommands/ |
D | firmware_Cr50U2fCommands.py | 93 def check_response_size(response, expected_response, success_size): argument 99 if expected_response == VENDOR_CMD_RESPONSE_SUCCESS: 171 expected_response): argument 179 hash, flags), expected_response) 186 check_response_size(response, expected_response, expected_response_size) 192 expected_response=VENDOR_CMD_RESPONSE_SUCCESS): argument 200 expected_response) 202 check_response_size(response, expected_response, 214 expected_response=VENDOR_CMD_RESPONSE_SUCCESS, argument 234 user_secret, format, data_len_str, data), expected_response) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_urllib2_localnet.py | 505 expected_response = b"We got here..." 509 (200, [], expected_response) 514 self.assertEqual(data, expected_response) 518 expected_response = b"hello world" 529 self.assertEqual(data, expected_response) 532 expected_response = b"Bad bad bad..." 533 handler = self.start_server([(404, [], expected_response)]) 543 self.assertEqual(data, expected_response) 547 expected_response = b"pycon 2008..." 548 handler = self.start_server([(200, [], expected_response)]) [all …]
|
/external/webrtc/rtc_base/ |
D | openssl_adapter_unittest.cc | 74 std::stringstream expected_response; in TEST() local 75 expected_response << static_cast<char>(2) << "h2"; in TEST() 76 EXPECT_EQ(expected_response.str(), TransformAlpnProtocols(alpn_protos)); in TEST() 80 expected_response << static_cast<char>(8) << "http/1.1"; in TEST() 81 EXPECT_EQ(expected_response.str(), TransformAlpnProtocols(alpn_protos)); in TEST()
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2_localnet.py | 487 expected_response = 'We got here...' 490 (200, [], expected_response) 499 self.assertEqual(data, expected_response) 504 expected_response = 'Bad bad bad...' 505 handler = self.start_server([(404, [], expected_response)]) 517 self.assertEqual(data, expected_response) 522 expected_response = 'pycon 2008...' 523 handler = self.start_server([(200, [], expected_response)]) 529 self.assertEqual(data, expected_response) 533 expected_response = 'pycon 2008...' [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/ |
D | _python_plugin_test.py | 255 expected_response = service.servicer_methods.UnaryCall( 257 self.assertEqual(expected_response, response) 267 expected_response = service.servicer_methods.UnaryCall( 269 self.assertEqual(expected_response, response) 310 for expected_response, response in moves.zip_longest( 312 self.assertEqual(expected_response, response) 354 expected_response = service.servicer_methods.StreamingInputCall( 356 self.assertEqual(expected_response, response) 365 expected_response = service.servicer_methods.StreamingInputCall( 367 self.assertEqual(expected_response, response) [all …]
|
D | beta_python_plugin_test.py | 375 expected_response = methods.UnaryCall(request, 'not a real context!') 376 self.assertEqual(expected_response, response) 389 expected_response = methods.UnaryCall(request, 'not a real RpcContext!') 390 self.assertEqual(expected_response, response) 436 for expected_response, response in moves.zip_longest( 438 self.assertEqual(expected_response, response) 486 expected_response = methods.StreamingInputCall( 490 self.assertEqual(expected_response, response) 503 expected_response = methods.StreamingInputCall( 507 self.assertEqual(expected_response, response) [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _rpc_test.py | 207 expected_response = self._handler.handle_unary_unary(request, None) 214 self.assertEqual(expected_response, response) 218 expected_response = self._handler.handle_unary_unary(request, None) 226 self.assertEqual(expected_response, response) 232 expected_response = self._handler.handle_unary_unary(request, None) 242 self.assertEqual(expected_response, response) 262 expected_response = self._handler.handle_stream_unary( 272 self.assertEqual(expected_response, response) 277 expected_response = self._handler.handle_stream_unary( 288 self.assertEqual(expected_response, response) [all …]
|
/external/autotest/server/site_tests/firmware_Cr50SetBoardId/ |
D | firmware_Cr50SetBoardId.py | 148 expected_response = self.SUCCESS 152 expected_response = self.ERROR_BID_MISMATCH 157 self.run_script(expected_response, phase)
|
/external/autotest/client/common_lib/cros/ |
D | dev_server.py | 1095 expected_response=SUCCESS, **kwargs): argument 1126 if expected_response and not response == expected_response: 1443 error_message, expected_response=SUCCESS): argument 1465 expected_response, **kwargs) 1769 expected_response=SUCCESS): argument 1799 return self._call_and_wait(call_name, error_message, expected_response,
|
/external/openscreen/osp/impl/presentation/ |
D | presentation_connection_unittest.cc | 180 const std::string expected_response = MakeEchoResponse(expected_message); in TEST_F() local 196 OnStringMessage(static_cast<absl::string_view>(expected_response))); in TEST_F()
|
/external/python/apitools/apitools/base/py/ |
D | batch_test.py | 460 expected_response = http_wrapper.Response({ 471 expected_response,
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | curl_http_request_test.cc | 310 string expected_response = "get response"; in TEST() local 313 EXPECT_EQ(expected_response.size(), response_bytes_transferred); in TEST()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_events.py | 669 self.transport.write(expected_response) 676 expected_response = b'roger' 710 self.assertEqual(response, expected_response)
|