Searched refs:SerializableMode (Results 1 – 18 of 18) sorted by relevance
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | MockFeatures.java | 7 import org.mockito.mock.SerializableMode; 16 final SerializableMode serializableMode; 19 …private MockFeatures(Class<T> mockedType, Set<Class<?>> interfaces, SerializableMode serializableM… in MockFeatures() 28 SerializableMode serializableMode, in withMockFeatures()
|
D | TypeCachingBytecodeGenerator.java | 8 import org.mockito.mock.SerializableMode; 52 private final SerializableMode serializableMode; 57 SerializableMode serializableMode,
|
D | ByteBuddyCrossClassLoaderSerializationSupport.java | 15 import org.mockito.mock.SerializableMode; 276 .setSerializableMode(SerializableMode.ACROSS_CLASSLOADERS)); in resolveClass()
|
D | SubclassBytecodeGenerator.java | 21 import org.mockito.mock.SerializableMode; 101 if (features.serializableMode == SerializableMode.ACROSS_CLASSLOADERS) { in mockClass()
|
D | InlineBytecodeGenerator.java | 31 import org.mockito.mock.SerializableMode; 135 || features.serializableMode != SerializableMode.NONE in mockClass()
|
/external/mockito/src/main/java/org/mockito/internal/creation/settings/ |
D | CreationSettings.java | 12 import org.mockito.mock.SerializableMode; 31 protected SerializableMode serializableMode = SerializableMode.NONE; 107 return serializableMode != SerializableMode.NONE; in isSerializable() 110 public CreationSettings<T> setSerializableMode(SerializableMode serializableMode) { in setSerializableMode() 116 public SerializableMode getSerializableMode() { in getSerializableMode()
|
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | TypeCachingMockBytecodeGeneratorTest.java | 9 import org.mockito.mock.SerializableMode; 43 SerializableMode.NONE, in ensure_cache_is_cleared_if_no_reference_to_classloader_and_classes() 72 SerializableMode.NONE, in ensure_cache_returns_same_instance() 79 SerializableMode.NONE, in ensure_cache_returns_same_instance() 111 SerializableMode.NONE, in ensure_cache_returns_different_instance_serializableMode() 118 SerializableMode.BASIC, in ensure_cache_returns_different_instance_serializableMode()
|
D | AbstractByteBuddyMockMakerTest.java | 17 import org.mockito.mock.SerializableMode; 96 …ckMaker.createMock(serializableSettingsFor(SerializableClass.class, SerializableMode.BASIC), dummy… in should_allow_serialization() 164 … <T> MockCreationSettings<T> serializableSettingsFor(Class<T> type, SerializableMode serializableM… in serializableSettingsFor()
|
D | InlineByteBuddyMockMakerTest.java | 20 import org.mockito.mock.SerializableMode; 128 .setSerializableMode(SerializableMode.BASIC); in should_fail_at_creating_a_mock_of_a_final_class_with_explicit_serialization()
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
D | MockCreationValidator.java | 15 import org.mockito.mock.SerializableMode; 58 public void validateConstructorUse(boolean usingConstructor, SerializableMode mode) { in validateConstructorUse() 59 if (usingConstructor && mode == SerializableMode.ACROSS_CLASSLOADERS) { in validateConstructorUse()
|
/external/mockito/src/main/java/org/mockito/ |
D | MockSettings.java | 14 import org.mockito.mock.SerializableMode; 187 MockSettings serializable(SerializableMode mode); in serializable()
|
D | Mockito.java | 24 import org.mockito.mock.SerializableMode;
|
/external/mockito/src/test/java/org/mockitousage/serialization/ |
D | AcrossClassLoaderSerializationTest.java | 11 import org.mockito.mock.SerializableMode; 69 Mockito.withSettings().serializable(SerializableMode.ACROSS_CLASSLOADERS)
|
/external/mockito/src/main/java/org/mockito/internal/creation/ |
D | MockSettingsImpl.java | 17 import org.mockito.mock.SerializableMode; 45 return serializable(SerializableMode.BASIC); in serializable() 49 public MockSettings serializable(SerializableMode mode) { in serializable()
|
/external/mockito/src/main/java/org/mockito/mock/ |
D | SerializableMode.java | 13 public enum SerializableMode { enum
|
D | MockCreationSettings.java | 58 SerializableMode getSerializableMode(); in getSerializableMode()
|
/external/mockito/src/test/java/org/mockitousage/constructor/ |
D | CreatingMocksWithConstructorTest.java | 10 import org.mockito.mock.SerializableMode; 264 …AbstractMessage.class, withSettings().useConstructor().serializable(SerializableMode.ACROSS_CLASSL… in prevents_across_jvm_serialization_with_constructor() 268 …ls("Mocks instantiated with constructor cannot be combined with " + SerializableMode.ACROSS_CLASSL… in prevents_across_jvm_serialization_with_constructor()
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/ |
D | Reporter.java | 30 import org.mockito.mock.SerializableMode; 831 public static MockitoException usingConstructorWithFancySerializable(SerializableMode mode) { in usingConstructorWithFancySerializable()
|