/external/chromium/chrome/browser/prefs/ |
pref_notifier_impl_unittest.cc | 71 PrefObserverMock obs2_; member in class:__anon2048::PrefNotifierTest 102 ASSERT_EQ(0u, notifier.CountObserver(pref_name, &obs2_)); 103 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs2_)); 112 ASSERT_EQ(0u, notifier.CountObserver(pref_name, &obs2_)); 113 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs2_)); 120 ASSERT_EQ(0u, notifier.CountObserver(pref_name, &obs2_)); 121 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs2_)); 124 notifier.AddPrefObserver(pref_name, &obs2_); 127 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs2_)); 128 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs2_)); [all...] |
/external/chromium_org/base/prefs/ |
pref_notifier_impl_unittest.cc | 103 PrefObserverMock obs2_; member in class:__anon3593::PrefNotifierTest 130 ASSERT_EQ(0u, notifier.CountObserver(pref_name, &obs2_)); 131 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs2_)); 140 ASSERT_EQ(0u, notifier.CountObserver(pref_name, &obs2_)); 141 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs2_)); 148 ASSERT_EQ(0u, notifier.CountObserver(pref_name, &obs2_)); 149 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs2_)); 152 notifier.AddPrefObserver(pref_name, &obs2_); 155 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs2_)); 156 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs2_)); [all...] |