OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Mock
(Results
76 - 100
of
229
) sorted by null
1
2
3
4
5
6
7
8
9
10
/external/chromium/chrome/browser/extensions/
extension_pref_value_map_unittest.cc
201
using testing::
Mock
;
211
Mock
::VerifyAndClearExpectations(&observer);
216
Mock
::VerifyAndClearExpectations(&observer);
221
Mock
::VerifyAndClearExpectations(&observer);
226
Mock
::VerifyAndClearExpectations(&observer);
231
Mock
::VerifyAndClearExpectations(&observer);
236
Mock
::VerifyAndClearExpectations(&observer);
241
Mock
::VerifyAndClearExpectations(&observer);
249
Mock
::VerifyAndClearExpectations(&observer);
extension_prefs_unittest.cc
820
using testing::
Mock
;
839
Mock
::VerifyAndClearExpectations(&observer);
840
Mock
::VerifyAndClearExpectations(&incognito_observer);
847
Mock
::VerifyAndClearExpectations(&observer);
848
Mock
::VerifyAndClearExpectations(&incognito_observer);
855
Mock
::VerifyAndClearExpectations(&observer);
856
Mock
::VerifyAndClearExpectations(&incognito_observer);
863
Mock
::VerifyAndClearExpectations(&observer);
864
Mock
::VerifyAndClearExpectations(&incognito_observer);
870
Mock
::VerifyAndClearExpectations(&observer)
[
all
...]
/external/chromium/chrome/browser/net/
pref_proxy_config_service_unittest.cc
20
using testing::
Mock
;
62
// A
mock
observer for capturing callbacks.
170
Mock
::VerifyAndClearExpectations(&observer);
182
Mock
::VerifyAndClearExpectations(&observer);
191
Mock
::VerifyAndClearExpectations(&observer);
198
Mock
::VerifyAndClearExpectations(&observer);
207
Mock
::VerifyAndClearExpectations(&observer);
234
Mock
::VerifyAndClearExpectations(&observer);
247
Mock
::VerifyAndClearExpectations(&observer);
258
Mock
::VerifyAndClearExpectations(&observer)
[
all
...]
/external/chromium_org/chrome/browser/extensions/
extension_pref_value_map_unittest.cc
209
using testing::
Mock
;
219
Mock
::VerifyAndClearExpectations(&observer);
224
Mock
::VerifyAndClearExpectations(&observer);
229
Mock
::VerifyAndClearExpectations(&observer);
234
Mock
::VerifyAndClearExpectations(&observer);
239
Mock
::VerifyAndClearExpectations(&observer);
244
Mock
::VerifyAndClearExpectations(&observer);
249
Mock
::VerifyAndClearExpectations(&observer);
257
Mock
::VerifyAndClearExpectations(&observer);
/external/chromium_org/chrome/browser/net/
pref_proxy_config_tracker_impl_unittest.cc
24
using testing::
Mock
;
68
// A
mock
observer for capturing callbacks.
181
Mock
::VerifyAndClearExpectations(&observer);
193
Mock
::VerifyAndClearExpectations(&observer);
202
Mock
::VerifyAndClearExpectations(&observer);
209
Mock
::VerifyAndClearExpectations(&observer);
218
Mock
::VerifyAndClearExpectations(&observer);
245
Mock
::VerifyAndClearExpectations(&observer);
258
Mock
::VerifyAndClearExpectations(&observer);
269
Mock
::VerifyAndClearExpectations(&observer)
[
all
...]
/external/chromium/chrome/browser/sync/
profile_sync_service_startup_unittest.cc
30
using testing::
Mock
;
108
Mock
::VerifyAndClearExpectations(data_type_manager);
165
Mock
::VerifyAndClearExpectations(data_type_manager);
174
Mock
::VerifyAndClearExpectations(data_type_manager);
188
Mock
::VerifyAndClearExpectations(data_type_manager);
/external/chromium_org/chrome/browser/policy/
configuration_policy_pref_store_unittest.cc
26
using testing::
Mock
;
187
Mock
::VerifyAndClearExpectations(&observer_);
193
Mock
::VerifyAndClearExpectations(&observer_);
198
Mock
::VerifyAndClearExpectations(&observer_);
209
Mock
::VerifyAndClearExpectations(&observer_);
/external/chromium_org/cc/layers/
texture_layer_unittest.cc
36
using ::testing::
Mock
;
71
Mock
::VerifyAndClearExpectations(layer_tree_host_.get());
92
Mock
::VerifyAndClearExpectations(layer_tree_host_.get());
98
Mock
::VerifyAndClearExpectations(layer_tree_host_.get());
103
Mock
::VerifyAndClearExpectations(layer_tree_host_.get());
108
Mock
::VerifyAndClearExpectations(layer_tree_host_.get());
125
Mock
::VerifyAndClearExpectations(layer_tree_host_.get());
131
Mock
::VerifyAndClearExpectations(layer_tree_host_.get());
136
Mock
::VerifyAndClearExpectations(layer_tree_host_.get());
142
Mock
::VerifyAndClearExpectations(layer_tree_host_.get())
[
all
...]
/external/chromium_org/chrome/browser/policy/cloud/
user_policy_signin_service_unittest.cc
56
using testing::
Mock
;
179
Mock
::VerifyAndClearExpectations(mock_store_);
268
Mock
::VerifyAndClearExpectations(this);
301
Mock
::VerifyAndClearExpectations(this);
326
Mock
::VerifyAndClearExpectations(this);
563
Mock
::VerifyAndClearExpectations(this);
600
Mock
::VerifyAndClearExpectations(this);
643
Mock
::VerifyAndClearExpectations(this);
677
Mock
::VerifyAndClearExpectations(this);
688
Mock
::VerifyAndClearExpectations(this)
[
all
...]
/external/chromium_org/components/policy/core/common/cloud/
component_cloud_policy_updater_unittest.cc
34
using testing::
Mock
;
144
Mock
::VerifyAndClearExpectations(&store_delegate_);
210
Mock
::VerifyAndClearExpectations(&store_delegate_);
293
Mock
::VerifyAndClearExpectations(&store_delegate_);
304
Mock
::VerifyAndClearExpectations(&store_delegate_);
346
Mock
::VerifyAndClearExpectations(&store_delegate_);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/
mock.py
0
#
mock
.py
6
#
mock
0.6.0
7
# http://www.voidspace.org.uk/python/
mock
/
55
'
Mock
',
97
class
Mock
(object):
123
if isinstance(self._return_value,
Mock
):
129
self._return_value =
Mock
()
174
raise AttributeError("
Mock
object has no attribute '%s'" % name)
182
self._children[name] =
Mock
(parent=self, name=name, wraps=wraps)
274
new =
Mock
(spec=spec
[
all
...]
/external/chromium/testing/gmock/scripts/generator/cpp/
gmock_class.py
17
"""Generate Google
Mock
classes from base classes.
19
This program will read in a C++ source file and output the Google
Mock
100
# Create the
mock
method definition.
121
lines.append('class
Mock
%s : public %s {' % (class_name, class_name)) # }
157
sys.stderr.write('Google
Mock
Class Generator v%s\n\n' %
/external/chromium_org/chrome/browser/local_discovery/
cloud_print_printer_list_unittest.cc
24
using testing::
Mock
;
125
Mock
::VerifyAndClear(&delegate_);
/external/chromium_org/sync/internal_api/
sync_encryption_handler_impl_unittest.cc
38
using ::testing::
Mock
;
265
Mock
::VerifyAndClearExpectations(observer());
296
Mock
::VerifyAndClearExpectations(observer());
331
Mock
::VerifyAndClearExpectations(observer());
372
Mock
::VerifyAndClearExpectations(observer());
373
Mock
::VerifyAndClearExpectations(&observer2);
402
Mock
::VerifyAndClearExpectations(observer());
403
Mock
::VerifyAndClearExpectations(&observer2);
440
Mock
::VerifyAndClearExpectations(observer());
477
Mock
::VerifyAndClearExpectations(observer())
[
all
...]
/external/chromium_org/chrome/browser/safe_browsing/
client_side_detection_service_unittest.cc
28
using ::testing::
Mock
;
270
Mock
::VerifyAndClearExpectations(&service);
279
Mock
::VerifyAndClearExpectations(&service);
290
Mock
::VerifyAndClearExpectations(&service);
300
Mock
::VerifyAndClearExpectations(&service);
312
Mock
::VerifyAndClearExpectations(&service);
325
Mock
::VerifyAndClearExpectations(&service);
337
Mock
::VerifyAndClearExpectations(&service);
348
Mock
::VerifyAndClearExpectations(&service);
361
Mock
::VerifyAndClearExpectations(&service)
[
all
...]
/external/chromium_org/content/renderer/input/
input_handler_proxy_unittest.cc
156
testing::
Mock
::VerifyAndClearExpectations(&mock_input_handler_); \
157
testing::
Mock
::VerifyAndClearExpectations(&mock_client_); \
176
testing::
Mock
::VerifyAndClearExpectations(&mock_client_);
472
testing::
Mock
::VerifyAndClearExpectations(&mock_input_handler_);
484
testing::
Mock
::VerifyAndClearExpectations(&mock_input_handler_);
498
testing::
Mock
::VerifyAndClearExpectations(&mock_input_handler_);
535
testing::
Mock
::VerifyAndClearExpectations(&mock_input_handler_);
536
testing::
Mock
::VerifyAndClearExpectations(&mock_client_);
580
testing::
Mock
::VerifyAndClearExpectations(&mock_input_handler_);
590
testing::
Mock
::VerifyAndClearExpectations(&mock_input_handler_)
[
all
...]
/external/chromium/chrome/browser/content_settings/
content_settings_provider_unittest.cc
12
TEST(ContentSettingsProviderTest,
Mock
) {
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
push_messaging_invalidation_handler_unittest.cc
178
testing::
Mock
::VerifyAndClearExpectations(&delegate_);
185
testing::
Mock
::VerifyAndClearExpectations(&delegate_);
197
testing::
Mock
::VerifyAndClearExpectations(&delegate_);
204
testing::
Mock
::VerifyAndClearExpectations(&delegate_);
/external/chromium_org/chrome/browser/ssl/
ssl_client_certificate_selector_test.cc
25
using ::testing::
Mock
;
/external/mockito/src/org/mockito/runners/
MockitoJUnitRunner.java
13
import org.mockito.
Mock
;
26
* Initializes mocks annotated with {@link
Mock
},
33
* Runner is completely optional - there are other ways you can get @
Mock
working, for example by writing a base class.
37
* Read more about @
Mock
annotation in javadoc for {@link MockitoAnnotations}
42
* @
Mock
/external/chromium_org/chrome/browser/sync/
backend_migrator_unittest.cc
22
using ::testing::
Mock
;
37
Mock
::VerifyAndClear(manager());
38
Mock
::VerifyAndClear(&service_);
98
Mock
::VerifyAndClear(&service_);
195
Mock
::VerifyAndClearExpectations(manager());
229
Mock
::VerifyAndClearExpectations(manager());
260
Mock
::VerifyAndClearExpectations(manager());
/external/chromium_org/chrome/browser/download/
download_item_model_unittest.cc
27
using ::testing::
Mock
;
48
// Default target path for a
mock
download item in DownloadItemModelTest.
55
// Default URL for a
mock
download item in DownloadItemModelTest.
68
// DownloadItemModel that uses the
mock
download item.
330
Mock
::VerifyAndClearExpectations(&item());
331
Mock
::VerifyAndClearExpectations(&model());
414
Mock
::VerifyAndClearExpectations(&item());
415
Mock
::VerifyAndClearExpectations(&model());
/external/chromium/testing/gmock/test/
gmock-spec-builders_test.cc
32
// Google
Mock
- a framework for writing C++
mock
classes.
87
using testing::
Mock
;
110
// This line verifies that a
mock
method can take a by-reference
115
// Tells Google
Mock
how to print a value of type Incomplete.
119
// Even though this
mock
class contains a
mock
method that takes
121
// use the
mock
, as long as Google
Mock
knows how to print the
129
// be visible where the
mock
is used
[
all
...]
/external/chromium_org/chrome/browser/profile_resetter/
automatic_profile_resetter_unittest.cc
594
testing::
Mock
::VerifyAndClearExpectations(&resetter());
595
testing::
Mock
::VerifyAndClearExpectations(&mock_delegate());
602
testing::
Mock
::VerifyAndClearExpectations(&resetter());
603
testing::
Mock
::VerifyAndClearExpectations(&mock_delegate());
[
all
...]
/external/chromium_org/content/browser/renderer_host/
render_widget_host_view_aura_unittest.cc
802
testing::
Mock
::VerifyAndClearExpectations(&observer);
809
testing::
Mock
::VerifyAndClearExpectations(&observer);
826
testing::
Mock
::VerifyAndClearExpectations(&observer);
831
testing::
Mock
::VerifyAndClearExpectations(&observer);
838
testing::
Mock
::VerifyAndClearExpectations(&observer);
843
testing::
Mock
::VerifyAndClearExpectations(&observer);
849
testing::
Mock
::VerifyAndClearExpectations(&observer);
855
testing::
Mock
::VerifyAndClearExpectations(&observer);
861
testing::
Mock
::VerifyAndClearExpectations(&observer);
[
all
...]
Completed in 393 milliseconds
1
2
3
4
5
6
7
8
9
10