Home
last modified time | relevance | path

Searched refs:StrictMock (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium/testing/gmock/test/
Dgmock-nice-strict_test.cc58 using testing::StrictMock;
211 StrictMock<MockFoo> strict_foo; in TEST()
219 StrictMock<MockFoo> strict_foo; in TEST()
228 StrictMock<MockFoo> strict_foo; in TEST()
237 StrictMock<MockFoo>* const strict_foo = new StrictMock<MockFoo>; in TEST()
249 StrictMock<MockBar> strict_bar("hi"); in TEST()
259 StrictMock<MockBar> strict_bar('a', 'b', "c", "d", 'e', 'f', in TEST()
277 StrictMock< ::Mock> strict; in TEST()
/external/chromium/testing/gmock/include/gmock/
Dgmock-generated-nice-strict.h164 class StrictMock : public MockClass {
168 StrictMock() { in StrictMock() function
174 explicit StrictMock(const A1& a1) : MockClass(a1) { in StrictMock() function
179 StrictMock(const A1& a1, const A2& a2) : MockClass(a1, a2) { in StrictMock() function
185 StrictMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) { in StrictMock() function
191 StrictMock(const A1& a1, const A2& a2, const A3& a3, in StrictMock() function
198 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in StrictMock() function
206 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in StrictMock() function
214 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in StrictMock() function
223 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4, in StrictMock() function
[all …]
Dgmock-generated-nice-strict.h.pump37 // Implements class templates NiceMock and StrictMock.
42 // EXPECT_CALL specs), and StrictMock<MockFoo> is a subclass of
45 // NiceMock and StrictMock "inherits" the constructors of their
52 // StrictMock<MockFoo> only works for mock methods defined using the
56 // particular, nesting NiceMock and StrictMock is NOT supported.
109 class StrictMock : public MockClass {
113 StrictMock() {
119 explicit StrictMock(const A1& a1) : MockClass(a1) {
127 StrictMock($for j, [[const A$j& a$j]]) : MockClass($for j, [[a$j]]) {
134 virtual ~StrictMock() {
[all …]
/external/chromium/chrome/browser/sync/
Djs_event_handler_list_unittest.cc16 using ::testing::StrictMock;
22 StrictMock<MockJsBackend> backend; in TEST_F()
31 StrictMock<MockJsEventHandler> handler1, handler2; in TEST_F()
78 StrictMock<MockJsBackend> backend; in TEST_F()
87 StrictMock<MockJsEventHandler> handler1, handler2; in TEST_F()
Dprofile_sync_service_unittest.cc36 using testing::StrictMock;
156 StrictMock<MockJsEventHandler> event_handler; in TEST_F()
179 StrictMock<MockJsEventHandler> event_handler; in TEST_F()
219 StrictMock<MockJsEventHandler> event_handler; in TEST_F()
277 StrictMock<MockJsEventHandler> event_handler; in TEST_F()
Djs_sync_manager_observer_unittest.cc23 using ::testing::StrictMock;
29 StrictMock<MockJsEventRouter> mock_router_;
/external/chromium/chrome/browser/chromeos/cros/
Dcros_mock.cc34 using ::testing::StrictMock;
69 loader_ = new StrictMock<MockLibraryLoader>(); in InitMockLibraryLoader()
80 mock_cryptohome_library_ = new StrictMock<MockCryptohomeLibrary>(); in InitMockCryptohomeLibrary()
88 mock_input_method_library_ = new StrictMock<MockInputMethodLibrary>(); in InitMockInputMethodLibrary()
96 mock_network_library_ = new StrictMock<MockNetworkLibrary>(); in InitMockNetworkLibrary()
104 mock_power_library_ = new StrictMock<MockPowerLibrary>(); in InitMockPowerLibrary()
112 mock_screen_lock_library_ = new StrictMock<MockScreenLockLibrary>(); in InitMockScreenLockLibrary()
121 new StrictMock<MockSpeechSynthesisLibrary>(); in InitMockSpeechSynthesisLibrary()
129 mock_touchpad_library_ = new StrictMock<MockTouchpadLibrary>(); in InitMockTouchpadLibrary()
/external/chromium/chrome/browser/sync/engine/
Dsyncapi_unittest.cc63 using testing::StrictMock;
542 record.extra.reset(new StrictMock<MockExtraChangeRecordData>()); in TEST_F()
554 record.extra.reset(new StrictMock<MockExtraChangeRecordData>()); in TEST_F()
580 scoped_ptr<StrictMock<MockExtraChangeRecordData> > extra( in TEST_F()
581 new StrictMock<MockExtraChangeRecordData>()); in TEST_F()
656 sync_notifier_mock_.reset(new StrictMock<SyncNotifierMock>()); in SetUp()
776 scoped_ptr<StrictMock<SyncNotifierMock> > sync_notifier_mock_;
780 StrictMock<SyncManagerObserverMock> observer_;
793 StrictMock<MockJsEventRouter> event_router; in TEST_F()
809 StrictMock<MockJsEventHandler> event_handler; in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/webui/
Dsettings_browsertest.cc13 using ::testing::StrictMock;
75 mock_core_options_handler_.reset(new StrictMock<MockCoreOptionsHandler>()); in SetUpOnMainThread()
86 scoped_ptr<StrictMock<MockCoreOptionsHandler> > mock_core_options_handler_;
Dsync_internals_ui_unittest.cc29 using testing::StrictMock;
126 StrictMock<ProfileSyncServiceMock> profile_sync_service_mock_;
127 StrictMock<browser_sync::MockJsFrontend> mock_js_backend_;
/external/chromium/base/
Dbind_unittest.cc19 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;
445 EXPECT_TRUE(internal::SupportsAddRefAndRelease<StrictMock<HasRef> >::value); in TEST_F()
446 EXPECT_FALSE(internal::SupportsAddRefAndRelease<StrictMock<NoRef> >::value); in TEST_F()
/external/chromium/chrome/browser/sync/notifier/
Dnon_blocking_invalidation_notifier_unittest.cc24 using ::testing::StrictMock;
56 StrictMock<MockSyncNotifierObserver> mock_observer_;
Dinvalidation_notifier_unittest.cc25 using ::testing::StrictMock;
50 StrictMock<MockSyncNotifierObserver> mock_observer_;
Dchrome_invalidation_client_unittest.cc20 using ::testing::StrictMock;
100 StrictMock<MockListener> mock_listener_;
101 StrictMock<MockStateWriter> mock_state_writer_;
/external/chromium/webkit/glue/media/
Dsimple_data_source_unittest.cc27 using ::testing::StrictMock;
151 StrictMock<media::MockFilterHost> host_;
211 StrictMock<media::MockStatusCallback>* callback = in TEST_F()
212 new StrictMock<media::MockStatusCallback>(); in TEST_F()
Dbuffered_data_source_unittest.cc29 using ::testing::StrictMock;
414 StrictMock<media::MockFilterHost> host_;
Dbuffered_resource_loader_unittest.cc32 using ::testing::StrictMock;
/external/chromium/net/url_request/
Durl_request_job_tracker_unittest.cc25 using testing::StrictMock;
157 testing::StrictMock<MockJobObserver> observer; in AssertJobTrackerCallbacks()
/external/chromium/chrome/browser/safe_browsing/
Dclient_side_detection_host_unittest.cc38 using ::testing::StrictMock;
130 csd_service_.reset(new StrictMock<MockClientSideDetectionService>( in SetUp()
132 sb_service_ = new StrictMock<MockSafeBrowsingService>(); in SetUp()
209 scoped_ptr<StrictMock<MockClientSideDetectionService> > csd_service_;
210 scoped_refptr<StrictMock<MockSafeBrowsingService> > sb_service_;
/external/chromium/chrome/browser/extensions/
Dextension_tts_apitest.cc25 using ::testing::StrictMock;
59 StrictMock<MockExtensionTtsPlatformImpl> mock_platform_impl_;
/external/chromium/chrome/browser/sync/glue/
Dfrontend_data_type_controller_unittest.cc31 using testing::StrictMock;
91 dtc_mock_ = new StrictMock<FrontendDataTypeControllerMock>(); in SetUp()
Dextension_util_unittest.cc22 using ::testing::StrictMock;
402 StrictMock<MockExtensionService> mock_extension_service; in TEST_F()
Dautofill_profile_model_associator_unittest.cc216 ::testing::StrictMock<MockAutofillProfileModelAssociator> associator; in TEST_F()
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field_cell_unittest.mm26 using ::testing::StrictMock;
143 StrictMock<MockDecoration> mock_decoration;
Dautocomplete_text_field_editor_unittest.mm23 using ::testing::StrictMock;
171 StrictMock<MockAutocompleteTextFieldObserver> field_observer_;

12