OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Mock
(Results
101 - 125
of
229
) sorted by null
1
2
3
4
5
6
7
8
9
10
/external/chromium_org/chrome/browser/extensions/api/idle/
idle_api_unittest.cc
309
testing::
Mock
::VerifyAndClearExpectations(event_delegate_);
338
testing::
Mock
::VerifyAndClearExpectations(event_delegate_);
354
testing::
Mock
::VerifyAndClearExpectations(event_delegate_);
385
testing::
Mock
::VerifyAndClearExpectations(event_delegate_);
402
testing::
Mock
::VerifyAndClearExpectations(event_delegate_);
412
testing::
Mock
::VerifyAndClearExpectations(event_delegate_);
442
testing::
Mock
::VerifyAndClearExpectations(event_delegate_);
524
testing::
Mock
::VerifyAndClearExpectations(event_delegate_);
538
testing::
Mock
::VerifyAndClearExpectations(event_delegate_);
/external/chromium_org/apps/
shell_window_geometry_cache_unittest.cc
262
using testing::
Mock
;
283
Mock
::VerifyAndClearExpectations(&observer);
290
Mock
::VerifyAndClearExpectations(&observer);
297
Mock
::VerifyAndClearExpectations(&observer);
304
Mock
::VerifyAndClearExpectations(&observer);
312
Mock
::VerifyAndClearExpectations(&observer);
/external/chromium_org/chrome/browser/chromeos/policy/
network_configuration_updater_unittest.cc
34
using testing::
Mock
;
339
Mock
::VerifyAndClearExpectations(certificate_importer_);
437
Mock
::VerifyAndClearExpectations(&network_config_handler_);
438
Mock
::VerifyAndClearExpectations(certificate_importer_);
454
Mock
::VerifyAndClearExpectations(&network_config_handler_);
455
Mock
::VerifyAndClearExpectations(certificate_importer_);
device_cloud_policy_manager_chromeos_unittest.cc
44
using testing::
Mock
;
306
Mock
::VerifyAndClearExpectations(&device_management_service_);
321
Mock
::VerifyAndClearExpectations(&device_management_service_);
344
Mock
::VerifyAndClearExpectations(&device_management_service_);
353
Mock
::VerifyAndClearExpectations(&device_management_service_);
/external/chromium_org/components/policy/core/common/cloud/
external_policy_data_updater_unittest.cc
26
using testing::
Mock
;
144
Mock
::VerifyAndClearExpectations(&callback_listener_);
439
Mock
::VerifyAndClearExpectations(&callback_listener_);
470
Mock
::VerifyAndClearExpectations(&callback_listener_);
606
Mock
::VerifyAndClearExpectations(&callback_listener_);
634
Mock
::VerifyAndClearExpectations(&callback_listener_);
657
Mock
::VerifyAndClearExpectations(&callback_listener_);
701
Mock
::VerifyAndClearExpectations(&callback_listener_);
729
Mock
::VerifyAndClearExpectations(&callback_listener_);
752
Mock
::VerifyAndClearExpectations(&callback_listener_)
[
all
...]
user_cloud_policy_store_unittest.cc
22
using testing::
Mock
;
200
Mock
::VerifyAndClearExpectations(external_data_manager_.get());
201
Mock
::VerifyAndClearExpectations(&observer_);
238
Mock
::VerifyAndClearExpectations(external_data_manager_.get());
239
Mock
::VerifyAndClearExpectations(&observer_);
/cts/tests/tests/admin/src/android/admin/cts/
DeviceAdminActivationTest.java
38
import org.mockito.
Mock
;
65
@
Mock
private OnActivityResultListener mMockOnActivityResultListener;
/external/chromium_org/chrome/browser/policy/cloud/
cloud_policy_manager_browsertest.cc
38
using testing::
Mock
;
71
//
Mock
a signed-in user. This is used by the UserCloudPolicyStore to pass
134
Mock
::VerifyAndClearExpectations(&observer);
/external/chromium_org/remoting/protocol/
authenticator_test_base.cc
128
testing::
Mock
::VerifyAndClearExpectations(&client_callback_);
129
testing::
Mock
::VerifyAndClearExpectations(&host_callback_);
/external/chromium_org/sync/js/
sync_js_controller_unittest.cc
20
using ::testing::
Mock
;
94
Mock
::VerifyAndClearExpectations(&mock_backend);
/external/chromium_org/chrome/browser/content_settings/
content_settings_provider_unittest.cc
14
TEST(ContentSettingsProviderTest,
Mock
) {
/external/chromium_org/chrome/browser/signin/
signin_tracker_unittest.cc
32
using ::testing::
Mock
;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
crashlogs_unittest.py
30
from webkitpy.thirdparty.
mock
import
Mock
82
files['/Users/
mock
/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150718_quadzen.crash'] = older_mock_crash_report
83
files['/Users/
mock
/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150719_quadzen.crash'] = mock_crash_report
84
files['/Users/
mock
/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150720_quadzen.crash'] = newer_mock_crash_report
85
files['/Users/
mock
/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150721_quadzen.crash'] = None
86
files['/Users/
mock
/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150722_quadzen.crash'] = other_process_mock_crash_report
87
files['/Users/
mock
/Library/Logs/DiagnosticReports/DumpRenderTree_2011-06-13-150723_quadzen.crash'] = misformatted_mock_crash_report
/external/mockito/src/org/mockito/
MockitoAnnotations.java
29
* <li>Minimizes repetitive
mock
creation code.</li>
31
* <li>Makes the verification error easier to read because <b>field name</b> is used to identify the
mock
.</li>
37
* @
Mock
private ArticleCalculator calculator;
38
* @
Mock
private ArticleDatabase database;
39
* @
Mock
private UserProvider userProvider;
67
* Use top-level {@link org.mockito.
Mock
} annotation instead
69
* When @
Mock
annotation was implemented as an inner class then users experienced problems with autocomplete features in IDEs.
70
* Hence @
Mock
was made a top-level class.
73
* Typically, you can just <b>search:</b> import org.mockito.MockitoAnnotations.
Mock
; <b>and replace with:</b> import org.mockito.
Mock
;
123
Object
mock
= annotationEngine.createMockFor(annotation, field);
local
[
all
...]
/external/chromium_org/chrome/browser/extensions/api/content_settings/
content_settings_store_unittest.cc
13
using ::testing::
Mock
;
134
Mock
::VerifyAndClear(&observer);
174
Mock
::VerifyAndClear(&observer);
/external/chromium_org/chrome/browser/extensions/api/web_request/
web_request_time_tracker_unittest.cc
101
using testing::
Mock
;
130
Mock
::VerifyAndClearExpectations(delegate);
145
Mock
::VerifyAndClearExpectations(delegate);
/external/chromium_org/content/renderer/media/
webaudiosourceprovider_impl_unittest.cc
53
testing::
Mock
::VerifyAndClear(mock_sink_.get());
66
testing::
Mock
::VerifyAndClear(mock_sink_.get());
67
testing::
Mock
::VerifyAndClear(this);
/packages/apps/Camera/tests/src/com/android/camera/activity/
CameraTestCase.java
37
import static com.google.testing.littlemock.LittleMock.
mock
;
45
import com.google.testing.littlemock.
Mock
;
61
@
Mock
private CameraProxy mMockBackCamera;
62
@
Mock
private CameraProxy mMockFrontCamera;
140
//
Mock
takePicture call.
145
//
Mock
autoFocus call.
/external/chromium_org/chrome/browser/profile_resetter/
automatic_profile_resetter_delegate_unittest.cc
279
testing::
Mock
::VerifyAndClearExpectations(&mock_target);
289
testing::
Mock
::VerifyAndClearExpectations(&mock_target);
339
testing::
Mock
::VerifyAndClearExpectations(&mock_target);
348
testing::
Mock
::VerifyAndClearExpectations(&mock_target);
476
testing::
Mock
::VerifyAndClearExpectations(&mock_target);
507
testing::
Mock
::VerifyAndClearExpectations(&mock_target);
539
testing::
Mock
::VerifyAndClearExpectations(&mock_target);
/external/chromium_org/sync/engine/
sync_scheduler_unittest.cc
33
using testing::
Mock
;
289
Mock
::VerifyAndClearExpectations(syncer());
363
Mock
::VerifyAndClearExpectations(syncer());
432
Mock
::VerifyAndClearExpectations(syncer());
443
Mock
::VerifyAndClearExpectations(syncer());
478
Mock
::VerifyAndClearExpectations(syncer());
508
Mock
::VerifyAndClearExpectations(syncer());
530
Mock
::VerifyAndClearExpectations(syncer());
838
Mock
::VerifyAndClearExpectations(syncer());
846
Mock
::VerifyAndClearExpectations(syncer())
[
all
...]
/external/chromium_org/chrome/browser/sync/glue/
non_ui_data_type_controller_unittest.cc
37
using testing::
Mock
;
67
NonUIDataTypeControllerMock*
mock
)
72
mock_(
mock
) {}
110
// We
mock
the following methods because their default implementations do
420
Mock
::VerifyAndClearExpectations(&profile_sync_factory_);
421
Mock
::VerifyAndClearExpectations(&service_);
422
Mock
::VerifyAndClearExpectations(change_processor_.get());
423
Mock
::VerifyAndClearExpectations(dtc_mock_.get());
460
Mock
::VerifyAndClearExpectations(&profile_sync_factory_);
/external/chromium_org/chrome/browser/download/
download_status_updater_unittest.cc
18
using testing::
Mock
;
168
Mock
::VerifyAndClearExpectations(*it);
172
Mock
::VerifyAndClearExpectations(*sit);
download_danger_prompt_browsertest.cc
60
testing::
Mock
::VerifyAndClearExpectations(&download_);
/external/chromium_org/components/policy/core/common/
configuration_policy_provider_test.cc
19
using ::testing::
Mock
;
329
Mock
::VerifyAndClearExpectations(&observer);
338
Mock
::VerifyAndClearExpectations(&observer);
/external/chromium_org/jingle/glue/
thread_wrapper_unittest.cc
16
using ::testing::
Mock
;
265
Mock
::VerifyAndClearExpectations(&handler1_);
297
Mock
::VerifyAndClearExpectations(&handler1_);
Completed in 1680 milliseconds
1
2
3
4
5
6
7
8
9
10