HomeSort by relevance Sort by last modified time
    Searched refs:Mock (Results 26 - 50 of 229) sorted by null

12 3 4 5 6 7 8 910

  /frameworks/testing/androidtestlib/tests/src/com/android/test/runner/
AndroidJUnitRunnerTest.java 23 import org.mockito.Mock;
38 @Mock
40 @Mock
  /external/chromium_org/chrome/browser/extensions/
extension_warning_service_unittest.cc 59 testing::Mock::VerifyAndClearExpectations(&warning_service);
64 testing::Mock::VerifyAndClearExpectations(&warning_service);
83 testing::Mock::VerifyAndClearExpectations(&warning_service);
90 testing::Mock::VerifyAndClearExpectations(&warning_service);
104 testing::Mock::VerifyAndClearExpectations(&warning_service);
  /external/chromium_org/chrome/browser/chromeos/policy/
user_cloud_policy_store_chromeos_unittest.cc 32 using testing::Mock;
109 Mock::VerifyAndClearExpectations(&session_manager_client_);
152 Mock::VerifyAndClearExpectations(&session_manager_client_);
181 Mock::VerifyAndClearExpectations(&session_manager_client_);
272 Mock::VerifyAndClearExpectations(&session_manager_client_);
297 Mock::VerifyAndClearExpectations(&session_manager_client_);
302 Mock::VerifyAndClearExpectations(&cryptohome_client_);
318 Mock::VerifyAndClearExpectations(&session_manager_client_);
334 Mock::VerifyAndClearExpectations(&session_manager_client_);
340 Mock::VerifyAndClearExpectations(&observer_)
    [all...]
  /external/chromium_org/content/renderer/media/
video_capture_message_filter_unittest.cc 15 using ::testing::Mock;
66 Mock::VerifyAndClearExpectations(&delegate);
78 Mock::VerifyAndClearExpectations(&delegate);
91 Mock::VerifyAndClearExpectations(&delegate);
100 Mock::VerifyAndClearExpectations(&delegate);
123 Mock::VerifyAndClearExpectations(&delegate1);
129 Mock::VerifyAndClearExpectations(&delegate2);
  /external/chromium_org/chrome/browser/extensions/api/preference/
preference_api_prefs_unittest.cc 290 using testing::Mock;
309 Mock::VerifyAndClearExpectations(&observer);
310 Mock::VerifyAndClearExpectations(&incognito_observer);
317 Mock::VerifyAndClearExpectations(&observer);
318 Mock::VerifyAndClearExpectations(&incognito_observer);
325 Mock::VerifyAndClearExpectations(&observer);
326 Mock::VerifyAndClearExpectations(&incognito_observer);
332 Mock::VerifyAndClearExpectations(&observer);
333 Mock::VerifyAndClearExpectations(&incognito_observer);
340 Mock::VerifyAndClearExpectations(&observer)
    [all...]
  /external/chromium_org/chrome/common/
content_settings_pattern_parser_unittest.cc 33 // WithPathWildcard() is not called for "*". (Need a strict Mock for this
42 ::testing::Mock::VerifyAndClear(&builder);
52 ::testing::Mock::VerifyAndClear(&builder);
61 ::testing::Mock::VerifyAndClear(&builder);
70 ::testing::Mock::VerifyAndClear(&builder);
81 ::testing::Mock::VerifyAndClear(&builder);
90 ::testing::Mock::VerifyAndClear(&builder);
99 ::testing::Mock::VerifyAndClear(&builder);
109 ::testing::Mock::VerifyAndClear(&builder);
118 ::testing::Mock::VerifyAndClear(&builder)
    [all...]
  /external/chromium_org/components/policy/core/common/cloud/
component_cloud_policy_service_unittest.cc 39 using testing::Mock;
167 // core()->RefreshSoon() trigger a FetchPolicy() call on the mock |client_|.
175 Mock::VerifyAndClearExpectations(client_);
265 Mock::VerifyAndClearExpectations(&client_);
266 Mock::VerifyAndClearExpectations(&delegate_);
280 Mock::VerifyAndClearExpectations(client_);
281 Mock::VerifyAndClearExpectations(&delegate_);
288 Mock::VerifyAndClearExpectations(client_);
289 Mock::VerifyAndClearExpectations(&delegate_);
303 Mock::VerifyAndClearExpectations(client_)
    [all...]
  /external/chromium_org/base/prefs/
pref_change_registrar_unittest.cc 14 using testing::Mock;
24 // A mock provider that allows us to capture pref observer changes.
74 Mock::VerifyAndClearExpectations(service());
85 Mock::VerifyAndClearExpectations(service());
96 Mock::VerifyAndClearExpectations(service());
114 Mock::VerifyAndClearExpectations(service());
125 Mock::VerifyAndClearExpectations(service());
176 using testing::Mock;
188 Mock::VerifyAndClearExpectations(this);
193 Mock::VerifyAndClearExpectations(this)
    [all...]
