Searched refs:mockUtil (Results 1 - 9 of 9) sorted by relevance

/external/mockito/src/org/mockito/internal/util/collections/
H A DHashCodeAndEqualsMockWrapper.java59 MockUtil mockUtil = new MockUtil();
61 "mockInstance=" + (mockUtil.isMock(mockInstance) ? mockUtil.getMockName(mockInstance) : typeInstanceString()) +
/external/mockito/src/org/mockito/internal/configuration/injection/filter/
H A DNameBasedCandidateFilter.java16 private final MockUtil mockUtil = new MockUtil(); field in class:NameBasedCandidateFilter
26 if (field.getName().equals(mockUtil.getMockName(mock).toString())) {
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/
H A DMockScanner.java22 private MockUtil mockUtil = new MockUtil(); field in class:MockScanner
73 mockUtil.maybeRedefineMockName(instance, field.getName());
86 return mockUtil.isMock(instance)
87 || mockUtil.isSpy(instance);
/external/mockito/src/org/mockito/internal/stubbing/
H A DStubberImpl.java23 MockUtil mockUtil = new MockUtil();
28 if (!mockUtil.isMock(mock)) {
33 mockUtil.getMockHandler(mock).setAnswersForStubbing(answers);
/external/mockito/src/org/mockito/internal/
H A DMockitoCore.java40 private final MockUtil mockUtil = new MockUtil(); field in class:MockitoCore
44 return mockUtil.isTypeMockable(typeToMock);
55 T mock = mockUtil.createMock(creationSettings);
82 } else if (!mockUtil.isMock(mock)) {
95 mockUtil.resetMock(m);
107 InvocationContainer invocations = mockUtil.getMockHandler(mock).getInvocationContainer();
136 } else if (!mockUtil.isMock(mock)) {
150 InternalMockHandler<T> handler = mockUtil.getMockHandler(mock);
/external/mockito/src/org/mockito/internal/util/
H A DMockCreationValidator.java16 private final MockUtil mockUtil = new MockUtil(); field in class:MockCreationValidator
19 if (!mockUtil.isTypeMockable(classToMock)) {
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
H A DReturnsEmptyValues.java58 MockUtil mockUtil = new MockUtil(); field in class:ReturnsEmptyValues
66 MockName name = mockUtil.getMockName(mock);
68 return "Mock for " + mockUtil.getMockSettings(mock).getTypeToMock().getSimpleName() + ", hashCode: " + mock.hashCode();
/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 169 milliseconds