/external/chromium/testing/gmock/test/ |
gmock-nice-strict_test.cc | 58 using testing::StrictMock; 211 StrictMock<MockFoo> strict_foo; 219 StrictMock<MockFoo> strict_foo; 228 StrictMock<MockFoo> strict_foo; 237 StrictMock<MockFoo>* const strict_foo = new StrictMock<MockFoo>; 246 // Tests that StrictMock works with a mock class that has a 249 StrictMock<MockBar> strict_bar("hi"); 256 // Tests that StrictMock works with a mock class that has a 10-ary 259 StrictMock<MockBar> strict_bar('a', 'b', "c", "d", 'e', 'f' [all...] |
/external/chromium/chrome/browser/sync/notifier/ |
non_blocking_invalidation_notifier_unittest.cc | 24 using ::testing::StrictMock; 56 StrictMock<MockSyncNotifierObserver> mock_observer_;
|
invalidation_notifier_unittest.cc | 25 using ::testing::StrictMock; 50 StrictMock<MockSyncNotifierObserver> mock_observer_;
|
chrome_invalidation_client_unittest.cc | 20 using ::testing::StrictMock; 100 StrictMock<MockListener> mock_listener_; 101 StrictMock<MockStateWriter> mock_state_writer_;
|
/external/chromium/chrome/browser/sync/ |
js_event_handler_list_unittest.cc | 16 using ::testing::StrictMock; 22 StrictMock<MockJsBackend> backend; 31 StrictMock<MockJsEventHandler> handler1, handler2; 78 StrictMock<MockJsBackend> backend; 87 StrictMock<MockJsEventHandler> handler1, handler2;
|
profile_sync_service_unittest.cc | 36 using testing::StrictMock; 156 StrictMock<MockJsEventHandler> event_handler; 179 StrictMock<MockJsEventHandler> event_handler; 219 StrictMock<MockJsEventHandler> event_handler; 277 StrictMock<MockJsEventHandler> event_handler;
|
js_sync_manager_observer_unittest.cc | 23 using ::testing::StrictMock; 29 StrictMock<MockJsEventRouter> mock_router_;
|
profile_sync_service_bookmark_unittest.cc | 40 using testing::StrictMock; 508 StrictMock<MockUnrecoverableErrorHandler> mock_unrecoverable_error_handler_; [all...] |
/external/chromium/testing/gmock/include/gmock/ |
gmock-generated-nice-strict.h | 34 // Implements class templates NiceMock and StrictMock. 39 // EXPECT_CALL specs), and StrictMock<MockFoo> is a subclass of 42 // NiceMock and StrictMock "inherits" the constructors of their 49 // StrictMock<MockFoo> only works for mock methods defined using the 53 // particular, nesting NiceMock and StrictMock is NOT supported. 164 class StrictMock : public MockClass { 168 StrictMock() { 174 explicit StrictMock(const A1& a1) : MockClass(a1) { 179 StrictMock(const A1& a1, const A2& a2) : MockClass(a1, a2) { 185 StrictMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) [all...] |
gmock-spec-builders.h | 395 friend class StrictMock; [all...] |
/external/chromium/chrome/browser/ui/webui/ |
settings_browsertest.cc | 13 using ::testing::StrictMock; 75 mock_core_options_handler_.reset(new StrictMock<MockCoreOptionsHandler>()); 86 scoped_ptr<StrictMock<MockCoreOptionsHandler> > mock_core_options_handler_;
|
sync_internals_ui_unittest.cc | 29 using testing::StrictMock; 126 StrictMock<ProfileSyncServiceMock> profile_sync_service_mock_; 127 StrictMock<browser_sync::MockJsFrontend> mock_js_backend_;
|
/external/chromium/chrome/browser/chromeos/cros/ |
cros_mock.cc | 34 using ::testing::StrictMock; 69 loader_ = new StrictMock<MockLibraryLoader>(); 80 mock_cryptohome_library_ = new StrictMock<MockCryptohomeLibrary>(); 88 mock_input_method_library_ = new StrictMock<MockInputMethodLibrary>(); 96 mock_network_library_ = new StrictMock<MockNetworkLibrary>(); 104 mock_power_library_ = new StrictMock<MockPowerLibrary>(); 112 mock_screen_lock_library_ = new StrictMock<MockScreenLockLibrary>(); 121 new StrictMock<MockSpeechSynthesisLibrary>(); 129 mock_touchpad_library_ = new StrictMock<MockTouchpadLibrary>();
|
/external/chromium/base/ |
bind_unittest.cc | 19 using ::testing::StrictMock; 209 StrictMock<NoRef> no_ref_; 210 StrictMock<HasRef> has_ref_; 213 StrictMock<NoRef> static_func_mock_; 216 static StrictMock<NoRef>* static_func_mock_ptr; 222 StrictMock<NoRef>* BindTest::static_func_mock_ptr; 442 // StrictMock<T> is a derived class of T. So, we use StrictMock<HasRef> and 443 // StrictMock<NoRef> to test that SupportsAddRefAndRelease works over 445 EXPECT_TRUE(internal::SupportsAddRefAndRelease<StrictMock<HasRef> >::value) [all...] |
/external/chromium/chrome/browser/sync/engine/ |
syncapi_unittest.cc | 63 using testing::StrictMock; 542 record.extra.reset(new StrictMock<MockExtraChangeRecordData>()); 554 record.extra.reset(new StrictMock<MockExtraChangeRecordData>()); 580 scoped_ptr<StrictMock<MockExtraChangeRecordData> > extra( 581 new StrictMock<MockExtraChangeRecordData>()); 656 sync_notifier_mock_.reset(new StrictMock<SyncNotifierMock>()); 776 scoped_ptr<StrictMock<SyncNotifierMock> > sync_notifier_mock_; 780 StrictMock<SyncManagerObserverMock> observer_; 793 StrictMock<MockJsEventRouter> event_router; 809 StrictMock<MockJsEventHandler> event_handler [all...] |
/external/chromium/webkit/glue/media/ |
simple_data_source_unittest.cc | 27 using ::testing::StrictMock; 151 StrictMock<media::MockFilterHost> host_; 211 StrictMock<media::MockStatusCallback>* callback = 212 new StrictMock<media::MockStatusCallback>();
|
buffered_data_source_unittest.cc | 29 using ::testing::StrictMock; 414 StrictMock<media::MockFilterHost> host_;
|
buffered_resource_loader_unittest.cc | 32 using ::testing::StrictMock;
|
/external/chromium/chrome/browser/extensions/ |
extension_tts_apitest.cc | 25 using ::testing::StrictMock; 59 StrictMock<MockExtensionTtsPlatformImpl> mock_platform_impl_;
|
/external/chromium/chrome/browser/sync/glue/ |
frontend_data_type_controller_unittest.cc | 31 using testing::StrictMock; 91 dtc_mock_ = new StrictMock<FrontendDataTypeControllerMock>();
|
autofill_profile_model_associator_unittest.cc | 216 ::testing::StrictMock<MockAutofillProfileModelAssociator> associator;
|
extension_util_unittest.cc | 22 using ::testing::StrictMock; 402 StrictMock<MockExtensionService> mock_extension_service;
|
/external/chromium/net/url_request/ |
url_request_job_tracker_unittest.cc | 25 using testing::StrictMock; 157 testing::StrictMock<MockJobObserver> observer;
|
/external/chromium/chrome/browser/safe_browsing/ |
client_side_detection_host_unittest.cc | 38 using ::testing::StrictMock; 130 csd_service_.reset(new StrictMock<MockClientSideDetectionService>( 132 sb_service_ = new StrictMock<MockSafeBrowsingService>(); 209 scoped_ptr<StrictMock<MockClientSideDetectionService> > csd_service_; 210 scoped_refptr<StrictMock<MockSafeBrowsingService> > sb_service_;
|
/external/ceres-solver/internal/ceres/gmock/ |
gmock.h | [all...] |