/external/chromium/chrome/browser/policy/ |
file_based_policy_provider_unittest.cc | 34 EXPECT_CALL(*provider_delegate, GetLastModification()).WillRepeatedly( 37 EXPECT_CALL(*provider_delegate, Load()).WillOnce(Return( 44 EXPECT_CALL(*provider_delegate, Load()).WillOnce(Return(policies)); 49 EXPECT_CALL(*store_, Apply(policy::kPolicySyncDisabled, _)).Times(1); 57 EXPECT_CALL(*provider_delegate, GetLastModification()).WillRepeatedly( 60 EXPECT_CALL(*provider_delegate, Load()).WillOnce(Return( 68 EXPECT_CALL(*provider_delegate, Load()).WillOnce(Return( 75 EXPECT_CALL(*provider_delegate, Load()).WillOnce(Return(policies)); 78 EXPECT_CALL(*store_, Apply(policy::kPolicySyncDisabled, _)).Times(1);
|
/external/chromium/chrome/browser/sync/glue/ |
frontend_data_type_controller_unittest.cc | 101 EXPECT_CALL(*dtc_mock_, StartModels()).WillOnce(Return(true)); 104 EXPECT_CALL(*profile_sync_factory_, CreateBookmarkSyncComponents(_, _)). 110 EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). 112 EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). 114 EXPECT_CALL(*model_associator_, AssociateModels()). 116 EXPECT_CALL(*dtc_mock_, RecordAssociationTime(_)); 120 EXPECT_CALL(service_, ActivateDataType(_, _)); 121 EXPECT_CALL(start_callback_, Run(result,_)); 125 EXPECT_CALL(*dtc_mock_, CleanupState()); 126 EXPECT_CALL(service_, DeactivateDataType(_, _)) [all...] |
autofill_data_type_controller_unittest.cc | 106 EXPECT_CALL(profile_, GetPersonalDataManager()). 108 EXPECT_CALL(*(personal_data_manager_.get()), IsDataLoaded()). 110 EXPECT_CALL(profile_, GetWebDataService(_)). 117 EXPECT_CALL(profile_sync_factory_, 122 EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). 124 EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). 126 EXPECT_CALL(*model_associator_, AssociateModels()). 128 EXPECT_CALL(service_, ActivateDataType(_, _)); 129 EXPECT_CALL(*change_processor_, IsRunning()).WillRepeatedly(Return(true)); 133 EXPECT_CALL(service_, DeactivateDataType(_, _)) [all...] |
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
write_from_file_operation_unittest.cc | 31 EXPECT_CALL(manager, OnProgress(kDummyExtensionId, _, _)).Times(0); 32 EXPECT_CALL(manager, OnComplete(kDummyExtensionId)).Times(0); 33 EXPECT_CALL(manager, OnError(kDummyExtensionId,
|
/external/chromium/testing/gmock/test/ |
gmock-spec-builders_test.cc | 124 EXPECT_CALL(incomplete, ByRefFunc(_)) 160 // Tests that EXPECT_CALL and ON_CALL compile in a presence of macro 199 EXPECT_CALL(cc, Method()); 206 EXPECT_CALL(cc, Method()).WillOnce(Return(42)); 272 // Tests that EXPECT_CALL evaluates its arguments exactly once as 278 EXPECT_CALL(*pa++, DoA(_)); 287 EXPECT_CALL(a, DoA(n++)); 292 // Tests that the syntax of EXPECT_CALL() is enforced at run time. 297 EXPECT_CALL(a, DoA(5)) 299 EXPECT_CALL(a, DoA(6) [all...] |
/external/chromium_org/chrome_frame/test/ |
navigation_test.cc | 48 EXPECT_CALL(acc_observer, OnAccDocLoad(_)).Times(testing::AnyNumber()); 55 EXPECT_CALL(ie_mock_, OnLoad(IN_IE, StrEq(GetSimplePageUrl()))) 60 EXPECT_CALL(acc_observer, OnAccValueChange(_, _, GetAnchorPageUrl(0))) 66 EXPECT_CALL(ie_mock_, OnLoad(in_cf, StrEq(GetAnchorPageUrl(0)))) 75 EXPECT_CALL(acc_observer, OnAccDocLoad(_)).Times(testing::AnyNumber()); 83 EXPECT_CALL(ie_mock_, OnLoad(IN_IE, StrEq(GetSimplePageUrl()))) 88 EXPECT_CALL(acc_observer, OnAccValueChange(_, _, GetAnchorPageUrl(1))) 94 EXPECT_CALL(ie_mock_, OnLoad(in_cf, StrEq(GetAnchorPageUrl(1)))) 111 EXPECT_CALL(ie_mock_, OnLoad(in_cf, StrEq(GetSimplePageUrl()))) 115 EXPECT_CALL(ie_mock_, OnLoad(in_cf, StrEq(GetSimplePageUrl())) [all...] |
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
update_screen_browsertest.cc | 76 EXPECT_CALL(*mock_screen_observer_, ShowCurrentScreen()) 78 EXPECT_CALL(*mock_screen_observer_, GetErrorScreen()) 141 EXPECT_CALL(*mock_screen_observer_, OnExit(ScreenObserver::UPDATE_NOUPDATE)) 178 EXPECT_CALL(*mock_screen_observer_, 185 EXPECT_CALL(*mock_screen_observer_, 198 EXPECT_CALL(*mock_screen_observer_, 219 EXPECT_CALL(*mock_screen_observer_, 226 EXPECT_CALL(*mock_screen_observer_, 239 EXPECT_CALL(*mock_error_screen_actor_, 242 EXPECT_CALL(*mock_error_screen_actor_ [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
bookmark_data_type_controller_unittest.cc | 117 EXPECT_CALL(*history_service_, 119 EXPECT_CALL(model_load_callback_, Run(_, _)); 123 EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). 125 EXPECT_CALL(*profile_sync_factory_, CreateBookmarkSyncComponents(_, _)); 126 EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). 128 EXPECT_CALL(*model_associator_, AssociateModels(_, _)). 130 EXPECT_CALL(service_, ActivateDataType(_, _, _)); 134 EXPECT_CALL(service_, DeactivateDataType(_)); 135 EXPECT_CALL(*model_associator_, DisassociateModels()). 169 EXPECT_CALL(start_callback_, Run(DataTypeController::OK, _, _)) [all...] |
frontend_data_type_controller_unittest.cc | 103 EXPECT_CALL(*dtc_mock_.get(), StartModels()).WillOnce(Return(true)); 104 EXPECT_CALL(model_load_callback_, Run(_, _)); 107 EXPECT_CALL(*profile_sync_factory_, CreateBookmarkSyncComponents(_, _)). 113 EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). 115 EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). 117 EXPECT_CALL(*model_associator_, AssociateModels(_, _)). 119 EXPECT_CALL(*dtc_mock_.get(), RecordAssociationTime(_)); 123 EXPECT_CALL(service_, ActivateDataType(_, _, _)); 124 EXPECT_CALL(start_callback_, Run(result, _, _)); 128 EXPECT_CALL(*dtc_mock_.get(), CleanUpState()) [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
cloud_policy_service_unittest.cc | 65 EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); 76 EXPECT_CALL(client_, 89 EXPECT_CALL(store_, Store(_)).Times(0); 96 EXPECT_CALL(*this, OnPolicyRefresh(_)).Times(0); 100 EXPECT_CALL(client_, FetchPolicy()).Times(1); 109 EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); 118 EXPECT_CALL(*this, OnPolicyRefresh(true)).Times(1); 126 EXPECT_CALL(client_, FetchPolicy()).Times(0); 127 EXPECT_CALL(*this, OnPolicyRefresh(false)).Times(1); 135 EXPECT_CALL(*this, OnPolicyRefresh(_)).Times(0) [all...] |
cloud_policy_client_unittest.cc | 102 EXPECT_CALL(status_provider_, GetDeviceStatus(_)) 104 EXPECT_CALL(status_provider_, GetSessionStatus(_)) 114 EXPECT_CALL(observer_, OnRegistrationStateChanged(_)); 133 EXPECT_CALL(service_, 137 EXPECT_CALL(service_, StartJob(dm_protocol::kValueRequestRegister, 145 EXPECT_CALL(service_, 149 EXPECT_CALL(service_, StartJob(dm_protocol::kValueRequestPolicy, 156 EXPECT_CALL(service_, 160 EXPECT_CALL(service_, StartJob(dm_protocol::kValueRequestUnregister, 166 EXPECT_CALL(service_ [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
gpu_scheduler_unittest.cc | 54 EXPECT_CALL(*command_buffer_, GetTransferBuffer(kTransferBufferId)) 56 EXPECT_CALL(*command_buffer_, SetGetOffset(0)); 86 EXPECT_CALL(*command_buffer_, GetState()) 89 EXPECT_CALL(*command_buffer_, SetParseError(_)) 99 EXPECT_CALL(*command_buffer_, SetGetOffset(2)); 104 EXPECT_CALL(*command_buffer_, GetTransferBuffer(kTransferBufferId)) 106 EXPECT_CALL(*command_buffer_, SetGetOffset(0)); 122 EXPECT_CALL(*command_buffer_, GetState()) 124 EXPECT_CALL(*command_buffer_, SetGetOffset(2)); 126 EXPECT_CALL(*decoder_, DoCommand(7, 1, &buffer_[0]) [all...] |
/external/chromium_org/media/base/ |
pipeline_unittest.cc | 109 EXPECT_CALL(*demuxer_, GetStream(_)) 112 EXPECT_CALL(*demuxer_, GetStartTime()) 130 EXPECT_CALL(callbacks_, OnStop()); 141 EXPECT_CALL(callbacks_, OnDurationChange()); 142 EXPECT_CALL(*demuxer_, Initialize(_, _, _)) 149 EXPECT_CALL(*demuxer_, GetStream(stream->type())) 168 EXPECT_CALL(*video_renderer_, Initialize(stream, _, _, _, _, _, _, _, _)) 170 EXPECT_CALL(*video_renderer_, SetPlaybackRate(0.0f)); 173 EXPECT_CALL(*video_renderer_, Preroll(demuxer_->GetStartTime(), _)) 175 EXPECT_CALL(*video_renderer_, Play(_) [all...] |
/external/chromium/chrome/browser/sync/ |
sync_ui_util_unittest.cc | 27 EXPECT_CALL(service, HasSyncSetupCompleted()) 29 EXPECT_CALL(service, QueryDetailedSyncStatus()) 32 EXPECT_CALL(service, unrecoverable_error_detected()) 35 EXPECT_CALL(service, GetLastSyncedTimeString())
|
/external/chromium_org/chrome/browser/sync/ |
about_sync_util_unittest.cc | 33 EXPECT_CALL(service, HasSyncSetupCompleted()) 35 EXPECT_CALL(service, QueryDetailedSyncStatus(_)) 38 EXPECT_CALL(service, HasUnrecoverableError()) 41 EXPECT_CALL(service, GetLastSyncedTimeString())
|
/external/chromium_org/components/dom_distiller/core/ |
fake_distiller.cc | 14 EXPECT_CALL(*this, Die()).Times(testing::AnyNumber());
|
/external/chromium/base/nix/ |
xdg_util_unittest.cc | 37 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 38 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) 47 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 48 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) 57 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 58 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) 67 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 68 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _))
|
/external/chromium_org/base/nix/ |
xdg_util_unittest.cc | 37 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 38 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) 47 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 48 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) 57 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 58 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _)) 67 EXPECT_CALL(getter, GetVar(_, _)).WillRepeatedly(Return(false)); 68 EXPECT_CALL(getter, GetVar(StrEq("DESKTOP_SESSION"), _))
|
/external/chromium_org/cc/test/ |
layer_test_common.h | 10 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times((expect)); \ 17 EXPECT_CALL(*layer_tree_host_, SetNeedsUpdateLayers()).Times((expect)); \
|
/external/chromium_org/jingle/notifier/listener/ |
xmpp_push_client_unittest.cc | 66 EXPECT_CALL(mock_observer_, OnIncomingNotification(_)); 73 EXPECT_CALL(mock_observer_, OnNotificationsEnabled()); 81 EXPECT_CALL(mock_observer_, 89 EXPECT_CALL(mock_observer_, 97 EXPECT_CALL(mock_observer_, 108 EXPECT_CALL(mock_observer_, OnNotificationsEnabled()); 119 EXPECT_CALL(mock_observer_, OnNotificationsEnabled()); 136 EXPECT_CALL(mock_observer_, OnNotificationsEnabled());
|
/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
extension_test.cpp | 20 EXPECT_CALL(mDirectiveHandler, 23 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); 46 EXPECT_CALL(mDirectiveHandler, 49 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); 61 EXPECT_CALL(mDirectiveHandler, 64 EXPECT_CALL(mDiagnostics, print(pp::Diagnostics::PP_EOF_IN_DIRECTIVE, _, _)); 88 EXPECT_CALL(mDirectiveHandler, handleExtension(_, _, _)).Times(0); 90 EXPECT_CALL(mDiagnostics, print(param.id, pp::SourceLocation(0, 1), _));
|
/external/chromium/chrome/browser/ |
background_mode_manager_unittest.cc | 42 EXPECT_CALL(manager, CreateStatusTrayIcon()); 43 EXPECT_CALL(manager, RemoveStatusTrayIcon()); 59 EXPECT_CALL(manager, EnableLaunchOnStartup(true)); 60 EXPECT_CALL(manager, CreateStatusTrayIcon()); 61 EXPECT_CALL(manager, RemoveStatusTrayIcon()); 62 EXPECT_CALL(manager, EnableLaunchOnStartup(false));
|
/external/chromium/chrome/browser/chromeos/login/ |
signed_settings_helper_unittest.cc | 114 EXPECT_CALL(m_, GetStatus(_)) 117 EXPECT_CALL(m_, has_cached_policy()) 121 EXPECT_CALL(m_, cached_policy()) 124 EXPECT_CALL(m_, set_cached_policy(A<const em::PolicyData&>())) 129 EXPECT_CALL(m_, StartSigningAttempt(_, A<OwnerManager::Delegate*>())) 131 EXPECT_CALL(cb, OnWhitelistCompleted(SignedSettings::SUCCESS, _)) 134 EXPECT_CALL(cb, OnCheckWhitelistCompleted(SignedSettings::SUCCESS, _)) 137 EXPECT_CALL(m_, StartSigningAttempt(_, A<OwnerManager::Delegate*>())) 139 EXPECT_CALL(cb, OnUnwhitelistCompleted(SignedSettings::SUCCESS, _)) 142 EXPECT_CALL(m_, StartSigningAttempt(_, A<OwnerManager::Delegate*>()) [all...] |
/external/chromium/chrome/browser/chromeos/status/ |
power_menu_button_browsertest.cc | 52 EXPECT_CALL(*mock_power_library_, battery_is_present()) 55 EXPECT_CALL(*mock_power_library_, battery_percentage()) 58 EXPECT_CALL(*mock_power_library_, battery_fully_charged()) 61 EXPECT_CALL(*mock_power_library_, line_power_on()) 64 EXPECT_CALL(*mock_power_library_, battery_time_to_empty()) 67 EXPECT_CALL(*mock_power_library_, battery_time_to_full()) 74 EXPECT_CALL(*mock_power_library_, battery_is_present()) 77 EXPECT_CALL(*mock_power_library_, battery_percentage()) 80 EXPECT_CALL(*mock_power_library_, battery_fully_charged()) 83 EXPECT_CALL(*mock_power_library_, line_power_on() [all...] |
/external/chromium_org/remoting/client/plugin/ |
normalizing_input_filter_cros_unittest.cc | 72 EXPECT_CALL(stub, InjectKeyEvent(EqualsKeyEvent(kUsbLeftOsKey, true))); 73 EXPECT_CALL(stub, InjectKeyEvent(EqualsKeyEvent(kUsbLeftOsKey, false))); 75 EXPECT_CALL(stub, InjectKeyEvent(EqualsKeyEvent(kUsbRightOsKey, true))); 76 EXPECT_CALL(stub, InjectKeyEvent(EqualsKeyEvent(kUsbRightOsKey, false))); 93 EXPECT_CALL(stub, InjectKeyEvent(EqualsKeyEvent(kUsbLeftOsKey, true))); 94 EXPECT_CALL(stub, InjectKeyEvent(EqualsKeyEvent(kUsbLeftOsKey, true))); 95 EXPECT_CALL(stub, InjectKeyEvent(EqualsKeyEvent(kUsbLeftOsKey, true))); 115 EXPECT_CALL(stub, InjectKeyEvent(EqualsKeyEvent(kUsbFunctionKey, true))); 116 EXPECT_CALL(stub, InjectKeyEvent(EqualsKeyEvent(kUsbFunctionKey, false))); 135 EXPECT_CALL(stub, InjectKeyEvent(EqualsKeyEvent(kUsbExtendedKey, true))) [all...] |