Home
last modified time | relevance | path

Searched refs:expected_response (Results 1 – 13 of 13) sorted by relevance

/external/autotest/server/site_tests/firmware_Cr50U2fCommands/
Dfirmware_Cr50U2fCommands.py93 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/
Dtest_urllib2_localnet.py505 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/
Dopenssl_adapter_unittest.cc74 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/
Dtest_urllib2_localnet.py487 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.py255 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 …]
Dbeta_python_plugin_test.py375 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.py207 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/
Dfirmware_Cr50SetBoardId.py148 expected_response = self.SUCCESS
152 expected_response = self.ERROR_BID_MISMATCH
157 self.run_script(expected_response, phase)
/external/autotest/client/common_lib/cros/
Ddev_server.py1095 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/
Dpresentation_connection_unittest.cc180 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/
Dbatch_test.py460 expected_response = http_wrapper.Response({
471 expected_response,
/external/tensorflow/tensorflow/core/platform/cloud/
Dcurl_http_request_test.cc310 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/
Dtest_events.py669 self.transport.write(expected_response)
676 expected_response = b'roger'
710 self.assertEqual(response, expected_response)