/external/mockito/src/main/java/org/mockito/ |
H A D | Mock.java | 30 * @Mock private ArticleCalculator calculator; 31 * @Mock(name = "database") private ArticleDatabase dbMock; 32 * @Mock(answer = RETURNS_MOCKS) private UserProvider userProvider; 33 * @Mock(extraInterfaces = {Queue.class, Observer.class}) private articleMonitor; 67 public @interface Mock { interface
|
/external/autotest/client/common_lib/cros/graphite/ |
H A D | es_utils.py | 75 logging.debug('Failed to import elasticsearch. Mock classes will be used ' namespace
|
/external/google-breakpad/src/testing/test/ |
H A D | gmock-nice-strict_test.cc | 40 // clash with ::testing::Mock. 41 class Mock { class 43 Mock() {} function in class:Mock 48 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 194 // Tests that NiceMock<Mock> compiles where Mock is a user-defined 195 // class (as opposed to ::testing::Mock). We had to workaround an 196 // MSVC 8.0 bug that caused the symbol Mock used in the definition of 203 NiceMock< ::Mock> nice; 268 // Tests that StrictMock<Mock> compile [all...] |
H A D | gmock_link_test.h | 32 // Google Mock - a framework for writing C++ mock classes. 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 { class in inherits:Interface 207 Mock() {} function in class:Mock 220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 243 Mock mock; 251 Mock mock; 260 Mock mock; 268 Mock moc [all...] |
/external/googletest/googlemock/test/ |
H A D | gmock-nice-strict_test.cc | 40 // clash with ::testing::Mock. 41 class Mock { class 43 Mock() {} function in class:Mock 48 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 241 // Tests that NiceMock<Mock> compiles where Mock is a user-defined 242 // class (as opposed to ::testing::Mock). We had to work around an 243 // MSVC 8.0 bug that caused the symbol Mock used in the definition of 250 NiceMock< ::Mock> nice; 334 // Tests that NaggyMock<Mock> compile [all...] |
H A D | gmock_link_test.h | 32 // Google Mock - a framework for writing C++ mock classes. 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 { class in inherits:Interface 207 Mock() {} function in class:Mock 220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 243 Mock mock; 251 Mock mock; 260 Mock mock; 268 Mock moc [all...] |
/external/v8/testing/gmock/test/ |
H A D | gmock-nice-strict_test.cc | 40 // clash with ::testing::Mock. 41 class Mock { class 43 Mock() {} function in class:Mock 48 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 241 // Tests that NiceMock<Mock> compiles where Mock is a user-defined 242 // class (as opposed to ::testing::Mock). We had to work around an 243 // MSVC 8.0 bug that caused the symbol Mock used in the definition of 250 NiceMock< ::Mock> nice; 334 // Tests that NaggyMock<Mock> compile [all...] |
H A D | gmock_link_test.h | 32 // Google Mock - a framework for writing C++ mock classes. 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 { class in inherits:Interface 207 Mock() {} function in class:Mock 220 GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); 243 Mock mock; 251 Mock mock; 260 Mock mock; 268 Mock moc [all...] |
/external/chromium-trace/catapult/telemetry/third_party/mock/ |
H A D | mock.py | 17 'Mock', 129 # can't use isinstance on Mock objects because they override __class__ 466 """A non-callable version of `Mock`""" 658 raise AttributeError("Mock object has no attribute %r" % name) 761 raise AttributeError("Mock object has no attribute '%s'" % name) 767 raise AttributeError("Mock object has no attribute '%s'" % name) 898 Subclasses of Mock may want to override this to customize the way 908 klass = Mock 1031 class Mock(CallableMixin, NonCallableMock): class in inherits:CallableMixin, NonCallableMock 1033 Create a new `Mock` objec [all...] |
/external/pdfium/third_party/pymock/ |
H A D | mock.py | 17 'Mock', 129 # can't use isinstance on Mock objects because they override __class__ 466 """A non-callable version of `Mock`""" 658 raise AttributeError("Mock object has no attribute %r" % name) 761 raise AttributeError("Mock object has no attribute '%s'" % name) 767 raise AttributeError("Mock object has no attribute '%s'" % name) 898 Subclasses of Mock may want to override this to customize the way 908 klass = Mock 1031 class Mock(CallableMixin, NonCallableMock): class in inherits:CallableMixin, NonCallableMock 1033 Create a new `Mock` objec [all...] |
/external/skia/tests/ |
H A D | ResourceCacheTest.cpp | 366 class Mock { class 368 Mock(int maxCnt, size_t maxBytes) { function in class:Mock 386 Mock mock(10, 30000); 443 Mock mock(10, 300); 527 Mock mock(10, 30000); 594 Mock mock(10, 300); 654 Mock mock(5, 30000); 701 Mock mock(5, 30000); 760 Mock mock(5, 30000); 819 Mock moc [all...] |
/external/robolectric/v1/lib/test/ |
H A D | mockito-core-1.8.5.jar | META-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ... |