Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/ui/find_bar/
Dfind_backend_unittest.cc35 TestTabContents* contents2 = new TestTabContents(profile_.get(), NULL); in TEST_F() local
36 TabContentsWrapper wrapper2(contents2); in TEST_F()
42 EXPECT_EQ(string16(), FindPrepopulateText(contents2)); in TEST_F()
57 EXPECT_EQ(search_term1, FindPrepopulateText(contents2)); in TEST_F()
68 EXPECT_EQ(search_term2, FindPrepopulateText(contents2)); in TEST_F()
79 EXPECT_EQ(search_term3, FindPrepopulateText(contents2)); in TEST_F()
/external/chromium/chrome/browser/tabs/
Dtab_strip_model_unittest.cc432 TabContentsWrapper* contents2 = CreateTabContents(); in TEST_F() local
434 tabstrip.InsertTabContentsAt(1, contents2, TabStripModel::ADD_ACTIVE); in TEST_F()
438 State s1(contents2, 1, MockTabStripModelObserver::INSERT); in TEST_F()
441 State s2(contents2, 1, MockTabStripModelObserver::SELECT); in TEST_F()
465 s1.src_contents = contents2; in TEST_F()
480 State s2(contents2, 1, MockTabStripModelObserver::SELECT); in TEST_F()
488 s4.src_contents = contents2; in TEST_F()
512 State s3(contents2, 1, MockTabStripModelObserver::SELECT); in TEST_F()
524 State s1(contents2, 0, MockTabStripModelObserver::MOVE); in TEST_F()
546 EXPECT_EQ(contents2, tabstrip.GetSelectedTabContents()); in TEST_F()
[all …]
/external/chromium/chrome/browser/
Dbackground_contents_service_unittest.cc209 scoped_ptr<MockBackgroundContents> contents2( in TEST_F() local
213 contents2->SendOpenedNotification(&service); in TEST_F()
214 EXPECT_EQ(contents2.get(), service.GetAppBackgroundContents( in TEST_F()
215 contents2->appid())); in TEST_F()
224 contents2->Navigate(url2); in TEST_F()
230 EXPECT_EQ(url2.spec(), GetPrefURLForApp(&profile, contents2->appid())); in TEST_F()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dport_testcase.py107 contents2 = port._filesystem.read_binary_file(file2)
112 self.assertTrue(port.diff_image(contents1, contents2))
114 self.assertTrue(port.diff_image(contents1, contents2, tmpfile))
/external/chromium/chrome/browser/tab_contents/
Dweb_contents_unittest.cc404 TestTabContents contents2(profile(), instance1); in TEST_F() local
408 contents2.transition_cross_site = true; in TEST_F()
409 contents2.controller().LoadURL(url, GURL(), PageTransition::TYPED); in TEST_F()
410 contents2.TestDidNavigate(contents2.render_view_host(), params1); in TEST_F()
424 contents2.controller().LoadURL(url2b, GURL(), PageTransition::TYPED); in TEST_F()
425 TestRenderViewHost* pending_rvh_b = contents2.pending_rvh(); in TEST_F()
427 EXPECT_TRUE(contents2.cross_navigation_pending()); in TEST_F()
435 contents2.TestDidNavigate(pending_rvh_b, params2b); in TEST_F()
436 SiteInstance* instance2b = contents2.GetSiteInstance(); in TEST_F()
458 TestTabContents contents2(profile(), instance1); in TEST_F() local
[all …]
/external/chromium/net/spdy/
Dspdy_network_transaction_unittest.cc2660 std::string contents2("hello!"); in TEST_P() local
2661 EXPECT_EQ(contents2, d2.data_received()); in TEST_P()