HomeSort by relevance Sort by last modified time
    Searched refs:Mock (Results 1 - 25 of 217) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/native_client_sdk/src/libraries/nacl_io_test/
pepper_interface_mock.cc 15 BaseClass##interface_(new BaseClass##Mock),
43 BaseClass##Mock* PepperInterfaceMock::Get##BaseClass() { \
46 BaseClass##Mock::BaseClass##Mock() { \
48 BaseClass##Mock::~BaseClass##Mock() { \
pepper_interface_mock.h 11 // Mock interface class definitions.
14 class BaseClass##Mock : public nacl_io::BaseClass { \
16 BaseClass##Mock(); \
17 virtual ~BaseClass##Mock();
49 virtual BaseClass##Mock* Get##BaseClass();
60 BaseClass##Mock* BaseClass##interface_;
  /external/mockito/src/org/mockito/internal/configuration/
MockitoAnnotationsMockAnnotationProcessor.java 8 import org.mockito.MockitoAnnotations.Mock;
13 * Instantiates a mock on a field annotated by {@link Mock}
16 public class MockitoAnnotationsMockAnnotationProcessor implements FieldAnnotationProcessor<Mock> {
18 public Object process(Mock annotation, Field field) {
19 return Mockito.mock(field.getType(), field.getName());
MockAnnotationProcessor.java 7 import org.mockito.Mock;
14 * Instantiates a mock on a field annotated by {@link Mock}
16 public class MockAnnotationProcessor implements FieldAnnotationProcessor<Mock> {
17 public Object process(Mock annotation, Field field) {
31 // see @Mock answer default value
33 return Mockito.mock(field.getType(), mockSettings);
  /external/chromium_org/cc/test/
layer_test_common.h 12 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); \
19 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); \
  /external/chromium_org/chrome/renderer/safe_browsing/
phishing_classifier_delegate_browsertest.cc 28 using ::testing::Mock;
116 Mock::VerifyAndClearExpectations(classifier);
124 Mock::VerifyAndClearExpectations(classifier);
133 Mock::VerifyAndClearExpectations(classifier);
138 Mock::VerifyAndClearExpectations(classifier);
147 Mock::VerifyAndClearExpectations(classifier);
152 Mock::VerifyAndClearExpectations(classifier);
158 Mock::VerifyAndClearExpectations(classifier);
163 Mock::VerifyAndClearExpectations(classifier);
168 Mock::VerifyAndClearExpectations(classifier)
    [all...]
  /external/chromium/chrome/browser/chromeos/login/
enterprise_enrollment_screen_browsertest.cc 14 using testing::Mock;
40 Mock::VerifyAndClearExpectations(&mock_screen_observer);
  /external/chromium_org/chrome/browser/chromeos/policy/
proxy_policy_provider_unittest.cc 13 using testing::Mock;
61 Mock::VerifyAndClearExpectations(&observer_);
72 Mock::VerifyAndClearExpectations(&observer_);
83 Mock::VerifyAndClearExpectations(&observer_);
87 Mock::VerifyAndClearExpectations(&observer_);
92 Mock::VerifyAndClearExpectations(&observer_);
93 Mock::VerifyAndClearExpectations(&mock_provider_);
97 Mock::VerifyAndClearExpectations(&observer_);
  /external/chromium_org/base/prefs/
overlay_user_pref_store_unittest.cc 13 using ::testing::Mock;
53 Mock::VerifyAndClearExpectations(&obs);
58 Mock::VerifyAndClearExpectations(&obs);
63 Mock::VerifyAndClearExpectations(&obs);
68 Mock::VerifyAndClearExpectations(&obs);
73 Mock::VerifyAndClearExpectations(&obs);
78 Mock::VerifyAndClearExpectations(&obs);
83 Mock::VerifyAndClearExpectations(&obs);
91 Mock::VerifyAndClearExpectations(&obs);
159 Mock::VerifyAndClearExpectations(&obs)
    [all...]
pref_service_unittest.cc 19 using testing::Mock;
39 Mock::VerifyAndClearExpectations(&obs);
45 Mock::VerifyAndClearExpectations(&obs);
51 Mock::VerifyAndClearExpectations(&obs);
56 Mock::VerifyAndClearExpectations(&obs);
98 Mock::VerifyAndClearExpectations(&obs);
109 Mock::VerifyAndClearExpectations(&obs);
110 Mock::VerifyAndClearExpectations(&obs2);
119 Mock::VerifyAndClearExpectations(&obs);
120 Mock::VerifyAndClearExpectations(&obs2)
    [all...]
  /external/chromium/chrome/browser/prefs/
scoped_user_pref_update_unittest.cc 13 using testing::Mock;
53 Mock::VerifyAndClearExpectations(&observer_);
63 Mock::VerifyAndClearExpectations(&observer_);
78 Mock::VerifyAndClearExpectations(&observer_);
pref_change_registrar_unittest.cc 14 using testing::Mock;
19 // A mock provider that allows us to capture pref observer changes.
66 Mock::VerifyAndClearExpectations(service());
77 Mock::VerifyAndClearExpectations(service());
88 Mock::VerifyAndClearExpectations(service());
106 Mock::VerifyAndClearExpectations(service());
117 Mock::VerifyAndClearExpectations(service());
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
Canvas2DLayerBridgeTest.cpp 88 ::testing::Mock::VerifyAndClearExpectations(&mainMock);
92 ::testing::Mock::VerifyAndClearExpectations(&mainMock);
98 ::testing::Mock::VerifyAndClearExpectations(&mainMock);
102 ::testing::Mock::VerifyAndClearExpectations(&mainMock);
  /external/littlemock/src/com/google/testing/littlemock/
Mock.java 25 * Use this to inject a mock into your test class.
29 * &#64;Mock private MyInterface mMockMyInterface;
40 public @interface Mock {
  /external/mockito/src/org/mockito/runners/
MockitoJUnit44Runner.java 8 import org.mockito.Mock;
20 * Initializes mocks annotated with {@link Mock},
27 * Runner is completely optional - there are other ways you can get &#064;Mock working, for example by writing a base class.
31 * Read more about &#064;Mock annotation in javadoc for {@link MockitoAnnotations}
38 * &#064;Mock
  /external/chromium/testing/gmock/test/
gmock_link_test.h 32 // Google Mock - a framework for writing C++ mock classes.
35 // a. A header file defining a mock class can be included in multiple
104 // This test requires identical definitions of Interface and Mock to be
109 // definitions of Interface and Mock tests MUST be kept in the SAME
205 class Mock: public Interface {
207 Mock() {}
220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock);
243 Mock mock; local
251 Mock mock; local
260 Mock mock; local
268 Mock mock; local
277 Mock mock; local
286 Mock mock; local
295 Mock mock; local
308 Mock mock; local
320 Mock mock; local
332 Mock mock; local
345 Mock mock; local
354 Mock mock; local
363 Mock mock; local
372 Mock mock; local
380 Mock mock; local
390 Mock mock; local
400 Mock mock; local
409 Mock mock; local
432 Mock mock; local
444 Mock mock; local
462 Mock mock; local
472 Mock mock; local
479 Mock mock; local
486 Mock mock; local
496 Mock mock; local
507 Mock mock; local
514 Mock mock; local
521 Mock mock; local
529 Mock mock; local
538 Mock mock; local
550 Mock mock; local
557 Mock mock; local
564 Mock mock; local
573 Mock mock; local
582 Mock mock; local
589 Mock mock; local
597 Mock mock; local
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/
cleanworkingdirectory_unittest.py 31 from webkitpy.thirdparty.mock import Mock
40 tool._scm = Mock()
48 tool._scm = Mock()
56 tool._scm = Mock()
65 tool._scm = Mock()
discardlocalchanges_unittest.py 31 from webkitpy.thirdparty.mock import Mock
40 tool._scm = Mock()
47 tool._scm = Mock()
56 tool._scm = Mock()
65 tool._scm = Mock()
74 tool._scm = Mock()
83 tool._scm = Mock()
92 tool._scm = Mock()
  /external/chromium/testing/gmock/include/gmock/
gmock-generated-nice-strict.h 36 // Given a mock class MockFoo that is created using Google Mock,
38 // uninteresting calls (i.e. calls to mock methods that have no
44 // write NiceMock<MockFoo>(5, "a") to construct a nice mock where
49 // StrictMock<MockFoo> only works for mock methods defined using the
51 // mock method is defined in a base class of MockFoo, the "nice" or
55 // Another known limitation is that the constructors of the base mock
73 ::testing::Mock::AllowUninterestingCalls(
81 ::testing::Mock::AllowUninterestingCalls(
86 ::testing::Mock::AllowUninterestingCalls
    [all...]
  /external/chromium_org/chrome/browser/policy/cloud/
cloud_policy_manager_unittest.cc 27 using testing::Mock;
83 Mock::VerifyAndClearExpectations(&store_);
179 Mock::VerifyAndClearExpectations(&store_);
269 Mock::VerifyAndClearExpectations(&observer_);
275 Mock::VerifyAndClearExpectations(&observer_);
282 Mock::VerifyAndClearExpectations(client);
288 Mock::VerifyAndClearExpectations(&observer_);
298 Mock::VerifyAndClearExpectations(&observer_);
310 Mock::VerifyAndClearExpectations(&store_);
315 Mock::VerifyAndClearExpectations(&observer_)
    [all...]
  /external/chromium_org/chrome/browser/chromeos/login/enrollment/
enrollment_screen_browsertest.cc 16 using testing::Mock;
50 Mock::VerifyAndClearExpectations(&mock_screen_observer);
  /external/chromium_org/chrome/browser/prefs/
scoped_user_pref_update_unittest.cc 14 using testing::Mock;
57 Mock::VerifyAndClearExpectations(&observer_);
67 Mock::VerifyAndClearExpectations(&observer_);
82 Mock::VerifyAndClearExpectations(&observer_);
  /external/mockito/src/org/mockito/
Mock.java 15 * Mark a field as a mock.
18 * <li>Allows shorthand mock creation.</li>
19 * <li>Minimizes repetitive mock creation code.</li>
21 * <li>Makes the verification error easier to read because the <b>field name</b> is used to identify the mock.</li>
27 * &#064;Mock private ArticleCalculator calculator;
28 * &#064;Mock(name = "database") private ArticleDatabase dbMock;
29 * &#064;Mock(answer = RETURNS_MOCKS) private UserProvider userProvider;
30 * &#064;Mock(extraInterfaces = {Queue.class, Observer.class}) private articleMonitor;
55 * @see Mockito#mock(Class)
64 public @interface Mock {
    [all...]
  /external/chromium_org/media/audio/win/
audio_device_listener_win_unittest.cc 75 testing::Mock::VerifyAndClear(this);
94 testing::Mock::VerifyAndClear(this);
98 testing::Mock::VerifyAndClear(this);
  /external/mockito/src/org/mockito/internal/configuration/injection/scanner/
InjectMocksScanner.java 9 import org.mockito.Mock;
46 * @return Fields that depends on Mock
53 assertNoAnnotations(field, Mock.class, MockitoAnnotations.Mock.class, Captor.class);

Completed in 800 milliseconds

1 2 3 4 5 6 7 8 9