/external/chromium/testing/gmock/test/ |
gmock-nice-strict_test.cc | 57 using testing::NiceMock; 114 NiceMock<MockFoo> nice_foo; 125 NiceMock<MockFoo>* const nice_foo = new NiceMock<MockFoo>; 138 NiceMock<MockFoo> nice_foo; 158 NiceMock<MockFoo> nice_foo; 166 NiceMock<MockFoo> nice_foo; 172 // Tests that NiceMock works with a mock class that has a non-default 175 NiceMock<MockBar> nice_bar("hi"); 182 // Tests that NiceMock works with a mock class that has a 10-ar [all...] |
/external/chromium/chrome/browser/sync/ |
sync_ui_util_unittest.cc | 14 using ::testing::NiceMock; 18 NiceMock<ProfileSyncServiceMock> service;
|
/external/chromium_org/chrome/browser/sync/ |
about_sync_util_unittest.cc | 13 using ::testing::NiceMock; 26 NiceMock<ProfileSyncServiceMock> service(profile.get());
|
sync_global_error_unittest.cc | 23 using ::testing::NiceMock; 99 void VerifySyncGlobalErrorResult(NiceMock<ProfileSyncServiceMock>* service, 162 NiceMock<ProfileSyncServiceMock> service(profile.get());
|
/external/chromium/testing/gmock/include/gmock/ |
gmock-generated-nice-strict.h | 34 // Implements class templates NiceMock and StrictMock. 37 // NiceMock<MockFoo> is a subclass of MockFoo that allows 42 // NiceMock and StrictMock "inherits" the constructors of their 44 // write NiceMock<MockFoo>(5, "a") to construct a nice mock where 48 // A known limitation is that NiceMock<MockFoo> and 53 // particular, nesting NiceMock and StrictMock is NOT supported. 68 class NiceMock : public MockClass { 72 NiceMock() { 80 explicit NiceMock(const A1& a1) : MockClass(a1) { 85 NiceMock(const A1& a1, const A2& a2) : MockClass(a1, a2) [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
shared_change_processor_unittest.cc | 27 using ::testing::NiceMock; 119 NiceMock<ProfileSyncComponentsFactoryMock> sync_factory_; 120 NiceMock<ProfileSyncServiceMock> sync_service_;
|
/external/chromium_org/chrome/browser/extensions/api/bluetooth/ |
bluetooth_event_router_unittest.cc | 103 testing::NiceMock<device::MockBluetoothProfile> mock_audio_profile_; 104 testing::NiceMock<device::MockBluetoothProfile> mock_health_profile_; 155 testing::NiceMock<device::MockBluetoothDevice> mock_device( 157 scoped_refptr<testing::NiceMock<device::MockBluetoothSocket> > mock_socket( 158 new testing::NiceMock<device::MockBluetoothSocket>()); 194 testing::NiceMock<device::MockBluetoothDevice> mock_device( 196 scoped_refptr<testing::NiceMock<device::MockBluetoothSocket> > mock_socket( 197 new testing::NiceMock<device::MockBluetoothSocket>());
|
bluetooth_apitest.cc | 47 profile1_.reset(new testing::NiceMock<MockBluetoothProfile>()); 48 profile2_.reset(new testing::NiceMock<MockBluetoothProfile>()); 60 device1_.reset(new testing::NiceMock<MockBluetoothDevice>( 63 device2_.reset(new testing::NiceMock<MockBluetoothDevice>( 77 scoped_ptr<testing::NiceMock<MockBluetoothDevice> > device1_; 78 scoped_ptr<testing::NiceMock<MockBluetoothDevice> > device2_; 79 scoped_ptr<testing::NiceMock<MockBluetoothProfile> > profile1_; 80 scoped_ptr<testing::NiceMock<MockBluetoothProfile> > profile2_;
|
/external/chromium/webkit/glue/media/ |
simple_data_source_unittest.cc | 23 using ::testing::NiceMock; 65 frame_.reset(new NiceMock<MockWebFrame>()); 66 url_loader_ = new NiceMock<MockWebURLLoader>(); 149 NiceMock<MockWebURLLoader>* url_loader_; 152 scoped_ptr<NiceMock<MockWebFrame> > frame_; 181 frame_.reset(new NiceMock<MockWebFrame>()); 182 url_loader_ = new NiceMock<MockWebURLLoader>();
|
buffered_data_source_unittest.cc | 30 using ::testing::NiceMock; 122 frame_.reset(new NiceMock<MockWebFrame>()); 128 scoped_refptr<NiceMock<MockBufferedResourceLoader> > first_loader( 129 new NiceMock<MockBufferedResourceLoader>()); 149 loader_ = new NiceMock<MockBufferedResourceLoader>(); 297 NiceMock<MockBufferedResourceLoader> *new_loader = 298 new NiceMock<MockBufferedResourceLoader>(); 369 NiceMock<MockBufferedResourceLoader> *new_loader = 370 new NiceMock<MockBufferedResourceLoader>(); 410 scoped_refptr<NiceMock<MockBufferedResourceLoader> > loader_ [all...] |
/external/chromium_org/chrome/browser/download/ |
all_download_item_notifier_unittest.cc | 12 using testing::NiceMock; 72 NiceMock<content::MockDownloadItem> item_; 75 NiceMock<MockNotifierObserver> observer_;
|
/external/chromium/chrome/browser/ui/webui/ |
sync_internals_ui_unittest.cc | 27 using testing::NiceMock; 56 profile_.reset(new NiceMock<ProfileMock>()); 68 NiceMock<ProfileMock>* GetProfileMock() { 69 return static_cast<NiceMock<ProfileMock>*>(profile());
|
/external/chromium_org/media/filters/ |
file_data_source_unittest.cc | 16 using ::testing::NiceMock; 66 NiceMock<MockDataSourceHost> host;
|
/external/chromium_org/chrome/browser/ui/gtk/extensions/ |
media_galleries_dialog_gtk_unittest.cc | 15 using ::testing::NiceMock; 60 NiceMock<MediaGalleriesDialogControllerMock> controller(dummy_extension()); 91 NiceMock<MediaGalleriesDialogControllerMock> controller(dummy_extension()); 122 NiceMock<MediaGalleriesDialogControllerMock> controller(dummy_extension()); 156 NiceMock<MediaGalleriesDialogControllerMock> controller(dummy_extension());
|
/external/chromium_org/chrome/browser/extensions/api/sync_file_system/ |
sync_file_system_apitest.cc | 45 mock_remote_service_ = new ::testing::NiceMock<MockRemoteFileSyncService>; 61 ::testing::NiceMock<MockRemoteFileSyncService>* mock_remote_service() { 66 ::testing::NiceMock<MockRemoteFileSyncService>* mock_remote_service_;
|
/external/chromium_org/content/renderer/media/android/ |
media_info_loader_unittest.cc | 18 using ::testing::NiceMock; 60 url_loader_ = new NiceMock<MockWebURLLoader>(); 110 NiceMock<MockWebURLLoader>* url_loader_;
|
/external/chromium_org/net/http/ |
http_pipelined_host_forced_unittest.cc | 15 using testing::NiceMock; 53 NiceMock<MockHostDelegate> delegate_;
|
/external/chromium/chrome/browser/chromeos/login/ |
login_browsertest.cc | 27 using ::testing::NiceMock;
|
/external/chromium_org/chrome/browser/chromeos/login/ |
login_manager_test.cc | 32 mock_login_utils_ = new testing::NiceMock<MockLoginUtils>();
|
/external/chromium_org/chrome/browser/profiles/ |
gaia_info_update_service_unittest.cc | 22 using ::testing::NiceMock; 73 NiceMock<ProfileDownloaderMock> downloader(&service); 109 NiceMock<ProfileDownloaderMock> downloader(&service); 133 NiceMock<ProfileDownloaderMock> downloader(&service);
|
/external/chromium_org/net/tools/quic/test_tools/ |
quic_test_utils.cc | 31 : QuicConnection(guid, address, new testing::NiceMock<MockHelper>(),
|
/external/chromium_org/chrome/service/cloud_print/ |
printer_job_handler_unittest.cc | 31 using ::testing::NiceMock; 317 friend class scoped_refptr<NiceMock<MockPrintServerWatcher> >; 338 friend class scoped_refptr<NiceMock<MockPrinterWatcher> >; 364 friend class scoped_refptr<NiceMock<MockJobSpooler> >; 421 friend class scoped_refptr<NiceMock<MockPrintSystem> >; 460 scoped_refptr<NiceMock<MockPrintSystem> > print_system_; 483 print_system_ = new NiceMock<MockPrintSystem>(); 635 : job_spooler_(new NiceMock<MockJobSpooler>()), 636 printer_watcher_(new NiceMock<MockPrinterWatcher>()), 637 print_server_watcher_(new NiceMock<MockPrintServerWatcher>()) [all...] |
/external/chromium_org/chrome_frame/test/ |
infobar_unittests.cc | 116 testing::NiceMock<MockTopLevelWindow> window; 152 testing::NiceMock<MockTopLevelWindow> window; 243 testing::NiceMock<MockTopLevelWindow> window; 258 testing::NiceMock<MockTopLevelWindow> window; 260 testing::NiceMock<MockChildWindow> child_window; 262 testing::NiceMock<MockChildWindow> child_window2; 263 testing::NiceMock<MockChildWindow> child_window3; 446 testing::NiceMock<MockTopLevelWindow> window; 553 testing::NiceMock<MockTopLevelWindow> window; 555 testing::NiceMock<MockChildWindow> child_window [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
autofill_popup_controller_unittest.cc | 26 using ::testing::NiceMock; 173 new NiceMock<MockAutofillExternalDelegate>( 179 new testing::NiceMock<TestAutofillPopupController>( 203 scoped_ptr<NiceMock<MockAutofillExternalDelegate> > external_delegate_; 204 testing::NiceMock<TestAutofillPopupController>* autofill_popup_controller_; 485 testing::NiceMock<TestAutofillPopupController>* test_controller = 486 new testing::NiceMock<TestAutofillPopupController>(delegate.GetWeakPtr(), 619 NiceMock<MockAutofillExternalDelegate> external_delegate(
|
/external/chromium_org/sync/test/engine/ |
syncer_command_test.h | 29 using ::testing::NiceMock; 196 NiceMock<MockDebugInfoGetter> mock_debug_info_getter_;
|