pref_notifier_impl_unittest.cc 20 using testing::Mock;
45 // Mock PrefNotifier that allows tracking of observers and notifications.
193 Mock::VerifyAndClearExpectations(&obs1_);
194 Mock::VerifyAndClearExpectations(&obs2_);
202 Mock::VerifyAndClearExpectations(&obs1_);
203 Mock::VerifyAndClearExpectations(&obs2_);
211 Mock::VerifyAndClearExpectations(&obs1_);
212 Mock::VerifyAndClearExpectations(&obs2_);
220 Mock::VerifyAndClearExpectations(&obs1_);
221 Mock::VerifyAndClearExpectations(&obs2_)
    [all...]
  /external/chromium_org/components/policy/core/common/
async_policy_provider_unittest.cc 20 using testing::Mock;
115 Mock::VerifyAndClearExpectations(loader_);
154 Mock::VerifyAndClearExpectations(&observer);
159 Mock::VerifyAndClearExpectations(&observer);
165 Mock::VerifyAndClearExpectations(&observer);
190 Mock::VerifyAndClearExpectations(&observer);
195 Mock::VerifyAndClearExpectations(&observer);
202 Mock::VerifyAndClearExpectations(&observer);
216 Mock::VerifyAndClearExpectations(&observer);
221 Mock::VerifyAndClearExpectations(&observer)
    [all...]
policy_service_impl_unittest.cc 21 using ::testing::Mock;
181 Mock::VerifyAndClearExpectations(&observer);
186 Mock::VerifyAndClearExpectations(&observer);
201 Mock::VerifyAndClearExpectations(&observer);
212 Mock::VerifyAndClearExpectations(&observer);
226 Mock::VerifyAndClearExpectations(&observer);
231 Mock::VerifyAndClearExpectations(&observer);
282 Mock::VerifyAndClearExpectations(&chrome_observer);
283 Mock::VerifyAndClearExpectations(&extension_observer);
316 Mock::VerifyAndClearExpectations(&chrome_observer)
    [all...]
  /external/chromium_org/chrome/browser/ui/views/
ssl_client_certificate_selector_browsertest.cc 29 using ::testing::Mock;
288 // Let the mock get checked on destruction.
298 Mock::VerifyAndClear(auth_requestor_.get());
309 Mock::VerifyAndClear(auth_requestor_.get());
324 Mock::VerifyAndClear(auth_requestor_.get());
325 Mock::VerifyAndClear(auth_requestor_1_.get());
326 Mock::VerifyAndClear(auth_requestor_2_.get());
328 // Now let the default selection for auth_requestor_ mock get checked on
354 Mock::VerifyAndClear(auth_requestor_.get());
355 Mock::VerifyAndClear(auth_requestor_1_.get())
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
cmd_parser_test.cc 16 using testing::Mock;
21 // Test fixture for CommandParser test - Creates a mock AsyncAPIInterface, and
33 // Adds a DoCommand expectation in the mock.
92 Mock::VerifyAndClearExpectations(api_mock());
110 Mock::VerifyAndClearExpectations(api_mock());
145 Mock::VerifyAndClearExpectations(api_mock());
169 Mock::VerifyAndClearExpectations(api_mock());
189 Mock::VerifyAndClearExpectations(api_mock());
207 Mock::VerifyAndClearExpectations(api_mock());
220 Mock::VerifyAndClearExpectations(api_mock())
    [all...]
  /external/chromium_org/chromeos/dbus/
nfc_client_unittest.cc 21 using ::testing::Mock;
94 // Create the mock bus.
99 // Create the mock proxies.
146 // client connect signals on the mock proxies.
154 // Set expectations that return our mock proxies on demand.
245 Mock::VerifyAndClearExpectations(&mock_manager_observer_);
261 Mock::VerifyAndClearExpectations(&mock_adapter_observer_);
277 Mock::VerifyAndClearExpectations(&mock_adapter_observer_);
294 Mock::VerifyAndClearExpectations(&mock_device_observer_);
311 Mock::VerifyAndClearExpectations(&mock_tag_observer_)
    [all...]
  /external/chromium_org/chrome/browser/sync/
sync_startup_tracker_unittest.cc 15 using ::testing::Mock;
110 Mock::VerifyAndClearExpectations(&observer_);
123 Mock::VerifyAndClearExpectations(&observer_);
124 Mock::VerifyAndClearExpectations(mock_pss_);
143 Mock::VerifyAndClearExpectations(&observer_);
144 Mock::VerifyAndClearExpectations(mock_pss_);
  /external/chromium_org/chrome/browser/chromeos/login/enrollment/
