Home
last modified time | relevance | path

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

/external/mockito/src/main/java/org/mockito/internal/creation/settings/
DCreationSettings.java22 public class CreationSettings<T> implements MockCreationSettings<T>, Serializable { class
42 public CreationSettings() {} in CreationSettings() method in CreationSettings
45 public CreationSettings(CreationSettings copy) { in CreationSettings() method in CreationSettings
67 public CreationSettings<T> setTypeToMock(Class<T> typeToMock) { in setTypeToMock()
77 public CreationSettings<T> setExtraInterfaces(Set<Class<?>> extraInterfaces) { in setExtraInterfaces()
101 public CreationSettings<T> setMockName(MockName mockName) { in setMockName()
110 public CreationSettings<T> setSerializableMode(SerializableMode serializableMode) { in setSerializableMode()
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java8 import org.mockito.internal.creation.settings.CreationSettings;
36 public class MockSettingsImpl<T> extends CreationSettings<T> implements MockSettings, MockCreationS…
226 return validatedSettings(typeToMock, (CreationSettings<T>) this); in build()
235 …private static <T> CreationSettings<T> validatedSettings(Class<T> typeToMock, CreationSettings<T> … in validatedSettings()
249 CreationSettings<T> settings = new CreationSettings<T>(source); in validatedSettings()
256 private static Set<Class<?>> prepareExtraInterfaces(CreationSettings settings) { in prepareExtraInterfaces()
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DByteBuddyMockMakerTest.java10 import org.mockito.internal.creation.settings.CreationSettings;
26 CreationSettings<Object> creationSettings = new CreationSettings<Object>(); in should_delegate_call()
DInlineByteBuddyMockMakerTest.java15 import org.mockito.internal.creation.settings.CreationSettings;
126 MockCreationSettings<FinalClass> settings = new CreationSettings<FinalClass>() in should_fail_at_creating_a_mock_of_a_final_class_with_explicit_serialization()
143 MockCreationSettings<FinalClass> settings = new CreationSettings<FinalClass>() in should_fail_at_creating_a_mock_of_a_final_class_with_extra_interfaces()
/external/mockito/src/test/java/org/mockito/internal/listeners/
DStubbingLookupNotifierTest.java10 import org.mockito.internal.creation.settings.CreationSettings;
30 CreationSettings creationSettings = mock(CreationSettings.class);
/external/mockito/src/main/java/org/mockito/internal/junit/
DStrictStubsRunnerTestListener.java7 import org.mockito.internal.creation.settings.CreationSettings;
27 ((CreationSettings) settings).getStubbingLookupListeners().add(stubbingLookupListener); in onMockCreated()
DUniversalTestListener.java7 import org.mockito.internal.creation.settings.CreationSettings;
81 ((CreationSettings) settings).getStubbingLookupListeners().add(stubbingLookupListener); in onMockCreated()
/external/mockito/src/main/java/org/mockito/internal/util/
DMockUtil.java10 import org.mockito.internal.creation.settings.CreationSettings;
92 if (mockName.isDefault() && mockSettings instanceof CreationSettings) { in maybeRedefineMockName()
93 ((CreationSettings) mockSettings).setMockName(new MockNameImpl(newName)); in maybeRedefineMockName()
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsDeepStubs.java10 import org.mockito.internal.creation.settings.CreationSettings;
125CreationSettings mockSettings = (CreationSettings) MockUtil.getMockHandler(mock).getMockSettings(); in actualParameterizedType()
/external/mockito/src/main/java/org/mockito/internal/listeners/
DStubbingLookupNotifier.java7 import org.mockito.internal.creation.settings.CreationSettings;
18 … Collection<Stubbing> allStubbings, CreationSettings creationSettings) { in notifyStubbedAnswerLookup()
/external/mockito/src/main/java/org/mockito/internal/handler/
DMockHandlerImpl.java7 import org.mockito.internal.creation.settings.CreationSettings;
90 (CreationSettings) mockSettings); in handle()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DByteBuddyCrossClassLoaderSerializationSupport.java11 import org.mockito.internal.creation.settings.CreationSettings;
273 new CreationSettings() in resolveClass()