/external/chromium_org/net/base/ |
H A D | file_stream_unittest.cc | 80 EXPECT_EQ(OK, callback.WaitForResult()); 84 EXPECT_EQ(OK, callback.WaitForResult()); 97 EXPECT_EQ(OK, callback.WaitForResult()); 126 ASSERT_EQ(0, callback64.WaitForResult()); 146 ASSERT_EQ(0, callback64.WaitForResult()); 218 EXPECT_EQ(OK, callback.WaitForResult()); 243 EXPECT_EQ(OK, callback.WaitForResult()); 249 int64 new_offset = callback64.WaitForResult(); 259 rv = callback.WaitForResult(); 277 EXPECT_EQ(OK, callback.WaitForResult()); 536 int WaitForResult() { function in class:net::__anon9004::TestWriteReadCompletionCallback 673 int WaitForResult() { function in class:net::__anon9004::TestWriteCloseCompletionCallback [all...] |
H A D | test_completion_callback.cc | 23 void TestCompletionCallbackBaseInternal::WaitForResult() { function in class:net::internal::TestCompletionCallbackBaseInternal
|
H A D | test_completion_callback.h | 17 // tests involving asynchronous operations. Just call WaitForResult to wait 21 // there could be other side-effects resulting from WaitForResult. For this 38 void WaitForResult(); 53 R WaitForResult() { function in class:net::internal::TestCompletionCallbackTemplate 54 TestCompletionCallbackBaseInternal::WaitForResult(); 61 return WaitForResult();
|
/external/chromium_org/net/dns/ |
H A D | host_resolver_impl_unittest.cc | 266 int WaitForResult() { function in class:net::__anon9208::Request 548 EXPECT_EQ(OK, req->WaitForResult()); 561 EXPECT_EQ(ERR_NAME_NOT_RESOLVED, req->WaitForResult()); 573 EXPECT_EQ(ERR_NAME_NOT_RESOLVED, req->WaitForResult()); 599 EXPECT_EQ(OK, req1->WaitForResult()); 686 EXPECT_EQ(OK, requests_[i]->WaitForResult()) << i; 705 EXPECT_EQ(OK, requests_[3]->WaitForResult()); 729 EXPECT_EQ(OK, requests_[num_requests - 1]->WaitForResult()); 754 EXPECT_EQ(OK, requests_[0]->WaitForResult()); 758 EXPECT_EQ(OK, final_request->WaitForResult()); [all...] |
/external/chromium_org/net/http/ |
H A D | disk_based_cert_cache_unittest.cc | 55 // store the returned certificate handle and allow users to WaitForResult of 66 void WaitForResult() { cb_.WaitForResult(); } function in class:net::__anon9248::TestGetCallback 92 // store the returned key and allow a user to WaitForResult of 100 void WaitForResult() { cb_.WaitForResult(); } function in class:net::__anon9248::TestSetCallback 201 set_callback.WaitForResult(); 217 get_callback.WaitForResult(); 238 set_callback.WaitForResult(); 258 get_callback.WaitForResult(); [all...] |
H A D | http_response_body_drainer_unittest.cc | 40 int WaitForResult() { function in class:net::__anon9306::CloseResultWaiter 244 EXPECT_FALSE(result_waiter_.WaitForResult()); 251 EXPECT_FALSE(result_waiter_.WaitForResult()); 257 EXPECT_FALSE(result_waiter_.WaitForResult()); 267 EXPECT_FALSE(result_waiter_.WaitForResult()); 275 EXPECT_FALSE(result_waiter_.WaitForResult()); 282 EXPECT_FALSE(result_waiter_.WaitForResult()); 289 EXPECT_TRUE(result_waiter_.WaitForResult()); 306 EXPECT_TRUE(result_waiter_.WaitForResult());
|
/external/chromium_org/net/proxy/ |
H A D | dhcp_proxy_script_adapter_fetcher_win_unittest.cc | 150 void WaitForResult(int expected_error) { function in class:net::__anon9350::FetcherClient 151 EXPECT_EQ(expected_error, callback_.WaitForResult()); 174 client.WaitForResult(ERR_PAC_NOT_IN_DHCP); 183 client.WaitForResult(OK); 205 client.WaitForResult(ERR_TIMED_OUT); 252 client.WaitForResult(OK); 304 client.WaitForResult(OK);
|
/external/chromium_org/net/socket/ |
H A D | client_socket_pool_base_unittest.cc | 667 int WaitForResult() { function in class:net::__anon9519::TestConnectJobDelegate 806 EXPECT_EQ(ERR_TIMED_OUT, delegate.WaitForResult()); 1224 EXPECT_EQ(OK, callback.WaitForResult()); 1276 EXPECT_EQ(OK, callback.WaitForResult()); 1368 EXPECT_EQ(OK, request(i)->WaitForResult()); 1419 EXPECT_EQ(OK, callback2.WaitForResult()); 1527 EXPECT_EQ(OK, next_job_callback.WaitForResult()); 1561 EXPECT_EQ(OK, callback.WaitForResult()); 1579 EXPECT_EQ(OK, callback.WaitForResult()); 1606 EXPECT_EQ(OK, request(i)->WaitForResult()); [all...] |
/external/chromium_org/net/websockets/ |
H A D | websocket_channel_test.cc | 433 void WaitForResult() { callback_.WaitForResult(); } function in class:net::__anon9820::TestClosure 2169 completion.WaitForResult(); 2199 completion.WaitForResult(); 3360 completion.WaitForResult(); 3386 completion.WaitForResult(); 3433 completion.WaitForResult();
|
H A D | websocket_job_test.cc | 423 int WaitForResult() { function in class:net::WebSocketJobTest 424 return sync_test_callback_.WaitForResult(); 954 EXPECT_EQ(OK, WaitForResult()); 964 EXPECT_EQ(OK, WaitForResult()); 1083 EXPECT_EQ(OK, WaitForResult()); 1093 EXPECT_EQ(OK, WaitForResult());
|
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/ |
H A D | testable_callback.cc | 19 int32_t TestableCallback::WaitForResult() { function in class:TestableCallback 43 // "WaitForResult"
|
/external/chromium_org/ppapi/tests/ |
H A D | test_utils.cc | 145 callback.WaitForResult( 309 void TestCompletionCallback::WaitForResult(int32_t result) { function in class:TestCompletionCallback 340 WaitForResult(result);
|
H A D | test_utils.h | 115 // as a parameter. If |result| is PP_OK_COMPLETIONPENDING, WaitForResult will 118 // For any other values, WaitForResult will simply set its internal "result_" 131 // callback.WaitForResult(foo.DoSomething(callback)); 137 // callback.WaitForResult(foo.DoSomething(callback)); 141 void WaitForResult(int32_t result); 175 // Used to check that WaitForResult is only called once for each usage of the 222 void WaitForResult(int32_t result) { callback_.WaitForResult(result); } function in class:TestCompletionCallbackWithOutput
|
/external/chromium_org/device/hid/ |
H A D | hid_connection_unittest.cc | 47 bool WaitForResult() { function in class:device::__anon8011::TestCompletionCallback 143 ASSERT_TRUE(write_callback.WaitForResult()); 147 ASSERT_TRUE(read_callback.WaitForResult());
|
/external/chromium_org/device/usb/ |
H A D | usb_device_handle_unittest.cc | 66 void WaitForResult() { run_loop_.Run(); } function in class:device::__anon8044::TestCompletionCallback 106 out_completion.WaitForResult(); 111 in_completion.WaitForResult(); 148 out_completion.WaitForResult(); 153 in_completion.WaitForResult();
|
/external/chromium_org/media/midi/ |
H A D | midi_manager_unittest.cc | 76 MidiResult WaitForResult() { function in class:media::__anon8683::FakeMidiManagerClient 157 EXPECT_EQ(MIDI_OK, client->WaitForResult()); 167 EXPECT_EQ(MIDI_INITIALIZATION_ERROR, client->WaitForResult()); 183 EXPECT_EQ(MIDI_OK, client1->WaitForResult()); 184 EXPECT_EQ(MIDI_OK, client2->WaitForResult()); 185 EXPECT_EQ(MIDI_OK, client3->WaitForResult()); 220 EXPECT_EQ(MIDI_OK, many_existing_clients[i]->WaitForResult()); 251 MidiResult result = client->WaitForResult();
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | web_ui_test_handler.cc | 50 return WaitForResult(); 93 bool WebUITestHandler::WaitForResult() { function in class:WebUITestHandler 94 SCOPED_TRACE("WebUITestHandler::WaitForResult");
|