/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
D | MockMakerMultiplexer.java | 24 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 …]
|
D | InlineDexmakerMockMaker.java | 34 import org.mockito.plugins.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; 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()
|
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/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/mockito/src/main/java/org/mockito/internal/framework/ |
D | DefaultMockitoFramework.java | 14 import org.mockito.plugins.MockMaker; 44 MockMaker mockMaker = Plugins.getMockMaker(); in getInlineMockMaker()
|
/external/dexmaker/ |
D | Android.bp | 65 // 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/ |
D | MockitoPlugins.java | 43 MockMaker getInlineMockMaker(); in getInlineMockMaker()
|
D | InlineMockMaker.java | 31 public interface InlineMockMaker extends MockMaker {
|
D | MockMaker.java | 45 public interface MockMaker { interface
|
/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/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/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;
|