Home
last modified time | relevance | path

Searched refs:MockSettings (Results 1 – 14 of 14) sorted by relevance

/external/mockito/src/main/java/org/mockito/
DMockSettings.java46 public interface MockSettings extends Serializable { interface
67 MockSettings extraInterfaces(Class<?>... interfaces); in extraInterfaces()
87 MockSettings name(String name); in name()
129 MockSettings spiedInstance(Object instance); in spiedInstance()
150 MockSettings defaultAnswer(Answer defaultAnswer); in defaultAnswer()
168 MockSettings serializable(); in serializable()
187 MockSettings serializable(SerializableMode mode); in serializable()
204 MockSettings verboseLogging(); in verboseLogging()
222 MockSettings invocationListeners(InvocationListener... listeners); in invocationListeners()
239 MockSettings verificationStartedListeners(VerificationStartedListener... listeners); in verificationStartedListeners()
[all …]
DMockito.java1894 public static <T> T mock(Class<T> classToMock, MockSettings mockSettings) { in mock()
2944 public static MockSettings withSettings() { in withSettings()
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java7 import org.mockito.MockSettings;
36 public class MockSettingsImpl<T> extends CreationSettings<T> implements MockSettings, MockCreationS…
44 public MockSettings serializable() { in serializable()
49 public MockSettings serializable(SerializableMode mode) { in serializable()
55 public MockSettings extraInterfaces(Class<?>... extraInterfaces) { in extraInterfaces()
87 public MockSettings name(String name) { in name()
93 public MockSettings spiedInstance(Object spiedInstance) { in spiedInstance()
99 public MockSettings defaultAnswer(Answer defaultAnswer) { in defaultAnswer()
119 public MockSettings useConstructor(Object... constructorArgs) { in useConstructor()
129 public MockSettings outerInstance(Object outerClassInstance) { in outerInstance()
[all …]
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsDeepStubs.java7 import org.mockito.MockSettings;
102 …private MockSettings withSettingsUsing(GenericMetadataSupport returnTypeGenericMetadata, MockCreat… in withSettingsUsing()
103 MockSettings mockSettings = returnTypeGenericMetadata.hasRawExtraInterfaces() ? in withSettingsUsing()
111 …private MockSettings propagateSerializationSettings(MockSettings mockSettings, MockCreationSetting… in propagateSerializationSettings()
/external/mockito/src/main/java/org/mockito/internal/configuration/
DMockAnnotationProcessor.java8 import org.mockito.MockSettings;
23 MockSettings mockSettings = Mockito.withSettings(); in processAnnotationForMock()
DSpyAnnotationEngine.java15 import org.mockito.MockSettings;
83 MockSettings settings = withSettings().defaultAnswer(CALLS_REAL_METHODS) in spyNewInstance()
/external/mockito/src/test/java/org/mockito/internal/framework/
DDefaultMockitoFrameworkTest.java10 import org.mockito.MockSettings;
67 MockSettings settings = withSettings().name("my list"); in adds_creation_listener()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/
DStaticMockitoSessionBuilder.java19 import org.mockito.MockSettings;
90 public <T> StaticMockitoSessionBuilder mockStatic(Class<T> clazz, MockSettings settings) { in mockStatic()
DExtendedMockito.java20 import org.mockito.MockSettings;
/external/mockito/src/main/java/org/mockito/listeners/
DInvocationListener.java7 import org.mockito.MockSettings;
/external/mockito/src/main/java/org/mockito/invocation/
DMockHandler.java8 import org.mockito.MockSettings;
/external/mockito/src/main/java/org/mockito/junit/
DMockitoRule.java9 import org.mockito.MockSettings;
/external/mockito/src/main/java/org/mockito/mock/
DMockCreationSettings.java9 import org.mockito.MockSettings;
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java8 import org.mockito.MockSettings;
63 public <T> T mock(Class<T> typeToMock, MockSettings settings) { in mock()