Home
last modified time | relevance | path

Searched refs:WaitForResult (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium/net/proxy/
Dproxy_script_fetcher_impl_unittest.cc108 EXPECT_EQ(ERR_FILE_NOT_FOUND, callback.WaitForResult()); in TEST_F()
117 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
136 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
145 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
154 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
171 EXPECT_EQ(ERR_PAC_STATUS_NOT_OK, callback.WaitForResult()); in TEST_F()
180 EXPECT_EQ(ERR_PAC_STATUS_NOT_OK, callback.WaitForResult()); in TEST_F()
198 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
215 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
230 EXPECT_EQ(ERR_CONNECTION_REFUSED, callback.WaitForResult()); in TEST_F()
[all …]
Dmulti_threaded_proxy_resolver_unittest.cc252 EXPECT_EQ(OK, set_script_callback.WaitForResult()); in TEST()
265 rv = callback0.WaitForResult(); in TEST()
302 rv = callback1.WaitForResult(); in TEST()
306 rv = callback2.WaitForResult(); in TEST()
310 rv = callback3.WaitForResult(); in TEST()
324 EXPECT_EQ(OK, dummy_callback.WaitForResult()); in TEST()
343 EXPECT_EQ(OK, init_callback.WaitForResult()); in TEST()
381 EXPECT_EQ(0, callback0.WaitForResult()); in TEST()
392 EXPECT_EQ(1, callback1.WaitForResult()); in TEST()
407 EXPECT_EQ(2, callback2.WaitForResult()); in TEST()
[all …]
Dproxy_service_unittest.cc177 EXPECT_EQ(OK, callback.WaitForResult()); in TEST()
253 EXPECT_EQ(OK, callback1.WaitForResult()); in TEST()
312 EXPECT_EQ(OK, callback1.WaitForResult()); in TEST()
378 EXPECT_EQ(OK, callback1.WaitForResult()); in TEST()
395 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST()
433 EXPECT_EQ(OK, callback1.WaitForResult()); in TEST()
459 EXPECT_EQ(OK, callback3.WaitForResult()); in TEST()
523 EXPECT_EQ(OK, callback1.WaitForResult()); in TEST()
586 EXPECT_EQ(OK, callback1.WaitForResult()); in TEST()
611 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST()
[all …]
/external/chromium/net/socket/
Dtransport_client_socket_unittest.cc143 rv = callback->WaitForResult(); in DrainClientSocket()
164 rv = callback.WaitForResult(); in SendClientRequest()
188 rv = callback.WaitForResult(); in TEST_P()
211 rv = callback.WaitForResult(); in TEST_P()
265 rv = callback.WaitForResult(); in TEST_P()
281 EXPECT_EQ(0, callback.WaitForResult()); in TEST_P()
290 rv = callback.WaitForResult(); in TEST_P()
302 rv = callback.WaitForResult(); in TEST_P()
314 EXPECT_EQ(0, callback.WaitForResult()); in TEST_P()
323 rv = callback.WaitForResult(); in TEST_P()
[all …]
Dssl_client_socket_unittest.cc79 rv = callback.WaitForResult(); in TEST_F()
96 rv = callback.WaitForResult(); in TEST_F()
121 rv = callback.WaitForResult(); in TEST_F()
137 rv = callback.WaitForResult(); in TEST_F()
164 rv = callback.WaitForResult(); in TEST_F()
180 rv = callback.WaitForResult(); in TEST_F()
209 rv = callback.WaitForResult(); in TEST_F()
225 rv = callback.WaitForResult(); in TEST_F()
269 rv = callback.WaitForResult(); in TEST_F()
291 rv = callback.WaitForResult(); in TEST_F()
[all …]
Dtcp_server_socket_unittest.cc68 result = accept_callback.WaitForResult(); in TEST_F()
77 EXPECT_EQ(OK, connect_callback.WaitForResult()); in TEST_F()
93 EXPECT_EQ(OK, connect_callback.WaitForResult()); in TEST_F()
94 EXPECT_EQ(OK, accept_callback.WaitForResult()); in TEST_F()
123 EXPECT_EQ(OK, accept_callback.WaitForResult()); in TEST_F()
129 result = accept_callback2.WaitForResult(); in TEST_F()
132 EXPECT_EQ(OK, connect_callback.WaitForResult()); in TEST_F()
Dclient_socket_pool_base_unittest.cc512 int WaitForResult() { in WaitForResult() function in net::__anon6f49baa30211::TestConnectJobDelegate
645 EXPECT_EQ(ERR_TIMED_OUT, delegate.WaitForResult()); in TEST_F()
1056 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
1103 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
1195 EXPECT_EQ(OK, request(i)->WaitForResult()); in TEST_F()
1246 EXPECT_EQ(OK, callback2.WaitForResult()); in TEST_F()
1342 EXPECT_EQ(OK, next_job_callback.WaitForResult()); in RunWithParams()
1352 int WaitForResult() { in WaitForResult() function in net::__anon6f49baa30211::RequestSocketCallback
1353 return callback_.WaitForResult(); in WaitForResult()
1381 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
[all …]
Dtransport_client_socket_pool_unittest.cc490 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
507 EXPECT_EQ(ERR_NAME_NOT_RESOLVED, callback.WaitForResult()); in TEST_F()
517 EXPECT_EQ(ERR_CONNECTION_FAILED, callback.WaitForResult()); in TEST_F()
529 EXPECT_EQ(OK, (*requests())[0]->WaitForResult()); in TEST_F()
587 EXPECT_EQ(OK, (*requests())[0]->WaitForResult()); in TEST_F()
609 EXPECT_EQ(OK, (*requests())[6]->WaitForResult()); in TEST_F()
610 EXPECT_EQ(OK, (*requests())[7]->WaitForResult()); in TEST_F()
611 EXPECT_EQ(OK, (*requests())[8]->WaitForResult()); in TEST_F()
612 EXPECT_EQ(OK, (*requests())[9]->WaitForResult()); in TEST_F()
613 EXPECT_EQ(OK, (*requests())[10]->WaitForResult()); in TEST_F()
[all …]
Dssl_server_socket_unittest.cc207 EXPECT_EQ(kTestDataSize, callback.WaitForResult()); in TEST()
302 EXPECT_EQ(net::OK, connect_callback.WaitForResult()); in TEST_F()
305 EXPECT_EQ(net::OK, accept_callback.WaitForResult()); in TEST_F()
323 ASSERT_EQ(net::OK, connect_callback.WaitForResult()); in TEST_F()
326 ASSERT_EQ(net::OK, accept_callback.WaitForResult()); in TEST_F()
344 EXPECT_GT(write_callback.WaitForResult(), 0); in TEST_F()
347 EXPECT_GT(read_callback.WaitForResult(), 0); in TEST_F()
360 EXPECT_GT(read_callback.WaitForResult(), 0); in TEST_F()
363 EXPECT_GT(write_callback.WaitForResult(), 0); in TEST_F()
Dsocks_client_socket_unittest.cc72 rv = callback.WaitForResult(); in BuildMockSocket()
150 rv = callback_.WaitForResult(); in TEST_F()
161 rv = callback_.WaitForResult(); in TEST_F()
167 rv = callback_.WaitForResult(); in TEST_F()
218 rv = callback_.WaitForResult(); in TEST_F()
254 rv = callback_.WaitForResult(); in TEST_F()
292 rv = callback_.WaitForResult(); in TEST_F()
324 rv = callback_.WaitForResult(); in TEST_F()
354 rv = callback_.WaitForResult(); in TEST_F()
Dsocks5_client_socket_unittest.cc90 rv = callback.WaitForResult(); in BuildMockSocket()
140 rv = callback_.WaitForResult(); in TEST_F()
153 rv = callback_.WaitForResult(); in TEST_F()
159 rv = callback_.WaitForResult(); in TEST_F()
262 rv = callback_.WaitForResult(); in TEST_F()
292 rv = callback_.WaitForResult(); in TEST_F()
321 rv = callback_.WaitForResult(); in TEST_F()
352 rv = callback_.WaitForResult(); in TEST_F()
Dssl_client_socket_pool_unittest.cc204 EXPECT_EQ(ERR_CONNECTION_FAILED, callback.WaitForResult()); in TEST_F()
248 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
271 EXPECT_EQ(ERR_CERT_COMMON_NAME_INVALID, callback.WaitForResult()); in TEST_F()
294 EXPECT_EQ(ERR_SSL_PROTOCOL_ERROR, callback.WaitForResult()); in TEST_F()
320 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
347 EXPECT_EQ(ERR_NPN_NEGOTIATION_FAILED, callback.WaitForResult()); in TEST_F()
373 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
405 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
453 EXPECT_EQ(ERR_CONNECTION_FAILED, callback.WaitForResult()); in TEST_F()
497 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
[all …]
Ddeterministic_socket_data_unittest.cc124 ASSERT_EQ(len, read_callback_.WaitForResult()); in AssertAsyncReadEquals()
157 ASSERT_EQ(len, write_callback_.WaitForResult()); in AssertAsyncWriteEquals()
479 ASSERT_EQ(kLen1, read_callback_.WaitForResult()); in TEST_F()
483 ASSERT_EQ(kLen2, write_callback_.WaitForResult()); in TEST_F()
493 ASSERT_EQ(kLen3, write_callback_.WaitForResult()); in TEST_F()
496 ASSERT_EQ(kLen2, read_callback_.WaitForResult()); in TEST_F()
523 ASSERT_EQ(kLen2, write_callback_.WaitForResult()); in TEST_F()
533 ASSERT_EQ(kLen2, read_callback_.WaitForResult()); in TEST_F()
/external/chromium/net/base/
Ddnsrr_resolver_unittest.cc38 ASSERT_EQ(OK, callback.WaitForResult()); in TEST_F()
53 ASSERT_EQ(OK, callback.WaitForResult()); in TEST_F()
69 ASSERT_EQ(OK, callback.WaitForResult()); in TEST_F()
80 ASSERT_EQ(OK, callback.WaitForResult()); in TEST_F()
104 ASSERT_EQ(ERR_ABORTED, callback.WaitForResult()); in TEST_F()
119 ASSERT_EQ(ERR_NAME_NOT_RESOLVED, callback.WaitForResult()); in TEST_F()
120 ASSERT_EQ(ERR_NAME_NOT_RESOLVED, callback2.WaitForResult()); in TEST_F()
Dcert_verifier_unittest.cc60 error = callback.WaitForResult(); in TEST_F()
105 error = callback.WaitForResult(); in TEST_F()
107 error = callback2.WaitForResult(); in TEST_F()
135 error = callback.WaitForResult(); in TEST_F()
161 error = callback.WaitForResult(); in TEST_F()
189 error = callback.WaitForResult(); in TEST_F()
203 error = callback.WaitForResult(); in TEST_F()
218 error = callback.WaitForResult(); in TEST_F()
255 error = callback.WaitForResult(); in TEST_F()
Dfile_stream_unittest.cc157 rv = callback.WaitForResult(); in TEST_F()
261 rv = callback.WaitForResult(); in TEST_F()
337 rv = callback.WaitForResult(); in TEST_F()
429 rv = callback.WaitForResult(); in TEST_F()
551 rv = callback.WaitForResult(); in TEST_F()
568 rv = callback.WaitForResult(); in TEST_F()
609 rv = callback.WaitForResult(); in TEST_F()
628 rv = callback.WaitForResult(); in TEST_F()
662 int WaitForResult() { in WaitForResult() function in net::__anon46802ba60111::TestWriteReadCompletionCallback
690 rv = callback.WaitForResult(); in RunWithParams()
[all …]
Dtest_completion_callback.cc18 int TestCompletionCallback::WaitForResult() { in WaitForResult() function in TestCompletionCallback
32 return WaitForResult(); in GetResult()
Dhost_resolver_impl_unittest.cc1105 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
1120 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
1144 EXPECT_EQ(ERR_ABORTED, callback.WaitForResult()); in TEST_F()
1174 EXPECT_EQ(ERR_ABORTED, callback.WaitForResult()); in TEST_F()
1182 EXPECT_EQ(OK, callback.WaitForResult()); in TEST_F()
1205 int WaitForResult() { in WaitForResult() function in net::__anonc3a3a2db0111::ResolveWithinCallback
1206 return callback_.WaitForResult(); in WaitForResult()
1210 return nested_callback_.WaitForResult(); in WaitForNestedResult()
1239 EXPECT_EQ(ERR_ABORTED, callback.WaitForResult()); in TEST_F()
1288 EXPECT_EQ(OK, callback[i].WaitForResult()) << "i=" << i; in TEST_F()
[all …]
/external/chromium/net/http/
Dhttp_response_body_drainer_unittest.cc37 int WaitForResult() { in WaitForResult() function in net::__anon2534255f0111::CloseResultWaiter
208 EXPECT_FALSE(result_waiter_.WaitForResult()); in TEST_F()
214 EXPECT_FALSE(result_waiter_.WaitForResult()); in TEST_F()
221 EXPECT_FALSE(result_waiter_.WaitForResult()); in TEST_F()
228 EXPECT_TRUE(result_waiter_.WaitForResult()); in TEST_F()
246 EXPECT_TRUE(result_waiter_.WaitForResult()); in TEST_F()
Dhttp_network_transaction_unittest.cc168 out.rv = callback.WaitForResult(); in SimpleGetHelper()
604 rv = callback1.WaitForResult(); in TEST_F()
661 rv = callback.WaitForResult(); in TEST_F()
703 rv = callback.WaitForResult(); in TEST_F()
745 rv = callback.WaitForResult(); in TEST_F()
782 rv = callback.WaitForResult(); in TEST_F()
812 rv = callback.WaitForResult(); in TEST_F()
856 rv = callback.WaitForResult(); in KeepAliveConnectionResendRequestTest()
906 rv = callback.WaitForResult(); in TEST_F()
985 rv = callback.WaitForResult(); in TEST_F()
[all …]
Dhttp_proxy_client_socket_pool_unittest.cc276 rv = callback_.WaitForResult(); in TEST_P()
357 EXPECT_EQ(OK, callback_.WaitForResult()); in TEST_P()
378 EXPECT_EQ(ERR_PROXY_CONNECTION_FAILED, callback_.WaitForResult()); in TEST_P()
403 EXPECT_EQ(ERR_PROXY_CERTIFICATE_INVALID, callback_.WaitForResult()); in TEST_P()
428 EXPECT_EQ(ERR_SSL_CLIENT_AUTH_CERT_NEEDED, callback_.WaitForResult()); in TEST_P()
467 EXPECT_EQ(ERR_CONNECTION_CLOSED, callback_.WaitForResult()); in TEST_P()
509 rv = callback_.WaitForResult(); in TEST_P()
/external/chromium/net/spdy/
Dspdy_http_stream_unittest.cc44 EXPECT_EQ(OK, callback.WaitForResult()); in InitSession()
91 callback.WaitForResult(); in TEST_F()
152 callback.WaitForResult(); in TEST_F()
211 callback.WaitForResult(); in TEST_F()
Dspdy_network_transaction_unittest.cc158 output_.rv = callback.WaitForResult(); in RunDefaultTest()
419 rv = callback.WaitForResult(); in ReadResult()
462 rv = callback.WaitForResult(); in RunServerPushTest()
686 out.rv = callback1.WaitForResult(); in TEST_P()
688 out.rv = callback3.WaitForResult(); in TEST_P()
767 out.rv = callback1.WaitForResult(); in TEST_P()
769 out.rv = callback2.WaitForResult(); in TEST_P()
867 out.rv = callback1.WaitForResult(); in TEST_P()
869 out.rv = callback2.WaitForResult(); in TEST_P()
982 out.rv = callback1.WaitForResult(); in TEST_P()
[all …]
/external/chromium/net/udp/
Dudp_socket_unittest.cc37 rv = callback.WaitForResult(); in RecvFromSocket()
67 rv = callback.WaitForResult(); in SendToSocket()
81 rv = callback.WaitForResult(); in ReadSocket()
101 rv = callback.WaitForResult(); in WriteSocket()
/external/chromium/net/ftp/
Dftp_network_transaction_unittest.cc765 ASSERT_EQ(expected_result, callback_.WaitForResult()); in ExecuteTransaction()
772 callback_.WaitForResult()); in ExecuteTransaction()
778 EXPECT_EQ(0, callback_.WaitForResult()); in ExecuteTransaction()
810 ASSERT_EQ(ERR_NAME_NOT_RESOLVED, callback_.WaitForResult()); in TEST_F()
1028 ASSERT_EQ(OK, callback_.WaitForResult()); in TEST_F()
1152 ASSERT_EQ(ERR_FTP_FAILED, callback_.WaitForResult()); in TEST_F()
1169 EXPECT_EQ(ERR_MALFORMED_IDENTITY, callback_.WaitForResult()); in TEST_F()
1183 ASSERT_EQ(ERR_FTP_FAILED, callback_.WaitForResult()); in TEST_F()
1202 EXPECT_EQ(ERR_MALFORMED_IDENTITY, callback_.WaitForResult()); in TEST_F()

12