Home
last modified time | relevance | path

Searched refs:test_client (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/content/browser/renderer_host/
Dsoftware_frame_manager_unittest.cc150 scoped_ptr<FakeSoftwareFrameManagerClient> test_client( in TEST_F() local
152 test_client->software_frame_manager()->SetVisibility(false); in TEST_F()
154 bool swap_result = test_client->SwapToNewFrame( in TEST_F()
157 EXPECT_EQ(0u, test_client->evicted_frame_count()); in TEST_F()
158 EXPECT_EQ(0u, test_client->freed_frame_count()); in TEST_F()
159 test_client->software_frame_manager()->SwapToNewFrameComplete(false); in TEST_F()
160 EXPECT_EQ(1u, test_client->evicted_frame_count()); in TEST_F()
161 EXPECT_EQ(1u, test_client->freed_frame_count()); in TEST_F()
215 scoped_ptr<FakeSoftwareFrameManagerClient> test_client( in TEST_F() local
217 bool swap_result = test_client->SwapToNewFrame(static_cast<uint32>(500), 0); in TEST_F()
[all …]
/external/chromium_org/content/browser/loader/
Dresource_loader_unittest.cc252 SelectCertificateBrowserClient test_client; in TEST_F() local
253 ContentBrowserClient* old_client = SetBrowserClientForTesting(&test_client); in TEST_F()
269 EXPECT_EQ(1, test_client.call_count()); in TEST_F()
270 EXPECT_EQ(dummy_certs, test_client.passed_certs()); in TEST_F()
306 SelectCertificateBrowserClient test_client; in TEST_F() local
307 ContentBrowserClient* old_client = SetBrowserClientForTesting(&test_client); in TEST_F()
319 EXPECT_EQ(1, test_client.call_count()); in TEST_F()
320 EXPECT_EQ(net::CertificateList(), test_client.passed_certs()); in TEST_F()