/external/chromium/chrome/browser/automation/ |
H A D | automation_tab_helper_unittest.cc | 65 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(_)); 66 EXPECT_CALL(check, Call()); 79 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(contents())) 81 EXPECT_CALL(check, Call()); 82 EXPECT_CALL(mock_observer_, OnNoMorePendingLoads(contents())) 95 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(contents())); 96 EXPECT_CALL(mock_observer_, OnNoMorePendingLoads(contents())); 108 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(contents())) 110 EXPECT_CALL(check, Call()); 111 EXPECT_CALL(mock_observer [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
H A D | network_screen_browsertest.cc | 59 EXPECT_CALL(*mock_login_library_, EmitLoginPromptReady()) 61 EXPECT_CALL(*mock_login_library_,RequestRetrieveProperty(_,_,_)) 67 EXPECT_CALL(*mock_network_library_, ethernet_connected()) 70 EXPECT_CALL(*mock_network_library_, ethernet_connecting()) 73 EXPECT_CALL(*mock_network_library_, wifi_connected()) 76 EXPECT_CALL(*mock_network_library_, FindWifiDevice()) 78 EXPECT_CALL(*mock_network_library_, FindEthernetDevice()) 84 EXPECT_CALL(*mock_network_library_, wifi_available()) 87 EXPECT_CALL(*mock_network_library_, wifi_enabled()) 90 EXPECT_CALL(*mock_network_library [all...] |
H A D | 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 [all...] |
H A D | wizard_controller_browsertest.cc | 56 EXPECT_CALL(*mock_var, Show()).Times(0); \ 57 EXPECT_CALL(*mock_var, Hide()).Times(0); 127 EXPECT_CALL(*mock_network_screen_, Show()).Times(1); 151 EXPECT_CALL(*mock_network_screen_, Hide()).Times(1); 152 EXPECT_CALL(*mock_eula_screen_, Show()).Times(1); 156 EXPECT_CALL(*mock_eula_screen_, Hide()).Times(1); 157 EXPECT_CALL(*mock_update_screen_, StartUpdate()).Times(1); 158 EXPECT_CALL(*mock_update_screen_, Show()).Times(1); 164 EXPECT_CALL(*mock_update_screen_, Hide()).Times(0); 165 EXPECT_CALL(*mock_eula_screen [all...] |
H A D | update_screen_browsertest.cc | 42 EXPECT_CALL(*mock_login_library_, EmitLoginPromptReady()) 51 EXPECT_CALL(*mock_update_library_, AddObserver(_)) 53 EXPECT_CALL(*mock_update_library_, RemoveObserver(_)) 55 EXPECT_CALL(*mock_update_library_, RequestUpdateCheck(_,_)) 60 EXPECT_CALL(*mock_network_library_, Connected()) 64 EXPECT_CALL(*mock_network_library_, AddNetworkManagerObserver(_)) 67 EXPECT_CALL(*mock_network_library_, FindWifiDevice()) 69 EXPECT_CALL(*mock_network_library_, FindEthernetDevice()) 108 EXPECT_CALL(*mock_update_library_, status()) 111 EXPECT_CALL(*mock_screen_observe [all...] |
/external/chromium/chrome/browser/extensions/ |
H A D | extension_tts_apitest.cc | 64 EXPECT_CALL(mock_platform_impl_, StopSpeaking()) 66 EXPECT_CALL(mock_platform_impl_, Speak(_, _, _, _, _, _)) 68 EXPECT_CALL(mock_platform_impl_, IsSpeaking()) 75 EXPECT_CALL(mock_platform_impl_, StopSpeaking()) 77 EXPECT_CALL(mock_platform_impl_, Speak(_, _, _, _, _, _)) 79 EXPECT_CALL(mock_platform_impl_, IsSpeaking()) 89 EXPECT_CALL(mock_platform_impl_, StopSpeaking()) 91 EXPECT_CALL(mock_platform_impl_, Speak("text 1", _, _, _, _, _)) 95 EXPECT_CALL(mock_platform_impl_, IsSpeaking()) 101 EXPECT_CALL(mock_platform_impl [all...] |
/external/chromium/chrome/browser/chromeos/cros/ |
H A D | cros_mock.cc | 70 EXPECT_CALL(*loader_, Load(_)) 171 EXPECT_CALL(*mock_input_method_library_, AddObserver(_)) 174 EXPECT_CALL(*mock_input_method_library_, GetActiveInputMethods()) 178 EXPECT_CALL(*mock_input_method_library_, GetSupportedInputMethods()) 182 EXPECT_CALL(*mock_input_method_library_, GetKeyboardOverlayId(_)) 186 EXPECT_CALL(*mock_input_method_library_, current_input_method()) 190 EXPECT_CALL(*mock_input_method_library_, previous_input_method()) 194 EXPECT_CALL(*mock_input_method_library_, current_ime_properties()) 198 EXPECT_CALL(*mock_input_method_library_, GetNumActiveInputMethods()) 202 EXPECT_CALL(*mock_input_method_library [all...] |
/external/chromium/chrome/browser/sync/glue/ |
H A D | bookmark_data_type_controller_unittest.cc | 66 EXPECT_CALL(profile_, GetBookmarkModel()). 68 EXPECT_CALL(bookmark_model_, IsLoaded()).WillRepeatedly(Return(true)); 72 EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). 74 EXPECT_CALL(*profile_sync_factory_, CreateBookmarkSyncComponents(_, _)); 75 EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). 77 EXPECT_CALL(*model_associator_, AssociateModels()). 79 EXPECT_CALL(service_, ActivateDataType(_, _)); 83 EXPECT_CALL(service_, DeactivateDataType(_, _)); 84 EXPECT_CALL(*model_associator_, DisassociateModels()); 105 EXPECT_CALL(start_callback [all...] |
H A D | 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 [all...] |
H A D | 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 [all...] |
H A D | data_type_manager_impl2_unittest.cc | 84 EXPECT_CALL(*dtc, enabled()).WillRepeatedly(Return(true)); 85 EXPECT_CALL(*dtc, type()).WillRepeatedly(Return(syncable::BOOKMARKS)); 86 EXPECT_CALL(*dtc, name()).WillRepeatedly(Return("bookmark")); 92 EXPECT_CALL(*dtc, enabled()).WillRepeatedly(Return(true)); 93 EXPECT_CALL(*dtc, type()).WillRepeatedly(Return(syncable::PREFERENCES)); 94 EXPECT_CALL(*dtc, name()).WillRepeatedly(Return("preference")); 105 EXPECT_CALL(*dtc, enabled()).WillRepeatedly(Return(true)); 106 EXPECT_CALL(*dtc, type()).WillRepeatedly(Return(syncable::PASSWORDS)); 107 EXPECT_CALL(*dtc, name()).WillRepeatedly(Return("passwords")); 112 EXPECT_CALL(*mock_dt [all...] |
H A D | extension_data_type_controller_unittest.cc | 51 EXPECT_CALL(*profile_sync_factory_, CreateExtensionSyncComponents(_, _)). 58 EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). 60 EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). 62 EXPECT_CALL(*model_associator_, AssociateModels()). 67 EXPECT_CALL(service_, ActivateDataType(_, _)); 71 EXPECT_CALL(service_, DeactivateDataType(_, _)); 72 EXPECT_CALL(*model_associator_, DisassociateModels()); 91 EXPECT_CALL(start_callback_, Run(DataTypeController::OK, _)); 100 EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). 102 EXPECT_CALL(start_callback [all...] |
/external/chromium/chrome/browser/sync/ |
H A D | js_event_handler_list_unittest.cc | 34 EXPECT_CALL(backend, SetParentJsEventRouter(&event_handlers)).Times(2); 36 EXPECT_CALL(backend, RemoveParentJsEventRouter()).Times(2); 37 EXPECT_CALL(backend, ProcessMessage("test1", HasArgs(args2), &handler1)); 38 EXPECT_CALL(backend, ProcessMessage("test2", HasArgs(args1), &handler2)); 40 EXPECT_CALL(handler1, HandleJsEvent("reply1", HasArgs(args2))); 41 EXPECT_CALL(handler1, HandleJsEvent("allreply", HasArgs(args1))); 43 EXPECT_CALL(handler2, HandleJsEvent("reply2", HasArgs(args1))); 44 EXPECT_CALL(handler2, HandleJsEvent("allreply", HasArgs(args1))); 45 EXPECT_CALL(handler2, HandleJsEvent("anotherreply2", HasArgs(args2))); 46 EXPECT_CALL(handler [all...] |
H A D | profile_sync_service_startup_unittest.cc | 80 EXPECT_CALL(factory_, CreateDataTypeManager(_, _)). 95 EXPECT_CALL(*data_type_manager, Configure(_)).Times(0); 102 EXPECT_CALL(observer_, OnStateChanged()).Times(AnyNumber()); 111 EXPECT_CALL(*data_type_manager, Configure(_)).Times(3); 112 EXPECT_CALL(*data_type_manager, state()). 114 EXPECT_CALL(*data_type_manager, Stop()).Times(1); 115 EXPECT_CALL(observer_, OnStateChanged()).Times(AnyNumber()); 129 EXPECT_CALL(*data_type_manager, Configure(_)).Times(2); 130 EXPECT_CALL(*data_type_manager, state()). 132 EXPECT_CALL(*data_type_manage [all...] |
H A D | 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/webkit/Source/WebKit/chromium/tests/ |
H A D | CCThreadTaskTest.cpp | 49 EXPECT_CALL(mock, method0()).Times(1); 50 EXPECT_CALL(mock, method1(9)).Times(1); 51 EXPECT_CALL(mock, method2(9, 8)).Times(1); 52 EXPECT_CALL(mock, method3(9, 8, 7)).Times(1); 53 EXPECT_CALL(mock, method4(9, 8, 7, 6)).Times(1);
|
/external/chromium/testing/gmock/test/ |
H A D | gmock_output_test_.cc | 70 EXPECT_CALL(foo_, Bar2(0, _)); 79 EXPECT_CALL(foo_, Bar3(0, _)); 86 EXPECT_CALL(foo_, Bar2(_, _)) 90 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. 94 EXPECT_CALL(foo_, Bar2(0, _)); 101 EXPECT_CALL(foo_, Bar3(0, _)); 108 EXPECT_CALL(foo_, Bar2(0, _)); 115 EXPECT_CALL(foo_, Bar3(0, _)); 130 EXPECT_CALL(foo_, Bar2(_, _)) 132 EXPECT_CALL(foo [all...] |
H A D | 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( [all...] |
/external/chromium/chrome/browser/policy/ |
H A D | 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);
|
H A D | asynchronous_policy_loader_unittest.cc | 59 EXPECT_CALL(*delegate_, Load()).WillOnce(Return(template_dict)); 71 EXPECT_CALL(*delegate_, Load()).WillOnce( 73 EXPECT_CALL(*delegate_, Load()).WillOnce( 92 EXPECT_CALL(*delegate_, Load()).Times(1); 110 EXPECT_CALL(*delegate_, Load()).WillOnce( 112 EXPECT_CALL(*delegate_, Load()).WillOnce( 114 EXPECT_CALL(observer, OnUpdatePolicy()).Times(0); 115 EXPECT_CALL(*delegate_, Load()).WillOnce( 117 EXPECT_CALL(observer, OnUpdatePolicy()).Times(1); 118 EXPECT_CALL(*delegate [all...] |
/external/chromium/base/nix/ |
H A D | 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/chrome/browser/ |
H A D | 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/status/ |
H A D | 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 [all...] |
/external/chromium/chrome/browser/autofill/ |
H A D | autofill_metrics_unittest.cc | 271 EXPECT_CALL(*autofill_manager_->metric_logger(), 273 EXPECT_CALL(*autofill_manager_->metric_logger(), 276 EXPECT_CALL(*autofill_manager_->metric_logger(), 279 EXPECT_CALL(*autofill_manager_->metric_logger(), 282 EXPECT_CALL(*autofill_manager_->metric_logger(), 285 EXPECT_CALL(*autofill_manager_->metric_logger(), 287 EXPECT_CALL(*autofill_manager_->metric_logger(), 290 EXPECT_CALL(*autofill_manager_->metric_logger(), 293 EXPECT_CALL(*autofill_manager_->metric_logger(), 296 EXPECT_CALL(*autofill_manager [all...] |
/external/chromium/chrome/browser/prefs/ |
H A D | pref_change_registrar_unittest.cc | 57 EXPECT_CALL(*service(), 59 EXPECT_CALL(*service(), 67 EXPECT_CALL(*service(), 69 EXPECT_CALL(*service(), 85 EXPECT_CALL(*service(), 92 EXPECT_CALL(*service(), 100 EXPECT_CALL(*service(), 102 EXPECT_CALL(*service(), 108 EXPECT_CALL(*service(), 110 EXPECT_CALL(*servic [all...] |