enrollment_screen_browsertest.cc 21 using testing::Mock;
55 Mock::VerifyAndClearExpectations(&mock_screen_observer);
99 Mock::VerifyAndClearExpectations(&mock_screen_observer);
  /external/mockito/src/org/mockito/internal/configuration/injection/scanner/
MockScanner.java 7 import org.mockito.Mock;
38 * Add the scanned and prepared mock instance to the given collection.
53 * @return A prepared set of mock
58 // mock or spies only
81 || null != field.getAnnotation(Mock.class)
82 || null != field.getAnnotation(MockitoAnnotations.Mock.class);
  /external/chromium/chrome/browser/prefs/
pref_set_observer_unittest.cc 64 using testing::Mock;
75 Mock::VerifyAndClearExpectations(&observer);
83 Mock::VerifyAndClearExpectations(&observer);
88 Mock::VerifyAndClearExpectations(&observer);
overlay_persistent_pref_store_unittest.cc 12 using ::testing::Mock;
35 Mock::VerifyAndClearExpectations(&obs);
40 Mock::VerifyAndClearExpectations(&obs);
45 Mock::VerifyAndClearExpectations(&obs);
50 Mock::VerifyAndClearExpectations(&obs);
55 Mock::VerifyAndClearExpectations(&obs);
60 Mock::VerifyAndClearExpectations(&obs);
65 Mock::VerifyAndClearExpectations(&obs);
73 Mock::VerifyAndClearExpectations(&obs);
pref_notifier_impl_unittest.cc 19 using testing::Mock;
166 Mock::VerifyAndClearExpectations(&obs1_);
167 Mock::VerifyAndClearExpectations(&obs2_);
175 Mock::VerifyAndClearExpectations(&obs1_);
176 Mock::VerifyAndClearExpectations(&obs2_);
184 Mock::VerifyAndClearExpectations(&obs1_);
185 Mock::VerifyAndClearExpectations(&obs2_);
193 Mock::VerifyAndClearExpectations(&obs1_);
194 Mock::VerifyAndClearExpectations(&obs2_);
pref_service_unittest.cc 29 using testing::Mock;
72 Mock::VerifyAndClearExpectations(&obs);
78 Mock::VerifyAndClearExpectations(&obs);
84 Mock::VerifyAndClearExpectations(&obs);
89 Mock::VerifyAndClearExpectations(&obs);
127 Mock::VerifyAndClearExpectations(&obs);
138 Mock::VerifyAndClearExpectations(&obs);
139 Mock::VerifyAndClearExpectations(&obs2);
147 Mock::VerifyAndClearExpectations(&obs);
148 Mock::VerifyAndClearExpectations(&obs2)
    [all...]
  /external/chromium_org/cc/layers/
ui_resource_layer_unittest.cc 25 using ::testing::Mock;
44 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
58 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
88 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
  /external/chromium_org/chrome_frame/crash_reporting/
vectored_handler_unittest.cc 80 testing::Mock::VerifyAndClearExpectations(&api);
88 testing::Mock::VerifyAndClearExpectations(&api);
96 testing::Mock::VerifyAndClearExpectations(&api);
105 testing::Mock::VerifyAndClearExpectations(&api);
113 testing::Mock::VerifyAndClearExpectations(&api);
124 testing::Mock::VerifyAndClearExpectations(&api);
132 testing::Mock::VerifyAndClearExpectations(&api);
149 testing::Mock::VerifyAndClearExpectations(&api);
169 testing::Mock::VerifyAndClearExpectations(&api);
  /external/chromium_org/remoting/protocol/
message_reader_unittest.cc 23 using testing::Mock;
122 Mock::VerifyAndClearExpectations(&callback_);
123 Mock::VerifyAndClearExpectations(&socket_);
167 Mock::VerifyAndClearExpectations(&callback_);
168 Mock::VerifyAndClearExpectations(&socket_);
204 Mock::VerifyAndClearExpectations(&callback_);
205 Mock::VerifyAndClearExpectations(&socket_);
248 Mock::VerifyAndClearExpectations(&callback_);
249 Mock::VerifyAndClearExpectations(&socket_);
  /external/chromium/testing/gmock/src/
gmock-spec-builders.cc 32 // Google Mock - a framework for writing C++ mock classes.
54 // Protects the mock object registry (in class Mock), all function
265 // Sets the mock object this mock method belongs to, and registers
266 // this information in the global mock registry. Will be called
267 // whenever an EXPECT_CALL() or ON_CALL() is executed on this mock
275 Mock::Register(mock_obj, this);
278 // Sets the mock object this mock method belongs to, and sets the nam
    [all...]

Completed in 344 milliseconds

12 3 4 5 6 7 8 910