Home
last modified time | relevance | path

Searched defs:mock (Results 1 – 25 of 73) sorted by relevance

123

/external/mockito/src/org/mockito/internal/util/
DMockUtil.java32 T mock = mockMaker.createMock(settings, mockHandler); in createMock() local
42 public <T> void resetMock(T mock) { in resetMock()
50 public <T> InternalMockHandler<T> getMockHandler(T mock) { in getMockHandler()
62 public boolean isMock(Object mock) { in isMock()
67 public boolean isSpy(Object mock) { in isSpy()
79 private <T> boolean isMockitoMock(T mock) { in isMockitoMock()
83 public MockName getMockName(Object mock) { in getMockName()
87 public void maybeRedefineMockName(Object mock, String newName) { in maybeRedefineMockName()
95 public MockCreationSettings getMockSettings(Object mock) { in getMockSettings()
/external/google-breakpad/src/testing/test/
Dgmock_link_test.h243 Mock mock; in TEST() local
251 Mock mock; in TEST() local
260 Mock mock; in TEST() local
268 Mock mock; in TEST() local
277 Mock mock; in TEST() local
286 Mock mock; in TEST() local
295 Mock mock; in TEST() local
308 Mock mock; in TEST() local
320 Mock mock; in TEST() local
332 Mock mock; in TEST() local
[all …]
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
DDexmakerMockMaker.java50 T mock = (T) Proxy.newProxyInstance(contextClassLoader, classesToMock, in createMock() local
60 T mock = unsafeAllocator.newInstance(proxyClass); in createMock() local
73 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock()
78 public MockHandler getHandler(Object mock) { in getHandler()
83 private InvocationHandlerAdapter getInvocationHandlerAdapter(Object mock) { in getInvocationHandlerAdapter()
/external/mockito/src/org/mockito/
DMockito.java1119 public static <T> T mock(Class<T> classToMock) { in mock() method in Mockito
1138 public static <T> T mock(Class<T> classToMock, String name) { in mock() method in Mockito
1192 public static <T> T mock(Class<T> classToMock, ReturnValues returnValues) { in mock() method in Mockito
1215 public static <T> T mock(Class<T> classToMock, Answer defaultAnswer) { in mock() method in Mockito
1242 public static <T> T mock(Class<T> classToMock, MockSettings mockSettings) { in mock() method in Mockito
1473 public static <T> T verify(T mock) { in verify()
1499 public static <T> T verify(T mock, VerificationMode mode) { in verify()
1630 public static <T> VoidMethodStubbable<T> stubVoid(T mock) { in stubVoid()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DWrappingExecutorServiceTest.java51 MockExecutor mock = new MockExecutor(); in testDelegations() local
67 MockExecutor mock = new MockExecutor(); in testExecute() local
75 MockExecutor mock = new MockExecutor(); in testSubmit() local
82 MockExecutor mock = new MockExecutor(); in testSubmit() local
89 MockExecutor mock = new MockExecutor(); in testSubmit() local
101 MockExecutor mock = new MockExecutor(); in testInvokeAll() local
108 MockExecutor mock = new MockExecutor(); in testInvokeAll() local
121 MockExecutor mock = new MockExecutor(); in testInvokeAny() local
128 MockExecutor mock = new MockExecutor(); in testInvokeAny() local
180 public TestExecutor(MockExecutor mock) { in TestExecutor()
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/test/
DAbstractTest.java75 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
105 protected void verify(Object mock) { in verify()
114 Object mock = iter.next(); in verifyAll() local
126 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/test/
DAbstractTest.java75 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
105 protected void verify(Object mock) { in verify()
114 Object mock = iter.next(); in verifyAll() local
126 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/test/
DAbstractTest.java74 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
107 protected void verify(Object mock) { in verify()
116 Object mock = iter.next(); in verifyAll() local
129 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/test/
DAbstractTestCase.java74 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
107 protected void verify(Object mock) { in verify()
116 Object mock = iter.next(); in verifyAll() local
129 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/test/
DAbstractTest.java75 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
105 protected void verify(Object mock) { in verify()
114 Object mock = iter.next(); in verifyAll() local
126 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/test/
DAbstractTest.java74 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
107 protected void verify(Object mock) { in verify()
116 Object mock = iter.next(); in verifyAll() local
129 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/test/
DAbstractTest.java75 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
105 protected void verify(Object mock) { in verify()
114 Object mock = iter.next(); in verifyAll() local
126 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/test/
DAbstractTest.java74 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
107 protected void verify(Object mock) { in verify()
116 Object mock = iter.next(); in verifyAll() local
129 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/test/
DAbstractTest.java75 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
105 protected void verify(Object mock) { in verify()
114 Object mock = iter.next(); in verifyAll() local
126 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/test/
DAbstractTest.java74 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
107 protected void verify(Object mock) { in verify()
116 Object mock = iter.next(); in verifyAll() local
129 protected MockControl control(Object mock) { in control()
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/
DAbstractTestCase.java75 Object mock = control.getMock(); in createMock() local
87 protected void replay(Object mock) { in replay()
96 Object mock = iter.next(); in replayAll() local
108 protected void verify(Object mock) { in verify()
117 Object mock = iter.next(); in verifyAll() local
130 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/test/
DAbstractTestCase.java75 Object mock = control.getMock(); in createMock() local
87 protected void replay(Object mock) { in replay()
96 Object mock = iter.next(); in replayAll() local
108 protected void verify(Object mock) { in verify()
117 Object mock = iter.next(); in verifyAll() local
130 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/test/
DAbstractTestCase.java74 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
107 protected void verify(Object mock) { in verify()
116 Object mock = iter.next(); in verifyAll() local
129 protected MockControl control(Object mock) { in control()
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
DAbstractTest.java75 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
105 protected void verify(Object mock) { in verify()
114 Object mock = iter.next(); in verifyAll() local
126 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/test/
DAbstractTest.java75 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
105 protected void verify(Object mock) { in verify()
114 Object mock = iter.next(); in verifyAll() local
126 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/test/
DAbstractTest.java75 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
105 protected void verify(Object mock) { in verify()
114 Object mock = iter.next(); in verifyAll() local
126 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/test/
DAbstractTest.java74 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
107 protected void verify(Object mock) { in verify()
116 Object mock = iter.next(); in verifyAll() local
129 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/test/
DAbstractTestCase.java75 Object mock = control.getMock(); in createMock() local
87 protected void replay(Object mock) { in replay()
96 Object mock = iter.next(); in replayAll() local
108 protected void verify(Object mock) { in verify()
117 Object mock = iter.next(); in verifyAll() local
130 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/test/
DAbstractTest.java75 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
105 protected void verify(Object mock) { in verify()
114 Object mock = iter.next(); in verifyAll() local
126 protected MockControl control(Object mock) { in control()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/test/
DAbstractTest.java74 Object mock = control.getMock(); in createMock() local
86 protected void replay(Object mock) { in replay()
95 Object mock = iter.next(); in replayAll() local
107 protected void verify(Object mock) { in verify()
116 Object mock = iter.next(); in verifyAll() local
129 protected MockControl control(Object mock) { in control()

123