Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/chromeos/input_method/
Dbrowser_state_monitor_unittest.cc64 : monitor_(mock_observer_.AsCallback()) { in BrowserStateMonitorTest()
68 MockObserver mock_observer_; member in chromeos::input_method::__anon2e8b5bee0211::BrowserStateMonitorTest
78 EXPECT_EQ(1, mock_observer_.update_ui_session_count()); in TEST_F()
86 EXPECT_EQ(2, mock_observer_.update_ui_session_count()); in TEST_F()
88 mock_observer_.ui_session()); in TEST_F()
93 EXPECT_EQ(1, mock_observer_.update_ui_session_count()); in TEST_F()
100 EXPECT_EQ(2, mock_observer_.update_ui_session_count()); in TEST_F()
102 mock_observer_.ui_session()); in TEST_F()
107 EXPECT_EQ(1, mock_observer_.update_ui_session_count()); in TEST_F()
114 EXPECT_EQ(2, mock_observer_.update_ui_session_count()); in TEST_F()
[all …]
/external/chromium_org/jingle/notifier/listener/
Dxmpp_push_client_unittest.cc45 xmpp_push_client_->AddObserver(&mock_observer_); in SetUp()
51 xmpp_push_client_->RemoveObserver(&mock_observer_); in TearDown()
58 StrictMock<MockObserver> mock_observer_; member in notifier::__anon462e64e30111::XmppPushClientTest
66 EXPECT_CALL(mock_observer_, OnIncomingNotification(_)); in TEST_F()
73 EXPECT_CALL(mock_observer_, OnNotificationsEnabled()); in TEST_F()
81 EXPECT_CALL(mock_observer_, in TEST_F()
89 EXPECT_CALL(mock_observer_, in TEST_F()
97 EXPECT_CALL(mock_observer_, in TEST_F()
108 EXPECT_CALL(mock_observer_, OnNotificationsEnabled()); in TEST_F()
119 EXPECT_CALL(mock_observer_, OnNotificationsEnabled()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_registry_unittest.cc90 registry_.reset(new MockDialRegistry(&mock_observer_, in DialRegistryTest()
100 MockDialObserver mock_observer_; member in extensions::DialRegistryTest
143 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(empty_list_)) in TEST_F()
160 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(empty_list_)) in TEST_F()
162 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(list_with_first_device_)) in TEST_F()
164 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(expected_list2)) in TEST_F()
183 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(empty_list_)) in TEST_F()
185 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(list_with_first_device_)) in TEST_F()
218 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(empty_list_)); in TEST_F()
219 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(list_with_first_device_)); in TEST_F()
[all …]
Ddial_service_unittest.cc48 dial_service_.AddObserver(&mock_observer_); in DialServiceTest()
56 MockObserver mock_observer_; member in extensions::DialServiceTest
67 EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(4); in TEST_F()
68 EXPECT_CALL(mock_observer_, OnDiscoveryFinished(A<DialService*>())).Times(1); in TEST_F()
122 EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(12); in TEST_F()
123 EXPECT_CALL(mock_observer_, OnDiscoveryFinished(A<DialService*>())).Times(1); in TEST_F()
137 EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(1); in TEST_F()
154 EXPECT_CALL(mock_observer_, in TEST_F()
163 EXPECT_CALL(mock_observer_, OnDiscoveryFinished(A<DialService*>())).Times(1); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/profiles/
Dprofile_list_chromeos_unittest.cc87 mock_observer_.reset(new MockObserver()); in GetAvatarMenu()
93 mock_observer_.get(), in GetAvatarMenu()
107 int change_count() const { return mock_observer_->change_count(); } in change_count()
111 scoped_ptr<MockObserver> mock_observer_; member in chromeos::ProfileListChromeOSTest
/external/chromium_org/chrome/browser/profiles/
Dprofile_list_desktop_unittest.cc64 mock_observer_.reset(new MockObserver()); in GetAvatarMenu()
70 mock_observer_.get(), in GetAvatarMenu()
86 int change_count() const { return mock_observer_->change_count(); } in change_count()
90 scoped_ptr<MockObserver> mock_observer_; member in __anonb29e03cd0111::ProfileListDesktopTest