Searched refs:obs2 (Results 1 – 2 of 2) sorted by relevance
73 TestingObserver obs2; in TEST_F() local74 distilled_page_prefs_->AddObserver(&obs2); in TEST_F()78 EXPECT_EQ(DistilledPagePrefs::SERIF, obs2.GetFontFamily()); in TEST_F()83 EXPECT_EQ(DistilledPagePrefs::MONOSPACE, obs2.GetFontFamily()); in TEST_F()84 distilled_page_prefs_->RemoveObserver(&obs2); in TEST_F()103 TestingObserver obs2; in TEST_F() local104 distilled_page_prefs_->AddObserver(&obs2); in TEST_F()108 EXPECT_EQ(DistilledPagePrefs::SEPIA, obs2.GetTheme()); in TEST_F()113 EXPECT_EQ(DistilledPagePrefs::LIGHT, obs2.GetTheme()); in TEST_F()114 distilled_page_prefs_->RemoveObserver(&obs2); in TEST_F()
103 MockPrefChangeCallback obs2(&prefs); in TEST() local105 obs2.Expect(pref_name, &expected_new_pref_value2); in TEST()106 registrar_two.Add(pref_name, obs2.GetCallback()); in TEST()110 Mock::VerifyAndClearExpectations(&obs2); in TEST()115 obs2.Expect(pref_name, &expected_new_pref_value2); in TEST()120 Mock::VerifyAndClearExpectations(&obs2); in TEST()125 obs2.Expect(pref_name, &expected_new_pref_value); in TEST()129 Mock::VerifyAndClearExpectations(&obs2); in TEST()