Java 类org.mockito.plugins.MockMaker 实例源码

项目:DaggerMock    文件:ModuleOverrider.java   
private Boolean isUsedMockMaker() {
    if (!isMockitoVersion2()) return false;
    MockMaker mockMaker = Plugins.getMockMaker();
    return !(mockMaker instanceof ByteBuddyMockMaker);
}
项目:DaggerMock    文件:ModuleOverrider.java   
private Boolean isUsedMockMaker() {
    if (!isMockitoVersion2()) return false;
    MockMaker mockMaker = Plugins.getMockMaker();
    return !(mockMaker instanceof ByteBuddyMockMaker);
}
项目:j2objc    文件:ClassPathLoader.java   
/**
 * Returns the implementation of the mock maker available for the current runtime.
 *
 * <p>Returns {@link IosMockMaker} if no {@link MockMaker} extension exists
 * or is visible in the current classpath.</p>
 */
public static MockMaker getMockMaker() {
    return mockMaker;
}
项目:j2objc    文件:ClassPathLoader.java   
/**
 * Scans the classpath to find a mock maker plugin if one is available,
 * allowing mockito to run on alternative platforms like Android.
 */
static MockMaker findPlatformMockMaker() {
    return findPluginImplementation(MockMaker.class, new IosMockMaker());
}
项目:astor    文件:ClassPathLoader.java   
/**
 * Returns the implementation of the mock maker available for the current runtime.
 *
 * <p>Returns {@link org.mockito.internal.creation.CglibMockMaker} if no
 * {@link MockMaker} extension exists or is visible in the current classpath.</p>
 */
public static MockMaker getMockMaker() {
    return mockMaker;
}
项目:astor    文件:ClassPathLoader.java   
/**
 * Scans the classpath to find a mock maker plugin if one is available,
 * allowing mockito to run on alternative platforms like Android.
 */
static MockMaker findPlatformMockMaker() {
    return findPluginImplementation(MockMaker.class, DEFAULT_MOCK_MAKER_CLASS);
}