OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:mockmaker
(Results
1 - 10
of
10
) sorted by null
/external/mockito/
README.android
4
For Android, we need to combine Mockito with a
MockMaker
provided by the
Android.mk
34
LOCAL_STATIC_JAVA_LIBRARIES := mockito-api dexmaker dexmaker-
mockmaker
\
/external/mockito/src/org/mockito/internal/util/
MockUtil.java
16
import org.mockito.plugins.
MockMaker
;
23
private static final
MockMaker
mockMaker
= ClassPathLoader.getMockMaker();
32
T mock =
mockMaker
.createMock(settings, mockHandler);
47
mockMaker
.resetMock(mock, newHandler, settings);
56
return (InternalMockHandler)
mockMaker
.getHandler(mock);
80
return
mockMaker
.getHandler(mock) != null;
/external/mockito/src/org/mockito/internal/configuration/
ClassPathLoader.java
10
import org.mockito.plugins.
MockMaker
;
43
* {@link
MockMaker
}. This extension point allows a user to provide his own bytecode engine to build mocks.
48
* <li>A file named <code>org.mockito.plugins.
MockMaker
</code> in a folder named
63
private static final
MockMaker
mockMaker
= findPlatformMockMaker();
94
* {@link
MockMaker
} extension exists or is visible in the current classpath.</p>
96
public static
MockMaker
getMockMaker() {
97
return
mockMaker
;
109
static
MockMaker
findPlatformMockMaker() {
110
return findPluginImplementation(
MockMaker
.class, DEFAULT_MOCK_MAKER_CLASS)
[
all
...]
/external/dexmaker/
Android.mk
29
# Build Dexmaker's
MockMaker
, a plugin to Mockito
31
LOCAL_MODULE := dexmaker-
mockmaker
/external/mockito/src/org/mockito/invocation/
MockHandler.java
13
* See also the {@link org.mockito.plugins.
MockMaker
}.
16
* Mockito will provide you with the implementation via other {@link org.mockito.plugins.
MockMaker
} methods.
/external/mockito/src/org/mockito/plugins/
MockMaker.java
16
* <p>{@code
MockMaker
} is an extension point that makes it possible to use custom dynamic proxies
18
* For example, the android users can use a
MockMaker
that can work with Dalvik virtual machine
26
* <li>The implementation itself, for example <code>org.awesome.mockito.AwesomeMockMaker</code> that extends the <code>
MockMaker
</code>.</li>
27
* <li>A file "<code>mockito-extensions/org.mockito.plugins.
MockMaker
</code>". The content of this file is
31
* <p>Note that if several <code>mockito-extensions/org.mockito.plugins.
MockMaker
</code> files exists in the classpath
39
public interface
MockMaker
{
42
* If you want to provide your own implementation of {@code
MockMaker
} this method should:
48
* Your implementation of {@code
MockMaker
} is required to provide this instance of {@code handler} when
StackTraceCleanerProvider.java
13
* please refer to the documentation of {@link
MockMaker
}.
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
DexmakerMockMaker.java
28
import org.mockito.plugins.
MockMaker
;
34
public final class DexmakerMockMaker implements
MockMaker
, StackTraceCleanerProvider {
/external/mockito/src/org/mockito/
Mockito.java
58
* <a href="#28">28. (**New**) <code>
MockMaker
</code> API (Since 1.9.5)</a><br/>
[
all
...]
Completed in 630 milliseconds