Searched defs:Mock (Results 1 - 8 of 8) sorted by relevance

/external/littlemock/src/com/google/testing/littlemock/
H A DMock.java29 * @Mock private MyInterface mMockMyInterface;
40 public @interface Mock { interface
/external/mockito/src/org/mockito/
H A DMock.java27 * @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;
64 public @interface Mock { interface
H A DMockitoAnnotations.java37 * @Mock private ArticleCalculator calculator;
38 * @Mock private ArticleDatabase database;
39 * @Mock private UserProvider userProvider;
67 * Use top-level {@link org.mockito.Mock} annotation instead
69 * When @Mock annotation was implemented as an inner class then users experienced problems with autocomplete features in IDEs.
70 * Hence @Mock was made a top-level class.
73 * Typically, you can just <b>search:</b> import org.mockito.MockitoAnnotations.Mock; <b>and replace with:</b> import org.mockito.Mock;
81 public @interface Mock {} interface in class:MockitoAnnotations
85 * &#064;{@link org.mockito.Mock},
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/tests/
H A D__init__.py8 class Mock(object): class in inherits:object
/external/chromium_org/chrome/third_party/mock4js/
H A Dmock4js.js21 var newMock = new Mock(mockedType);
497 * Mock
499 function Mock(mockedType) { class
501 throw new Mock4JSException("Unable to create Mock: must create Mock using a class not prototype, eg. 'new Mock(TypeToMock)' or using the convenience method 'mock(TypeToMock)'");
525 Mock.prototype = {
/external/chromium_org/third_party/pymock/
H A Dmock.py17 '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/dexmaker/lib/
H A Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/robolectric/lib/test/
H A Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...

Completed in 334 milliseconds