Home
last modified time | relevance | path

Searched refs:ON_CALL (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium/testing/gmock/test/
Dgmock_link_test.h393 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
474 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
481 ON_CALL(mock, VoidFromString(A<char*>())).WillByDefault(Return()); in TEST()
489 ON_CALL(mock, VoidFromString(Eq(p))).WillByDefault(Return()); in TEST()
490 ON_CALL(mock, VoidFromString(const_cast<char*>("y"))) in TEST()
498 ON_CALL(mock, VoidFromFloat(Lt(1.0f))).WillByDefault(Return()); in TEST()
499 ON_CALL(mock, VoidFromFloat(Gt(1.0f))).WillByDefault(Return()); in TEST()
500 ON_CALL(mock, VoidFromFloat(Le(1.0f))).WillByDefault(Return()); in TEST()
501 ON_CALL(mock, VoidFromFloat(Ge(1.0f))).WillByDefault(Return()); in TEST()
502 ON_CALL(mock, VoidFromFloat(Ne(1.0f))).WillByDefault(Return()); in TEST()
[all …]
Dgmock_output_test_.cc206 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
208 ON_CALL(foo_, Bar2(1, _)) in TEST_F()
218 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
220 ON_CALL(foo_, Bar2(1, _)) in TEST_F()
233 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
235 ON_CALL(foo_, Bar2(1, _)) in TEST_F()
243 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
258 ON_CALL(*foo1, Bar(_, _, _)).WillByDefault(Return('a')); in TEST_F()
Dgmock-spec-builders_test.cc185 ON_CALL(cc, Method()); in TEST()
192 ON_CALL(cc, Method()).WillByDefault(Return(42)); in TEST()
218 ON_CALL(*pa++, DoA(_)); in TEST()
226 ON_CALL(a, DoA(n++)); in TEST()
235 ON_CALL(a, DoA(5)) in TEST()
237 ON_CALL(a, DoA(_)) in TEST()
246 ON_CALL(a, ReturnResult(_)) in TEST()
257 ON_CALL(a, DoA(5)); in TEST()
266 ON_CALL(a, DoA(5)) in TEST()
693 ON_CALL(b, DoB(1)) in TEST()
[all …]
Dgmock_leak_test_.cc75 ON_CALL(*foo, DoThis()).WillByDefault(Return()); in TEST()
88 ON_CALL(*foo1, DoThis()).WillByDefault(Return()); in TEST()
Dgmock-nice-strict_test.cc127 ON_CALL(*nice_foo, DoThis()) in TEST()
239 ON_CALL(*strict_foo, DoThis()) in TEST()
Dgmock-internal-utils_test.cc546 ON_CALL(mock, TestMethod()); in OnCallLogger()
569 ON_CALL(mock, TestMethodArg(_)); in OnCallAnyArgumentLogger()
/external/chromium/chrome/browser/chromeos/cros/
Dmock_cryptohome_library.h28 ON_CALL(*this, AsyncCheckKey(_, _, _)) in SetUp()
31 ON_CALL(*this, AsyncMigrateKey(_, _, _, _)) in SetUp()
34 ON_CALL(*this, AsyncMount(_, _, _, _)) in SetUp()
37 ON_CALL(*this, AsyncMountForBwsi(_)) in SetUp()
40 ON_CALL(*this, AsyncRemove(_, _)) in SetUp()
43 ON_CALL(*this, AsyncDoAutomaticFreeDiskSpaceControl(_)) in SetUp()
Dmock_mount_library.cc35 ON_CALL(*this, AddObserver(_)) in MockMountLibrary()
37 ON_CALL(*this, RemoveObserver(_)) in MockMountLibrary()
39 ON_CALL(*this, disks()) in MockMountLibrary()
/external/chromium/chrome/browser/password_manager/
Dpassword_store_win_unittest.cc182 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
290 ON_CALL(password_consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
455 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
537 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
560 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
583 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
Dpassword_store_default_unittest.cc195 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
309 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
412 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_F()
Dpassword_store_x_unittest.cc381 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_P()
490 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_P()
662 ON_CALL(consumer, OnPasswordStoreRequestDone(_, _)) in TEST_P()
/external/chromium/webkit/glue/media/
Dbuffered_data_source_unittest.cc162 ON_CALL(*loader_, Read(_, _, _ , _)) in InitializeDataSource()
165 ON_CALL(*loader_, instance_size()) in InitializeDataSource()
169 ON_CALL(*loader_, range_supported()) in InitializeDataSource()
172 ON_CALL(*loader_, url()) in InitializeDataSource()
526 ON_CALL(*stop_callback, RunWithParams(_)) in TEST_F()
545 ON_CALL(*loader_, Read(_, _, _ , _)) in TEST_F()
/external/chromium/chrome/browser/chromeos/login/
Dgoogle_authenticator_unittest.cc74 ON_CALL(*loader_, Load(_)) in SetUp()
135 ON_CALL(*user_manager_.get(), IsKnownUser(username_)) in PrepForLogin()
179 ON_CALL(*mock_library_, GetSystemSalt()) in TEST_F()
505 ON_CALL(consumer, OnLoginFailure(_)) in TEST_F()
583 ON_CALL(consumer, OnLoginSuccess(username_, password_, _, _)) in TEST_F()
623 ON_CALL(consumer, OnLoginSuccess(username_, password_, _, _)) in TEST_F()
672 ON_CALL(consumer, OnLoginSuccess(username_, password_, _, _)) in TEST_F()
Dparallel_authenticator_unittest.cc87 ON_CALL(*loader_, Load(_)) in SetUp()
154 ON_CALL(consumer_, OnLoginFailure(_)) in FailOnLoginFailure()
161 ON_CALL(consumer_, OnLoginSuccess(_, _, _, _)) in FailOnLoginSuccess()
168 ON_CALL(consumer_, OnOffTheRecordLoginSuccess()) in FailOnGuestLoginSuccess()
236 ON_CALL(*mock_library_, GetSystemSalt()) in TEST_F()
Dmock_auth_response_handler.cc32 ON_CALL(*this, Handle(_,_)) in MockAuthResponseHandler()
Dcryptohome_op_unittest.cc46 ON_CALL(*loader, Load(_)) in SetUp()
/external/chromium/chrome/browser/sync/glue/
Dsync_backend_host_mock.cc16 ON_CALL(*this, ConfigureDataTypes(testing::_, testing::_, testing::_)). in SyncBackendHostMock()
Ddata_type_manager_mock.cc16 ON_CALL(*this, Configure(testing::_)). in DataTypeManagerMock()
/external/chromium/chrome/browser/policy/
Dmock_configuration_policy_store.cc13 ON_CALL(*this, Apply(_, _)).WillByDefault( in MockConfigurationPolicyStore()
Dasynchronous_policy_loader_unittest.cc91 ON_CALL(*delegate_, Load()).WillByDefault(CreateTestDictionary()); in TEST_F()
/external/chromium/chrome/browser/sync/
Dprofile_sync_factory_mock.cc21 ON_CALL(*this, CreateBookmarkSyncComponents(_, _)). in ProfileSyncFactoryMock()
Dbackend_migrator_unittest.cc38 ON_CALL(service_, GetPreferredDataTypes(_)). in SetUp()
78 ON_CALL(service_, GetPreferredDataTypes(_)). in RemovePreferredType()
Dtest_profile_sync_service.cc36 ON_CALL(*this, RequestNudge(_)).WillByDefault( in SyncBackendHostForProfileSyncTest()
/external/chromium/chrome/browser/extensions/
Dsandboxed_extension_unpacker_unittest.cc50 ON_CALL(*this, OnUnpackSuccess(_, _, _)) in DelegateToFake()
/external/chromium/chrome/browser/
Dplugin_exceptions_table_model_unittest.cc29 ON_CALL(*this, OnItemsRemoved(_, _)) in MockTableModelObserver()

12