Searched defs:createMock (Results 1 - 25 of 33) sorted by relevance

12

/external/mockito/src/org/mockito/plugins/
H A DMockMaker.java61 <T> T createMock( method in interface:MockMaker
69 * Use the instance provided to you by Mockito at {@link #createMock} or {@link #resetMock}.
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
H A DDexmakerMockMaker.java37 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { method in class:DexmakerMockMaker
/external/mockito/src/org/mockito/internal/creation/
H A DCglibMockMaker.java21 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { method in class:CglibMockMaker
/external/easymock/src/org/easymock/
H A DEasyMockSupport.java43 return createStrictControl().createMock(toMock);
62 return createStrictControl().createMock(name, toMock);
76 public <T> T createMock(Class<T> toMock) { method in class:EasyMockSupport
77 return createControl().createMock(toMock);
96 public <T> T createMock(String name, Class<T> toMock) { method in class:EasyMockSupport
97 return createControl().createMock(name, toMock);
113 return createNiceControl().createMock(toMock);
134 return createNiceControl().createMock(name, toMock);
H A DIMocksControl.java29 <T> T createMock(Class<T> toMock); method in interface:IMocksControl
39 <T> T createMock(String name, Class<T> toMock); method in interface:IMocksControl
/external/mockito/src/org/mockito/internal/util/
H A DMockUtil.java29 public <T> T createMock(MockCreationSettings<T> settings) { method in class:MockUtil
32 T mock = mockMaker.createMock(settings, mockHandler);
/external/easymock/src/org/easymock/internal/
H A DMocksControl.java47 public <T> T createMock(Class<T> toMock) { method in class:MocksControl
58 public <T> T createMock(String name, Class<T> toMock) { method in class:MocksControl
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/
H A DAbstractTestCase.java61 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
73 protected Object createMock(Class interfaceToMock) { method in class:AbstractTestCase
85 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
92 * Put all mocks created with createMock() into replay mode.
106 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
113 * Verify all mocks created with createMock() into replay mode.
128 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java62 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
73 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
103 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
110 * Verify all mocks created with createMock() into replay mode.
124 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java62 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
73 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
103 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
110 * Verify all mocks created with createMock() into replay mode.
124 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java62 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
73 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
103 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
110 * Verify all mocks created with createMock() into replay mode.
124 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java62 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
73 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
103 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
110 * Verify all mocks created with createMock() into replay mode.
124 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java62 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
73 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
103 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
110 * Verify all mocks created with createMock() into replay mode.
124 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java62 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
73 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
103 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
110 * Verify all mocks created with createMock() into replay mode.
124 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java62 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
73 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
103 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
110 * Verify all mocks created with createMock() into replay mode.
124 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java62 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
73 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
103 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
110 * Verify all mocks created with createMock() into replay mode.
124 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java60 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
72 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
105 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
112 * Verify all mocks created with createMock() into replay mode.
127 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java60 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
72 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
105 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
112 * Verify all mocks created with createMock() into replay mode.
127 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java62 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
73 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
103 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
110 * Verify all mocks created with createMock() into replay mode.
124 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java60 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
72 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
105 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
112 * Verify all mocks created with createMock() into replay mode.
127 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java60 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
72 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
105 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
112 * Verify all mocks created with createMock() into replay mode.
127 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java60 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
72 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
105 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
112 * Verify all mocks created with createMock() into replay mode.
127 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/test/
H A DAbstractTest.java60 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
72 protected Object createMock(Class interfaceToMock) { method in class:AbstractTest
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
105 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
112 * Verify all mocks created with createMock() into replay mode.
127 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/test/
H A DAbstractTestCase.java60 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
72 protected Object createMock(Class interfaceToMock) { method in class:AbstractTestCase
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
105 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
112 * Verify all mocks created with createMock() into replay mode.
127 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/test/
H A DAbstractTestCase.java60 // somewhat similar to EasyMock 2.2 for createMock, verify and replay.
72 protected Object createMock(Class interfaceToMock) { method in class:AbstractTestCase
84 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
91 * Put all mocks created with createMock() into replay mode.
105 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}
112 * Verify all mocks created with createMock() into replay mode.
127 * @throws AssertFailedException - if mock is not a mock object created using {@link #createMock(Class)}

Completed in 1279 milliseconds

12