/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
pepper_interface_mock.cc | 14 BaseClass##interface_ = new BaseClass##Mock; 38 BaseClass##Mock* PepperInterfaceMock::Get##BaseClass() { \ 41 BaseClass##Mock::BaseClass##Mock() { \ 43 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(); 48 virtual BaseClass##Mock* Get##BaseClass(); 59 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/components/policy/core/common/ |
schema_registry_unittest.cc | 12 using ::testing::Mock; 71 Mock::VerifyAndClearExpectations(&observer); 78 Mock::VerifyAndClearExpectations(&observer); 86 Mock::VerifyAndClearExpectations(&observer); 98 Mock::VerifyAndClearExpectations(&observer); 113 Mock::VerifyAndClearExpectations(&observer); 118 Mock::VerifyAndClearExpectations(&observer); 122 Mock::VerifyAndClearExpectations(&observer); 145 Mock::VerifyAndClearExpectations(&observer); 151 Mock::VerifyAndClearExpectations(&observer) [all...] |
forwarding_policy_provider_unittest.cc | 19 using testing::Mock; 53 Mock::VerifyAndClearExpectations(&mock_provider_); 72 Mock::VerifyAndClearExpectations(&observer_); 82 Mock::VerifyAndClearExpectations(&mock_provider_); 89 Mock::VerifyAndClearExpectations(&observer_); 105 Mock::VerifyAndClearExpectations(&observer_); 111 Mock::VerifyAndClearExpectations(&mock_provider_); 115 Mock::VerifyAndClearExpectations(&mock_provider_); 126 Mock::VerifyAndClearExpectations(&observer_); 148 Mock::VerifyAndClearExpectations(&observer_) [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 | 14 using testing::Mock; 63 Mock::VerifyAndClearExpectations(&observer_); 74 Mock::VerifyAndClearExpectations(&observer_); 85 Mock::VerifyAndClearExpectations(&observer_); 89 Mock::VerifyAndClearExpectations(&observer_); 94 Mock::VerifyAndClearExpectations(&observer_); 95 Mock::VerifyAndClearExpectations(&mock_provider_); 99 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...] |
scoped_user_pref_update_unittest.cc | 14 using testing::Mock; 55 Mock::VerifyAndClearExpectations(&observer_); 65 Mock::VerifyAndClearExpectations(&observer_); 80 Mock::VerifyAndClearExpectations(&observer_);
|
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/littlemock/src/com/google/testing/littlemock/ |
Mock.java | 25 * Use this to inject a mock into your test class. 29 * @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 @Mock working, for example by writing a base class. 31 * Read more about @Mock annotation in javadoc for {@link MockitoAnnotations} 38 * @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/chrome/renderer/safe_browsing/ |
phishing_classifier_delegate_browsertest.cc | 44 using ::testing::Mock; 273 Mock::VerifyAndClearExpectations(classifier_); 281 Mock::VerifyAndClearExpectations(classifier_); 293 Mock::VerifyAndClearExpectations(classifier_); 298 Mock::VerifyAndClearExpectations(classifier_); 312 Mock::VerifyAndClearExpectations(classifier_); 318 Mock::VerifyAndClearExpectations(classifier_); 325 Mock::VerifyAndClearExpectations(classifier_); 330 Mock::VerifyAndClearExpectations(classifier_); 341 Mock::VerifyAndClearExpectations(classifier_) [all...] |
/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/components/policy/core/common/cloud/ |
cloud_policy_manager_unittest.cc | 23 using testing::Mock; 84 Mock::VerifyAndClearExpectations(&store_); 185 Mock::VerifyAndClearExpectations(&store_); 220 Mock::VerifyAndClearExpectations(&observer_); 226 Mock::VerifyAndClearExpectations(&observer_); 233 Mock::VerifyAndClearExpectations(client); 239 Mock::VerifyAndClearExpectations(&observer_); 249 Mock::VerifyAndClearExpectations(&observer_); 261 Mock::VerifyAndClearExpectations(&store_); 266 Mock::VerifyAndClearExpectations(&observer_) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
Canvas2DLayerBridgeTest.cpp | 103 ::testing::Mock::VerifyAndClearExpectations(&mainMock); 108 ::testing::Mock::VerifyAndClearExpectations(&mainMock); 114 ::testing::Mock::VerifyAndClearExpectations(&mainMock); 117 ::testing::Mock::VerifyAndClearExpectations(&mainMock);
|
/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 * @Mock private ArticleCalculator calculator;
28 * @Mock(name = "database") private ArticleDatabase dbMock;
29 * @Mock(answer = RETURNS_MOCKS) private UserProvider userProvider;
30 * @Mock(extraInterfaces = {Queue.class, Observer.class}) private articleMonitor;
55 * @see Mockito#mock(Class)
64 public @interface Mock {
[all...] |
/external/chromium_org/cc/layers/ |
nine_patch_layer_unittest.cc | 25 using ::testing::Mock; 43 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); 57 Mock::VerifyAndClearExpectations(layer_tree_host_.get());
|
/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);
|