Home
last modified time | relevance | path

Searched refs:test_mode_ (Results 1 – 6 of 6) sorted by relevance

/third_party/cef/tests/ceftests/
Ddownload_unittest.cc182 : test_mode_(test_mode), in DownloadTestHandler()
189 return test_mode_ == CLICKED || test_mode_ == CLICKED_REJECTED; in is_clicked()
194 if (test_mode_ == NAVIGATED || test_mode_ == PENDING) { in RunTest()
215 if (test_mode_ != CLICKED_REJECTED) { in RunTest()
222 if (test_mode_ == NAVIGATED) { in RunTest()
230 if (test_mode_ == CLICKED) { in RunTest()
232 } else if (test_mode_ == CLICKED_REJECTED) { in RunTest()
267 test_mode_ == CLICKED_REJECTED ? EVENTFLAG_ALT_DOWN : 0); in OnLoadEnd()
269 if (test_mode_ == CLICKED_REJECTED) { in OnLoadEnd()
292 if (test_mode_ == NAVIGATED) { in OnDelayCallback()
[all …]
Dv8_unittest.cc103 V8RendererTest() : test_mode_(V8TEST_NONE) {} in V8RendererTest()
107 switch (test_mode_) { in RunTest()
252 switch (test_mode_) { in RunStartupTest()
2471 test_mode_ = static_cast<V8TestMode>(extra_info->GetInt(kV8TestCmdKey)); in OnBrowserCreated()
2473 if (test_mode_ > V8TEST_NONE) in OnBrowserCreated()
2475 if (test_mode_ == V8TEST_CONTEXT_EVAL_CSP_BYPASS_UNSAFE_EVAL || in OnBrowserCreated()
2476 test_mode_ == V8TEST_CONTEXT_EVAL_CSP_BYPASS_SANDBOX) { in OnBrowserCreated()
2483 if (test_mode_ == V8TEST_NONE) in GetLoadHandler()
2492 if (test_mode_ == V8TEST_ON_UNCAUGHT_EXCEPTION_DEV_TOOLS && in OnLoadEnd()
2502 if (test_mode_ == V8TEST_NONE) in OnContextCreated()
[all …]
Dcookie_unittest.cc1475 : test_mode_(test_mode), in CookieAccessTestHandler()
1479 if (test_mode_ == BLOCK_ALL_COOKIES) in CookieAccessTestHandler()
1481 else if (test_mode_ == ALLOW_NO_HANDLER) in CookieAccessTestHandler()
1494 const bool block_cookies = (test_mode_ == BLOCK_ALL_COOKIES); in RunTest()
1526 if (test_mode_ == ALLOW_NO_FILTER || test_mode_ == ALLOW_NO_HANDLER) { in DestroyTest()
1530 if (test_mode_ == BLOCK_ALL_COOKIES) { in DestroyTest()
1534 } else if (test_mode_ & BLOCK_WRITE) { in DestroyTest()
1551 if (test_mode_ == BLOCK_ALL_COOKIES) { in DestroyTest()
1564 if ((test_mode_ & BLOCK_WRITE) || test_mode_ == BLOCK_ALL_COOKIES) { in DestroyTest()
1579 if ((test_mode_ & BLOCK_READ) || test_mode_ == BLOCK_ALL_COOKIES) { in DestroyTest()
[all …]
Dresource_request_handler_unittest.cc229 : test_mode_(test_mode), in IncompleteResourceHandlerOld()
238 if (test_mode_ == BLOCK_READ_RESPONSE) { in ~IncompleteResourceHandlerOld()
255 if (test_mode_ == BLOCK_PROCESS_REQUEST) { in ProcessRequest()
268 EXPECT_EQ(test_mode_, BLOCK_READ_RESPONSE); in GetResponseHeaders()
283 EXPECT_EQ(test_mode_, BLOCK_READ_RESPONSE); in ReadResponse()
299 const TestMode test_mode_; member in __anon21d14f300111::IncompleteResourceHandlerOld
324 : test_mode_(test_mode), in IncompleteResourceHandler()
333 if (test_mode_ == BLOCK_READ) { in ~IncompleteResourceHandler()
351 if (test_mode_ == BLOCK_OPEN) { in Open()
371 EXPECT_EQ(test_mode_, BLOCK_READ); in GetResponseHeaders()
[all …]
Dframe_handler_unittest.cc1027 test_mode_(mode), in OrderSubTestHandler()
1147 if (test_mode_ == SUBFRAME_CHILDREN) { in GetSubFrameHtml1ForNav()
1162 if (test_mode_ == SUBFRAME_PEERS) { in GetMainHtmlForNav()
1166 } else if (test_mode_ == SUBFRAME_CHILDREN) { in GetMainHtmlForNav()
1275 const TestMode test_mode_; member in __anond1ec902b0311::OrderSubTestHandler
Durlrequest_unittest.cc2751 test_mode_ = static_cast<RequestTestMode>(args->GetInt(0)); in OnProcessMessageReceived()
2760 test_mode_, in OnProcessMessageReceived()
2776 test_mode_, frame_, in OnSetupComplete()
2832 RequestTestMode test_mode_; member in __anon50066f7f0111::RequestRendererTest
2848 : test_mode_(test_mode), in RequestTestHandler()
2942 test_mode_, base::BindOnce(&RequestTestHandler::OnSetupComplete, this)); in PreSetupComplete()
2970 test_mode_, nullptr /* frame */, in PostSetupComplete()
3021 test_mode_, frame, in OnLoadEnd()
3031 EXPECT_TRUE(args->SetInt(0, test_mode_)); in OnLoadEnd()
3223 const RequestTestMode test_mode_; member in __anon50066f7f0111::RequestTestHandler