/external/chromium/chrome/browser/prefs/ |
pref_notifier_impl_unittest.cc | 70 PrefObserverMock obs1_; member in class:__anon2048::PrefNotifierTest 99 notifier.AddPrefObserver(pref_name, &obs1_); 100 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs1_)); 101 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs1_)); 109 notifier.AddPrefObserver(pref_name, &obs1_); 110 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs1_)); 111 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs1_)); 117 notifier.AddPrefObserver(pref_name2, &obs1_); 118 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs1_)); 119 ASSERT_EQ(1u, notifier.CountObserver(pref_name2, &obs1_)); [all...] |
/external/chromium_org/base/prefs/ |
pref_notifier_impl_unittest.cc | 102 PrefObserverMock obs1_; member in class:__anon3593::PrefNotifierTest 127 notifier.AddPrefObserver(pref_name, &obs1_); 128 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs1_)); 129 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs1_)); 137 notifier.AddPrefObserver(pref_name, &obs1_); 138 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs1_)); 139 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs1_)); 145 notifier.AddPrefObserver(pref_name2, &obs1_); 146 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs1_)); 147 ASSERT_EQ(1u, notifier.CountObserver(pref_name2, &obs1_)); [all...] |