/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
D | MockMakerMultiplexer.java | 23 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()
|
D | InlineDexmakerMockMaker.java | 33 import org.mockito.plugins.MockMaker; 57 public final class InlineDexmakerMockMaker implements MockMaker {
|
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/ |
D | PluginRegistry.java | 11 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()
|
D | DefaultMockitoPlugins.java | 11 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()
|
D | Plugins.java | 9 import org.mockito.plugins.MockMaker; 33 public static MockMaker getMockMaker() { in getMockMaker()
|
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | SubclassByteBuddyMockMakerTest.java | 9 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()
|
D | InlineByteBuddyMockMakerTest.java | 21 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()
|
D | AbstractByteBuddyMockMakerTest.java | 18 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/ |
D | AndroidByteBuddyMockMaker.java | 12 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/ |
D | ClassCreatingMockMaker.java | 8 import org.mockito.plugins.MockMaker; 10 interface ClassCreatingMockMaker extends MockMaker {
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
D | MockUtil.java | 16 import org.mockito.plugins.MockMaker; 17 import org.mockito.plugins.MockMaker.TypeMockability; 24 private static final MockMaker mockMaker = Plugins.getMockMaker();
|
D | MockCreationValidator.java | 16 import org.mockito.plugins.MockMaker.TypeMockability;
|
/external/dexmaker/ |
D | Android.bp | 28 // 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/ |
D | DefaultMockitoPluginsTest.java | 12 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/ |
D | MockitoPluginsTest.java | 13 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/ |
D | DexmakerMockMaker.java | 25 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/ |
D | InlineStaticMockMaker.java | 27 import org.mockito.plugins.MockMaker; 43 public final class InlineStaticMockMaker implements MockMaker {
|
/external/mockito/src/main/java/org/mockito/plugins/ |
D | MockitoPlugins.java | 43 MockMaker getInlineMockMaker(); in getInlineMockMaker()
|
D | MockMaker.java | 45 public interface MockMaker { interface
|
/external/mockito/src/main/java/org/mockito/internal/configuration/ |
D | ClassPathLoader.java | 9 import org.mockito.plugins.MockMaker;
|
/external/mockito/ |
D | README.version | 6 For Android, we need to combine Mockito with a MockMaker provided by the
|
/external/mockito/src/main/java/org/mockito/ |
D | Mockito.java | 25 import org.mockito.plugins.MockMaker;
|