Searched defs:WaitForResult (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/chrome/browser/ui/webui/
H A Dweb_ui_test_handler.cc50 return WaitForResult();
93 bool WebUITestHandler::WaitForResult() { function in class:WebUITestHandler
94 SCOPED_TRACE("WebUITestHandler::WaitForResult");
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/
H A Dtestable_callback.cc19 int32_t TestableCallback::WaitForResult() { function in class:TestableCallback
43 // "WaitForResult"
/external/chromium_org/net/base/
H A Dtest_completion_callback.cc23 void TestCompletionCallbackBaseInternal::WaitForResult() { function in class:net::internal::TestCompletionCallbackBaseInternal
H A Dtest_completion_callback.h17 // 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();
H A Dfile_stream_unittest.cc80 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...]
/external/chromium_org/device/usb/
H A Dusb_device_handle_unittest.cc66 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/device/hid/
H A Dhid_connection_unittest.cc47 bool WaitForResult() { function in class:device::__anon8011::TestCompletionCallback
143 ASSERT_TRUE(write_callback.WaitForResult());
147 ASSERT_TRUE(read_callback.WaitForResult());
/external/chromium_org/media/midi/
H A Dmidi_manager_unittest.cc76 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/net/http/
H A Ddisk_based_cert_cache_unittest.cc55 // 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 Dhttp_response_body_drainer_unittest.cc40 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 Ddhcp_proxy_script_adapter_fetcher_win_unittest.cc150 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/ppapi/tests/
H A Dtest_utils.cc145 callback.WaitForResult(
309 void TestCompletionCallback::WaitForResult(int32_t result) { function in class:TestCompletionCallback
340 WaitForResult(result);
H A Dtest_utils.h115 // 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/net/dns/
H A Dhost_resolver_impl_unittest.cc266 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/websockets/
H A Dwebsocket_job_test.cc423 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());
H A Dwebsocket_channel_test.cc433 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();
/external/chromium_org/net/socket/
H A Dclient_socket_pool_base_unittest.cc667 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...]

Completed in 320 milliseconds