Home
last modified time | relevance | path

Searched refs:WillByDefault (Results 1 – 25 of 31) 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()
491 .WillByDefault(Return()); 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_.cc207 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
209 .WillByDefault(Return(false)); // Default action #2 in TEST_F()
219 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
221 .WillByDefault(Return(false)); // Default action #2 in TEST_F()
234 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
236 .WillByDefault(Return(false)); // Default action #2 in TEST_F()
244 .WillByDefault(Return(true)); // Default action #1 in TEST_F()
258 ON_CALL(*foo1, Bar(_, _, _)).WillByDefault(Return('a')); in TEST_F()
Dgmock-spec-builders_test.cc192 ON_CALL(cc, Method()).WillByDefault(Return(42)); in TEST()
236 .WillByDefault(Return()); in TEST()
239 .WillByDefault(Return()); in TEST()
249 .WillByDefault(Return(Result())); in TEST()
267 .WillByDefault(Return()) in TEST()
268 .WillByDefault(Return()); in TEST()
694 .WillByDefault(Return(1)); in TEST()
704 .WillByDefault(Return(3)); in TEST()
706 .WillByDefault(Return(2)); in TEST()
708 .WillByDefault(Return(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.cc128 .WillByDefault(Invoke(nice_foo, &MockFoo::Delete)); in TEST()
240 .WillByDefault(Invoke(strict_foo, &MockFoo::Delete)); in TEST()
/external/chromium/chrome/browser/chromeos/cros/
Dmock_cryptohome_library.h29 .WillByDefault( in SetUp()
32 .WillByDefault( in SetUp()
35 .WillByDefault( in SetUp()
38 .WillByDefault( in SetUp()
41 .WillByDefault( in SetUp()
44 .WillByDefault( in SetUp()
Dmock_mount_library.cc36 .WillByDefault(Invoke(this, &MockMountLibrary::AddObserverInternal)); in MockMountLibrary()
38 .WillByDefault(Invoke(this, &MockMountLibrary::RemoveObserverInternal)); in MockMountLibrary()
40 .WillByDefault(Invoke(this, &MockMountLibrary::disksInternal)); in MockMountLibrary()
/external/chromium/chrome/browser/password_manager/
Dpassword_store_win_unittest.cc183 .WillByDefault(QuitUIMessageLoop()); in TEST_F()
291 .WillByDefault(QuitUIMessageLoop()); in TEST_F()
456 .WillByDefault(QuitUIMessageLoop()); in TEST_F()
538 .WillByDefault(QuitUIMessageLoop()); in TEST_F()
561 .WillByDefault(QuitUIMessageLoop()); in TEST_F()
584 .WillByDefault(QuitUIMessageLoop()); in TEST_F()
Dpassword_store_default_unittest.cc196 .WillByDefault(QuitUIMessageLoop()); in TEST_F()
310 .WillByDefault(QuitUIMessageLoop()); in TEST_F()
413 .WillByDefault(QuitUIMessageLoop()); in TEST_F()
Dpassword_store_x_unittest.cc382 .WillByDefault(QuitUIMessageLoop()); in TEST_P()
491 .WillByDefault(QuitUIMessageLoop()); in TEST_P()
663 .WillByDefault(QuitUIMessageLoop()); in TEST_P()
/external/chromium/webkit/glue/media/
Dbuffered_data_source_unittest.cc163 .WillByDefault(DeleteArg<3>()); in InitializeDataSource()
166 .WillByDefault(Return(instance_size)); in InitializeDataSource()
170 .WillByDefault(Return(partial_response)); in InitializeDataSource()
173 .WillByDefault(ReturnRef(gurl_)); in InitializeDataSource()
527 .WillByDefault(Assign(&stop_done_called, true)); in TEST_F()
546 .WillByDefault(DoAll(Assign(&read_called, true), in TEST_F()
/external/chromium/chrome/browser/chromeos/login/
Dgoogle_authenticator_unittest.cc75 .WillByDefault(Return(true)); in SetUp()
136 .WillByDefault(Return(true)); in PrepForLogin()
180 .WillByDefault(Return(salt_v)); in TEST_F()
506 .WillByDefault(Invoke(MockConsumer::OnFailQuitAndFail)); in TEST_F()
584 .WillByDefault(Invoke(MockConsumer::OnSuccessQuitAndFail)); in TEST_F()
624 .WillByDefault(Invoke(MockConsumer::OnSuccessQuitAndFail)); in TEST_F()
673 .WillByDefault(Invoke(MockConsumer::OnSuccessQuitAndFail)); in TEST_F()
Dparallel_authenticator_unittest.cc88 .WillByDefault(Return(true)); in SetUp()
155 .WillByDefault(Invoke(MockConsumer::OnFailQuitAndFail)); in FailOnLoginFailure()
162 .WillByDefault(Invoke(MockConsumer::OnSuccessQuitAndFail)); in FailOnLoginSuccess()
169 .WillByDefault(Invoke(MockConsumer::OnGuestSuccessQuitAndFail)); in FailOnGuestLoginSuccess()
237 .WillByDefault(Return(salt_v)); in TEST_F()
Dmock_auth_response_handler.cc33 .WillByDefault(Invoke(this, &MockAuthResponseHandler::MockNetwork)); in MockAuthResponseHandler()
Dcryptohome_op_unittest.cc47 .WillByDefault(Return(true)); in SetUp()
Donline_attempt_unittest.cc47 .WillByDefault(Return(true)); in SetUp()
/external/chromium/chrome/browser/sync/glue/
Dsync_backend_host_mock.cc17 WillByDefault(InvokeTask()); in SyncBackendHostMock()
Ddata_type_manager_mock.cc17 WillByDefault(testing::DoAll( 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.cc22 WillByDefault( in ProfileSyncFactoryMock()
Dbackend_migrator_unittest.cc39 WillByDefault(SetArgumentPointee<0>(preferred_types_)); in SetUp()
79 WillByDefault(SetArgumentPointee<0>(preferred_types_)); in RemovePreferredType()
Dtest_profile_sync_service.cc36 ON_CALL(*this, RequestNudge(_)).WillByDefault( in SyncBackendHostForProfileSyncTest()
/external/chromium/chrome/browser/extensions/
Dsandboxed_extension_unpacker_unittest.cc51 .WillByDefault(Invoke(::OnUnpackSuccess)); in DelegateToFake()
/external/chromium/chrome/browser/
Dplugin_exceptions_table_model_unittest.cc30 .WillByDefault( in MockTableModelObserver()

12