Home
last modified time | relevance | path

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

/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DMockMakerMultiplexer.java24 import org.mockito.plugins.MockMaker;
34 private final static MockMaker[] MOCK_MAKERS;
42 ArrayList<MockMaker> mockMakers = new ArrayList<>();
45 Class<? extends MockMaker> mockMakerClass = (Class<? extends MockMaker>)
59 MOCK_MAKERS = mockMakers.toArray(new MockMaker[]{});
64 for (MockMaker mockMaker : MOCK_MAKERS) { in createMock()
77 for (MockMaker mockMaker : MOCK_MAKERS) { in getHandler()
90 for (MockMaker mockMaker : MOCK_MAKERS) { in resetMock()
97 for (MockMaker mockMaker : MOCK_MAKERS) { in isTypeMockable()
110 for (MockMaker mockMaker : MOCK_MAKERS) { in clearMock()
[all …]
DInlineDexmakerMockMaker.java34 import org.mockito.plugins.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;
208 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Integer.class); in should_provide_reason_for_wrapper_class()
214 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int[].class); in should_provide_reason_for_vm_unsupported()
227 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(String.class); in is_type_mockable_excludes_String()
234 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Class.class); in is_type_mockable_excludes_Class()
241 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int.class); in is_type_mockable_excludes_primitive_classes()
253 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(anonymous.getClass()); in is_type_mockable_allows_anonymous()
260 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(SomeClass.class); in is_type_mockable_give_empty_reason_if_type_is_mockable()
267 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/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/mockito/src/main/java/org/mockito/internal/framework/
DDefaultMockitoFramework.java14 import org.mockito.plugins.MockMaker;
44 MockMaker mockMaker = Plugins.getMockMaker(); in getInlineMockMaker()
/external/dexmaker/
DAndroid.bp65 // Build Dexmaker's MockMaker, a plugin to Mockito
77 // Build dispatcher for Dexmaker's inline MockMaker
123 // Build agent for Dexmaker's inline MockMaker
132 // Build agent for Dexmaker's extended MockMaker
150 // Build Dexmaker's inline MockMaker, a plugin to Mockito
163 // Build Dexmaker's extended MockMaker, a plugin to Mockito
/external/mockito/src/main/java/org/mockito/plugins/
DMockitoPlugins.java43 MockMaker getInlineMockMaker(); in getInlineMockMaker()
DInlineMockMaker.java31 public interface InlineMockMaker extends MockMaker {
DMockMaker.java45 public interface MockMaker { interface
/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/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/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;