Home
last modified time | relevance | path

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

12345678

/external/chromium_org/chromeos/attestation/
Dattestation_flow_unittest.cc17 using testing::StrictMock;
80 StrictMock<cryptohome::MockAsyncMethodCaller> async_caller; in TEST_F()
86 scoped_ptr<MockServerProxy> proxy(new StrictMock<MockServerProxy>()); in TEST_F()
124 StrictMock<MockObserver> observer; in TEST_F()
142 StrictMock<cryptohome::MockAsyncMethodCaller> async_caller; in TEST_F()
152 scoped_ptr<MockServerProxy> proxy(new StrictMock<MockServerProxy>()); in TEST_F()
154 StrictMock<MockObserver> observer; in TEST_F()
169 StrictMock<cryptohome::MockAsyncMethodCaller> async_caller; in TEST_F()
178 scoped_ptr<MockServerProxy> proxy(new StrictMock<MockServerProxy>()); in TEST_F()
184 StrictMock<MockObserver> observer; in TEST_F()
[all …]
/external/chromium_org/sync/internal_api/public/util/
Dweak_handle_unittest.cc20 using ::testing::StrictMock;
96 StrictMock<Base> b; in TEST_F()
104 StrictMock<Base> b; in TEST_F()
112 StrictMock<Base> b; in TEST_F()
134 StrictMock<Base> b; in TEST_F()
147 StrictMock<Base> b; in TEST_F()
161 StrictMock<Base> b; in TEST_F()
173 StrictMock<Base> b; in TEST_F()
184 StrictMock<Base> b; in TEST_F()
195 StrictMock<Base> b; in TEST_F()
[all …]
/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_org/android_webview/browser/net/
Dandroid_stream_reader_url_request_job_unittest.cc38 using testing::StrictMock;
207 scoped_ptr<StrictMock<MockInputStreamReader> > stream_reader( in TEST_F()
208 new StrictMock<MockInputStreamReader>()); in TEST_F()
252 scoped_ptr<StrictMock<MockInputStreamReader> > stream_reader( in TEST_F()
253 new StrictMock<MockInputStreamReader>()); in TEST_F()
285 scoped_ptr<StrictMock<MockInputStreamReader> > stream_reader( in TEST_F()
286 new StrictMock<MockInputStreamReader>()); in TEST_F()
314 scoped_ptr<StrictMock<MockInputStreamReader> > stream_reader( in TEST_F()
315 new StrictMock<MockInputStreamReader>()); in TEST_F()
338 scoped_ptr<StrictMock<MockInputStreamReader> > stream_reader( in TEST_F()
[all …]
/external/chromium_org/sync/js/
Dsync_js_controller_unittest.cc21 using ::testing::StrictMock;
40 StrictMock<MockJsBackend> mock_backend; in TEST_F()
41 StrictMock<MockJsReplyHandler> mock_reply_handler; in TEST_F()
73 StrictMock<MockJsBackend> mock_backend; in TEST_F()
74 StrictMock<MockJsReplyHandler> mock_reply_handler; in TEST_F()
127 StrictMock<MockJsEventHandler> event_handler1, event_handler2; in TEST_F()
/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()
/external/chromium_org/gpu/command_buffer/service/
Dcommand_buffer_service_unittest.cc19 using testing::StrictMock;
92 scoped_ptr<StrictMock<MockCallbackTest> > change_callback( in TEST_F()
93 new StrictMock<MockCallbackTest>); in TEST_F()
125 scoped_ptr<StrictMock<MockCallbackTest> > change_callback( in TEST_F()
126 new StrictMock<MockCallbackTest>); in TEST_F()
/external/chromium_org/sync/internal_api/public/
Dchange_record_unittest.cc23 using testing::StrictMock;
90 record.extra.reset(new StrictMock<MockExtraChangeRecordData>()); in TEST_F()
101 record.extra.reset(new StrictMock<MockExtraChangeRecordData>()); in TEST_F()
125 scoped_ptr<StrictMock<MockExtraChangeRecordData> > extra( in TEST_F()
126 new StrictMock<MockExtraChangeRecordData>()); in TEST_F()
/external/chromium_org/chrome/browser/ui/views/
Dssl_client_certificate_selector_browsertest.cc30 using ::testing::StrictMock;
87 auth_requestor_ = new StrictMock<SSLClientAuthRequestorMock>( in SetUpOnIOThread()
127 scoped_refptr<StrictMock<SSLClientAuthRequestorMock> > auth_requestor_;
185 auth_requestor_1_ = new StrictMock<SSLClientAuthRequestorMock>( in SetUpOnIOThread()
188 auth_requestor_2_ = new StrictMock<SSLClientAuthRequestorMock>( in SetUpOnIOThread()
212 scoped_refptr<StrictMock<SSLClientAuthRequestorMock> > auth_requestor_1_;
213 scoped_refptr<StrictMock<SSLClientAuthRequestorMock> > auth_requestor_2_;
251 auth_requestor_1_ = new StrictMock<SSLClientAuthRequestorMock>( in SetUpOnIOThread()
273 scoped_refptr<StrictMock<SSLClientAuthRequestorMock> > auth_requestor_1_;
/external/chromium_org/net/dns/
Dmdns_client_unittest.cc20 using ::testing::StrictMock;
394 StrictMock<MockMDnsSocketFactory> socket_factory_;
449 StrictMock<MockListenerDelegate> delegate_privet; in TEST_F()
450 StrictMock<MockListenerDelegate> delegate_printer; in TEST_F()
494 StrictMock<MockListenerDelegate> delegate_privet; in TEST_F()
530 StrictMock<MockListenerDelegate> delegate_printer; in TEST_F()
607 StrictMock<MockListenerDelegate> delegate_irrelevant; in TEST_F()
640 StrictMock<MockListenerDelegate> delegate_privet; in TEST_F()
748 StrictMock<MockListenerDelegate> delegate_irrelevant; in TEST_F()
808 StrictMock<MockListenerDelegate> delegate_privet; in TEST_F()
[all …]
/external/chromium_org/media/filters/
Dvideo_decoder_selector_unittest.cc21 using ::testing::StrictMock;
39 new StrictMock<MockDemuxerStream>(DemuxerStream::VIDEO)), in VideoDecoderSelectorTest()
41 decoder_1_(new StrictMock<MockVideoDecoder>()), in VideoDecoderSelectorTest()
42 decoder_2_(new StrictMock<MockVideoDecoder>()) { in VideoDecoderSelectorTest()
135 scoped_ptr<StrictMock<MockDemuxerStream> > demuxer_stream_;
139 StrictMock<MockVideoDecoder>* decoder_1_;
140 StrictMock<MockVideoDecoder>* decoder_2_;
Daudio_decoder_selector_unittest.cc20 using ::testing::StrictMock;
38 new StrictMock<MockDemuxerStream>(DemuxerStream::AUDIO)), in AudioDecoderSelectorTest()
40 decoder_1_(new StrictMock<MockAudioDecoder>()), in AudioDecoderSelectorTest()
41 decoder_2_(new StrictMock<MockAudioDecoder>()) { in AudioDecoderSelectorTest()
128 scoped_ptr<StrictMock<MockDemuxerStream> > demuxer_stream_;
132 StrictMock<MockAudioDecoder>* decoder_1_;
133 StrictMock<MockAudioDecoder>* decoder_2_;
/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_org/chrome/utility/local_discovery/
Dservice_discovery_client_unittest.cc17 using ::testing::StrictMock;
215 StrictMock<MockServiceWatcherClient> delegate; in TEST_F()
237 StrictMock<MockServiceWatcherClient> delegate; in TEST_F()
257 StrictMock<MockServiceWatcherClient> delegate; in TEST_F()
276 StrictMock<MockServiceWatcherClient> delegate; in TEST_F()
296 StrictMock<MockServiceWatcherClient> delegate; in TEST_F()
323 StrictMock<MockServiceWatcherClient> delegate; in TEST_F()
/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_org/chrome/browser/sync_file_system/
Dsync_file_system_service_unittest.cc40 using ::testing::StrictMock;
131 remote_service_ = new StrictMock<MockRemoteFileSyncService>; in SetUp()
199 StrictMock<MockSyncEventObserver> event_observer; in InitializeAppForObserverTest()
238 StrictMock<MockRemoteFileSyncService>* mock_remote_service() { in mock_remote_service()
242 StrictMock<MockLocalChangeProcessor>* mock_local_change_processor() { in mock_local_change_processor()
259 StrictMock<MockRemoteFileSyncService>* remote_service_;
260 StrictMock<MockLocalChangeProcessor> local_change_processor_;
310 StrictMock<MockSyncStatusObserver> status_observer; in TEST_F()
/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_;
/external/chromium_org/chrome_frame/test/
Dautomation_client_mock.h18 using testing::StrictMock;
112 void ForwardTo(StrictMock<MockAutomationProxy> *p) { in ForwardTo()
116 StrictMock<MockAutomationProxy>* proxy_;
142 StrictMock<MockAutomationProxy> mock_proxy_;
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
Dpush_messaging_apitest.cc27 using ::testing::StrictMock;
143 scoped_ptr<StrictMock<MockInvalidationMapper> > mapper( in IN_PROC_BROWSER_TEST_F()
144 new StrictMock<MockInvalidationMapper>); in IN_PROC_BROWSER_TEST_F()
145 StrictMock<MockInvalidationMapper>* unsafe_mapper = mapper.get(); in IN_PROC_BROWSER_TEST_F()
/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_org/chrome/browser/safe_browsing/
Dclient_side_detection_host_unittest.cc45 using ::testing::StrictMock;
205 csd_service_.reset(new StrictMock<MockClientSideDetectionService>()); in SetUp()
210 new StrictMock<MockSafeBrowsingDatabaseManager>(sb_service); in SetUp()
211 ui_manager_ = new StrictMock<MockSafeBrowsingUIManager>(sb_service); in SetUp()
396 scoped_ptr<StrictMock<MockClientSideDetectionService> > csd_service_;
397 scoped_refptr<StrictMock<MockSafeBrowsingUIManager> > ui_manager_;
398 scoped_refptr<StrictMock<MockSafeBrowsingDatabaseManager> > database_manager_;
406 new StrictMock<MockBrowserFeatureExtractor>( in TEST_F()
419 new StrictMock<MockBrowserFeatureExtractor>( in TEST_F()
456 new StrictMock<MockBrowserFeatureExtractor>( in TEST_F()
[all …]
Dprotocol_manager_unittest.cc315 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F()
352 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F()
393 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F()
441 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F()
488 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F()
536 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F()
587 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F()
635 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F()
682 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F()
731 testing::StrictMock<MockProtocolDelegate> test_delegate; in TEST_F()
[all …]
/external/chromium/chrome/browser/sync/notifier/
Dnon_blocking_invalidation_notifier_unittest.cc24 using ::testing::StrictMock;
56 StrictMock<MockSyncNotifierObserver> mock_observer_;

12345678