/external/chromium_org/chrome/browser/chromeos/input_method/ |
D | browser_state_monitor_unittest.cc | 67 : monitor_(mock_observer_.AsCallback()) { in BrowserStateMonitorTest() 71 MockObserver mock_observer_; member in chromeos::input_method::__anon4f0cabe10211::BrowserStateMonitorTest 81 EXPECT_EQ(1, mock_observer_.update_state_count()); in TEST_F() 88 EXPECT_EQ(2, mock_observer_.update_state_count()); in TEST_F() 90 mock_observer_.state()); in TEST_F() 95 EXPECT_EQ(1, mock_observer_.update_state_count()); in TEST_F() 102 EXPECT_EQ(2, mock_observer_.update_state_count()); in TEST_F() 104 mock_observer_.state()); in TEST_F() 109 EXPECT_EQ(1, mock_observer_.update_state_count()); in TEST_F() 116 EXPECT_EQ(2, mock_observer_.update_state_count()); in TEST_F() [all …]
|
/external/chromium/chrome/browser/automation/ |
D | automation_tab_helper_unittest.cc | 23 mock_observer_.StartObserving(tab_helper()); in SetUp() 53 MockTabEventObserver mock_observer_; member in AutomationTabHelperTest 65 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(_)); in TEST_F() 71 tab_helper()->RemoveObserver(&mock_observer_); in TEST_F() 79 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(contents())) in TEST_F() 82 EXPECT_CALL(mock_observer_, OnNoMorePendingLoads(contents())) in TEST_F() 95 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(contents())); in TEST_F() 96 EXPECT_CALL(mock_observer_, OnNoMorePendingLoads(contents())); in TEST_F() 108 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(contents())) in TEST_F() 111 EXPECT_CALL(mock_observer_, OnNoMorePendingLoads(contents())) in TEST_F() [all …]
|
/external/chromium_org/jingle/notifier/listener/ |
D | xmpp_push_client_unittest.cc | 45 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::__anonb9113c760111::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/ |
D | dial_registry_unittest.cc | 90 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 …]
|
D | dial_service_unittest.cc | 48 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() 94 EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(12); in TEST_F() 95 EXPECT_CALL(mock_observer_, OnDiscoveryFinished(A<DialService*>())).Times(1); in TEST_F() 109 EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(1); in TEST_F() 126 EXPECT_CALL(mock_observer_, in TEST_F() 135 EXPECT_CALL(mock_observer_, OnDiscoveryFinished(A<DialService*>())).Times(1); in TEST_F()
|
/external/chromium/chrome/browser/sync/notifier/ |
D | invalidation_notifier_unittest.cc | 38 invalidation_notifier_->AddObserver(&mock_observer_); in SetUp() 42 invalidation_notifier_->RemoveObserver(&mock_observer_); in TearDown() 50 StrictMock<MockSyncNotifierObserver> mock_observer_; member in sync_notifier::__anon8058631d0111::InvalidationNotifierTest 64 EXPECT_CALL(mock_observer_, OnNotificationStateChange(true)); in TEST_F() 65 EXPECT_CALL(mock_observer_, StoreState("new_fake_state")); in TEST_F() 66 EXPECT_CALL(mock_observer_, OnIncomingNotification(type_payloads)); in TEST_F() 67 EXPECT_CALL(mock_observer_, OnNotificationStateChange(false)); in TEST_F()
|
D | non_blocking_invalidation_notifier_unittest.cc | 38 invalidation_notifier_->AddObserver(&mock_observer_); in SetUp() 42 invalidation_notifier_->RemoveObserver(&mock_observer_); in TearDown() 56 StrictMock<MockSyncNotifierObserver> mock_observer_; member in sync_notifier::__anon15a64a2f0111::NonBlockingInvalidationNotifierTest
|
/external/chromium_org/chrome/browser/profiles/ |
D | profile_list_desktop_unittest.cc | 59 mock_observer_.reset(new MockObserver()); in GetAvatarMenu() 65 mock_observer_.get(), in GetAvatarMenu() 74 int change_count() const { return mock_observer_->change_count(); } in change_count() 78 scoped_ptr<MockObserver> mock_observer_; member in __anon487616800111::ProfileListDesktopTest
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
D | profile_list_chromeos_unittest.cc | 100 mock_observer_.reset(new MockObserver()); in GetAvatarMenu() 106 mock_observer_.get(), in GetAvatarMenu() 120 int change_count() const { return mock_observer_->change_count(); } in change_count() 124 scoped_ptr<MockObserver> mock_observer_; member in chromeos::ProfileListChromeOSTest
|