Home
last modified time | relevance | path

Searched refs:CreationSettings (Results 1 – 10 of 10) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/creation/settings/
DCreationSettings.java20 public class CreationSettings<T> implements MockCreationSettings<T>, Serializable { class
36 public CreationSettings() {} in CreationSettings() method in CreationSettings
39 public CreationSettings(CreationSettings copy) { in CreationSettings() method in CreationSettings
57 public CreationSettings<T> setTypeToMock(Class<T> typeToMock) { in setTypeToMock()
66 public CreationSettings<T> setExtraInterfaces(Set<Class<?>> extraInterfaces) { in setExtraInterfaces()
87 public CreationSettings<T> setMockName(MockName mockName) { in setMockName()
96 public CreationSettings<T> setSerializableMode(SerializableMode serializableMode) { in setSerializableMode()
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java10 import org.mockito.internal.creation.settings.CreationSettings;
28 public class MockSettingsImpl<T> extends CreationSettings<T> implements MockSettings, MockCreationS…
165 …private static <T> CreationSettings<T> validatedSettings(Class<T> typeToMock, CreationSettings<T> … in validatedSettings()
178 CreationSettings<T> settings = new CreationSettings<T>(source); in validatedSettings()
185 private static Set<Class<?>> prepareExtraInterfaces(CreationSettings settings) { in prepareExtraInterfaces()
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DByteBuddyMockMakerTest.java6 import org.mockito.internal.creation.settings.CreationSettings;
22 CreationSettings<Object> creationSettings = new CreationSettings<Object>(); in should_delegate_call()
DInlineByteBuddyMockMakerTest.java11 import org.mockito.internal.creation.settings.CreationSettings;
117 MockCreationSettings<FinalClass> settings = new CreationSettings<FinalClass>() in should_fail_at_creating_a_mock_of_a_final_class_with_explicit_serialization()
134 MockCreationSettings<FinalClass> settings = new CreationSettings<FinalClass>() in should_fail_at_creating_a_mock_of_a_final_class_with_extra_interfaces()
/external/mockito/src/main/java/org/mockito/internal/junit/
DStrictStubsRunnerTestListener.java3 import org.mockito.internal.creation.settings.CreationSettings;
23 ((CreationSettings) settings).getStubbingLookupListeners().add(stubbingLookupListener); in onMockCreated()
DUniversalTestListener.java3 import org.mockito.internal.creation.settings.CreationSettings;
78 ((CreationSettings) settings).getStubbingLookupListeners().add(stubbingLookupListener); in onMockCreated()
/external/mockito/src/main/java/org/mockito/internal/util/
DMockUtil.java13 import org.mockito.internal.creation.settings.CreationSettings;
82 if (mockName.isDefault() && mockSettings instanceof CreationSettings) { in maybeRedefineMockName()
83 ((CreationSettings) mockSettings).setMockName(new MockNameImpl(newName)); in maybeRedefineMockName()
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsDeepStubs.java11 import org.mockito.internal.creation.settings.CreationSettings;
125CreationSettings mockSettings = (CreationSettings) MockUtil.getMockHandler(mock).getMockSettings(); in actualParameterizedType()
/external/mockito/src/main/java/org/mockito/internal/handler/
DMockHandlerImpl.java9 import org.mockito.internal.creation.settings.CreationSettings;
132 …List<StubbingLookupListener> listeners = ((CreationSettings) mockSettings).getStubbingLookupListen… in notifyStubbedAnswerLookup()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DByteBuddyCrossClassLoaderSerializationSupport.java11 import org.mockito.internal.creation.settings.CreationSettings;
273 new CreationSettings() in resolveClass()