Home
last modified time | relevance | path

Searched refs:MockMaker (Results 1 – 22 of 22) sorted by relevance

/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DMockMakerMultiplexer.java23 import org.mockito.plugins.MockMaker;
31 public final class MockMakerMultiplexer implements MockMaker {
33 private final static MockMaker[] MOCK_MAKERS;
41 ArrayList<MockMaker> mockMakers = new ArrayList<>();
44 Class<? extends MockMaker> mockMakerClass = (Class<? extends MockMaker>)
58 MOCK_MAKERS = mockMakers.toArray(new MockMaker[]{});
63 for (MockMaker mockMaker : MOCK_MAKERS) { in createMock()
76 for (MockMaker mockMaker : MOCK_MAKERS) { in getHandler()
89 for (MockMaker mockMaker : MOCK_MAKERS) { in resetMock()
96 for (MockMaker mockMaker : MOCK_MAKERS) { in isTypeMockable()
DInlineDexmakerMockMaker.java33 import org.mockito.plugins.MockMaker;
57 public final class InlineDexmakerMockMaker implements MockMaker {
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/
DPluginRegistry.java11 import org.mockito.plugins.MockMaker;
20 …private final MockMaker mockMaker = new PluginLoader(pluginSwitch, DefaultMockitoPlugins.INLINE_AL…
21 .loadPlugin(MockMaker.class);
54 MockMaker getMockMaker() { in getMockMaker()
DDefaultMockitoPlugins.java11 import org.mockito.plugins.MockMaker;
27 …DEFAULT_PLUGINS.put(MockMaker.class.getName(), "org.mockito.internal.creation.bytebuddy.ByteBuddyM… in MockMaker.class.getName()
75 public MockMaker getInlineMockMaker() { in getInlineMockMaker()
76 return create(MockMaker.class, DEFAULT_PLUGINS.get(INLINE_ALIAS)); in getInlineMockMaker()
DPlugins.java9 import org.mockito.plugins.MockMaker;
33 public static MockMaker getMockMaker() { in getMockMaker()
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DSubclassByteBuddyMockMakerTest.java9 import org.mockito.plugins.MockMaker;
26 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Integer.class); in is_type_mockable_excludes_primitive_wrapper_classes()
33 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int.class); in is_type_mockable_excludes_primitive_classes()
43 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(anonymous.getClass()); in is_type_mockable_allow_anonymous()
50 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(SomeClass.class); in is_type_mockable_give_empty_reason_if_type_is_mockable()
DInlineByteBuddyMockMakerTest.java21 import org.mockito.plugins.MockMaker;
204 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Integer.class); in should_provide_reason_for_wrapper_class()
210 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int[].class); in should_provide_reason_for_vm_unsupported()
223 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(String.class); in is_type_mockable_excludes_String()
230 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Class.class); in is_type_mockable_excludes_Class()
237 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int.class); in is_type_mockable_excludes_primitive_classes()
249 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(anonymous.getClass()); in is_type_mockable_allows_anonymous()
256 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(SomeClass.class); in is_type_mockable_give_empty_reason_if_type_is_mockable()
263 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Pattern.class); in is_type_mockable_give_allow_final_mockable_from_JDK()
DAbstractByteBuddyMockMakerTest.java18 import org.mockito.plugins.MockMaker;
31 public abstract class AbstractByteBuddyMockMakerTest<MM extends MockMaker> {
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/
DAndroidByteBuddyMockMaker.java12 import org.mockito.plugins.MockMaker;
16 public class AndroidByteBuddyMockMaker implements MockMaker {
18 private final MockMaker delegate;
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DClassCreatingMockMaker.java8 import org.mockito.plugins.MockMaker;
10 interface ClassCreatingMockMaker extends MockMaker {
/external/mockito/src/main/java/org/mockito/internal/util/
DMockUtil.java16 import org.mockito.plugins.MockMaker;
17 import org.mockito.plugins.MockMaker.TypeMockability;
24 private static final MockMaker mockMaker = Plugins.getMockMaker();
DMockCreationValidator.java16 import org.mockito.plugins.MockMaker.TypeMockability;
/external/dexmaker/
DAndroid.bp28 // Build Dexmaker's MockMaker, a plugin to Mockito
40 // Build dispatcher for Dexmaker's inline MockMaker
85 // Build agent for Dexmaker's inline MockMaker
94 // Build agent for Dexmaker's extended MockMaker
112 // Build Dexmaker's inline MockMaker, a plugin to Mockito
125 // Build Dexmaker's extended MockMaker, a plugin to Mockito
/external/mockito/src/test/java/org/mockito/internal/configuration/plugins/
DDefaultMockitoPluginsTest.java12 import org.mockito.plugins.MockMaker;
27 … assertEquals(ByteBuddyMockMaker.class, plugins.getDefaultPlugin(MockMaker.class).getClass()); in provides_plugins()
/external/mockito/src/test/java/org/mockitousage/plugins/
DMockitoPluginsTest.java13 import org.mockito.plugins.MockMaker;
29 assertNotNull(plugins.getDefaultPlugin(MockMaker.class)); in provides_built_in_plugins()
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DDexmakerMockMaker.java25 import org.mockito.plugins.MockMaker;
38 public final class DexmakerMockMaker implements MockMaker, StackTraceCleanerProvider {
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/
DInlineStaticMockMaker.java27 import org.mockito.plugins.MockMaker;
43 public final class InlineStaticMockMaker implements MockMaker {
/external/mockito/src/main/java/org/mockito/plugins/
DMockitoPlugins.java43 MockMaker getInlineMockMaker(); in getInlineMockMaker()
DMockMaker.java45 public interface MockMaker { interface
/external/mockito/src/main/java/org/mockito/internal/configuration/
DClassPathLoader.java9 import org.mockito.plugins.MockMaker;
/external/mockito/
DREADME.version6 For Android, we need to combine Mockito with a MockMaker provided by the
/external/mockito/src/main/java/org/mockito/
DMockito.java25 import org.mockito.plugins.MockMaker;