OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:typeToMock
(Results
1 - 4
of
4
) sorted by null
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
DexmakerMockMaker.java
38
Class<T>
typeToMock
= settings.getTypeToMock();
43
if (
typeToMock
.isInterface()) {
46
classesToMock[0] =
typeToMock
;
49
@SuppressWarnings("unchecked") // newProxyInstance returns the type of
typeToMock
57
Class<? extends T> proxyClass = ProxyBuilder.forClass(
typeToMock
)
68
throw new MockitoException("Failed to mock " +
typeToMock
, e);
/external/mockito/src/org/mockito/internal/creation/settings/
CreationSettings.java
24
protected Class<T>
typeToMock
;
38
this.
typeToMock
= copy.
typeToMock
;
50
return
typeToMock
;
53
public CreationSettings<T> setTypeToMock(Class<T>
typeToMock
) {
54
this.
typeToMock
=
typeToMock
;
/external/mockito/src/org/mockito/internal/creation/
AcrossJVMSerializationFeature.java
184
private Class
typeToMock
;
206
this.
typeToMock
= mockSettings.getTypeToMock();
221
ObjectInputStream objectInputStream = new MockitoMockObjectInputStream(bis,
typeToMock
, extraInterfaces);
231
"Mockito mock cannot be deserialized to a mock of '" +
typeToMock
.getCanonicalName() + "'. The error was :",
266
private Class
typeToMock
;
269
public MockitoMockObjectInputStream(InputStream in, Class
typeToMock
, Set<Class> extraInterfaces) throws IOException {
271
this.
typeToMock
=
typeToMock
;
279
* <p>Uses the fields {@link #
typeToMock
} and {@link #extraInterfaces} to
295
// ClassImposterizer.INSTANCE.canImposterise(
typeToMock
);
[
all
...]
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
Completed in 35 milliseconds