Home
last modified time | relevance | path

Searched refs:serializable (Results 1 – 25 of 146) sorted by relevance

123456

/external/mockito/src/test/java/org/mockitousage/basicapi/
DMocksSerializationTest.java49 Bar barMock = mock(Bar.class, withSettings().serializable()); in should_allow_method_delegation()
60 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_allow_mock_to_be_serializable()
69 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_allow_mock_and_boolean_value_to_serializable()
83 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_allow_mock_and_string_value_to_be_serializable()
98 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_all_mock_and_serializable_value_to_be_serialized()
112 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_serialize_method_call_with_parameters_that_are_serializable()
126 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_serialize_method_calls_using_any_string_matcher()
140 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_verify_called_n_times_for_serialized_mock()
156 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_verify_even_if_some_methods_called_after_serialization()
200 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_stub_even_if_some_methods_called_after_serialization()
[all …]
DMocksSerializationForAnnotationTest.java36 @Mock(serializable=true) Bar barMock;
37 @Mock(serializable=true) IMethods imethodsMock;
38 @Mock(serializable=true) IMethods imethodsMock2;
39 @Mock(serializable=true) Any anyMock;
40 @Mock(serializable=true) AlreadySerializable alreadySerializableMock;
41 @Mock(extraInterfaces={List.class},serializable=true) IMethods imethodsWithExtraInterfacesMock;
260 .serializable()); in should_serialize_with_real_object_spy()
324 @Mock(serializable=true)
/external/objenesis/tck/src/main/resources/org/objenesis/tck/candidates/
Dserializable-candidates.properties20 …s.tck.candidates.SerializableNoConstructor = No constructor (serializable)
21 …ates.SerializableDefaultPublicConstructor = Default public constructor (serializable)
22 …s.SerializableDefaultProtectedConstructor = Default protected constructor (serializable)
23 …tes.SerializableDefaultPackageConstructor = Default package constructor (serializable)
24 …tes.SerializableDefaultPrivateConstructor = Default private constructor (serializable)
29 ….SerializableConstructorThrowingException = Constructor throwing exception (serializable)
30 …ates.SerializableConstructorWithArguments = Constructor with arguments (serializable)
31 …lizableConstructorWithMandatoryArguments = Constructor with mandatory arguments (serializable)
Dcandidates.properties21 …s.tck.candidates.SerializableNoConstructor = No constructor (serializable)
23 …ates.SerializableDefaultPublicConstructor = Default public constructor (serializable)
25 …s.SerializableDefaultProtectedConstructor = Default protected constructor (serializable)
27 …tes.SerializableDefaultPackageConstructor = Default package constructor (serializable)
29 …tes.SerializableDefaultPrivateConstructor = Default private constructor (serializable)
36 ….SerializableConstructorThrowingException = Constructor throwing exception (serializable)
38 …ates.SerializableConstructorWithArguments = Constructor with arguments (serializable)
40 …lizableConstructorWithMandatoryArguments = Constructor with mandatory arguments (serializable)
/external/guava/guava/src/com/google/common/collect/
DOrdering.java103 @GwtCompatible(serializable = true)
122 @GwtCompatible(serializable = true)
134 @GwtCompatible(serializable = true)
160 @GwtCompatible(serializable = true)
188 @GwtCompatible(serializable = true)
222 @GwtCompatible(serializable = true)
235 @GwtCompatible(serializable = true)
331 @GwtCompatible(serializable = true)
342 @GwtCompatible(serializable = true)
353 @GwtCompatible(serializable = true)
[all …]
DLists.java86 @GwtCompatible(serializable = true)
108 @GwtCompatible(serializable = true)
140 @GwtCompatible(serializable = true)
157 @GwtCompatible(serializable = true)
182 @GwtCompatible(serializable = true)
205 @GwtCompatible(serializable = true)
230 @GwtCompatible(serializable = true)
255 @GwtCompatible(serializable = true)
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/serializable/
DSerializableChecker.java11 package com.ibm.icu.dev.tool.serializable;
26 import com.ibm.icu.dev.test.serializable.SerializableTestUtility;
38 private static Class serializable; field in SerializableChecker
60 serializable = Class.forName("java.io.Serializable");
99 if (serializable.isAssignableFrom(c) /*&& in visit()
/external/mockito/src/test/java/org/mockitousage/serialization/
DDeepStubsSerializableTest.java22 …leClass = mock(SampleClass.class, withSettings().defaultAnswer(RETURNS_DEEP_STUBS).serializable()); in should_serialize_and_deserialize_mock_created_with_deep_stubs()
37 …ubbed = mock(ListContainer.class, withSettings().defaultAnswer(RETURNS_DEEP_STUBS).serializable()); in should_serialize_and_deserialize_parameterized_class_mocked_with_deep_stubs()
51 …ubbed = mock(ListContainer.class, withSettings().defaultAnswer(RETURNS_DEEP_STUBS).serializable()); in should_discard_generics_metadata_when_serialized_then_disabling_deep_stubs_with_generics()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowIntentTest.java114 TestSerializable serializable = new TestSerializable("some string"); in testSerializableExtra() local
115 assertSame(intent, intent.putExtra("foo", serializable)); in testSerializableExtra()
116 assertEquals(serializable, intent.getExtras().get("foo")); in testSerializableExtra()
117 assertEquals(serializable, intent.getSerializableExtra("foo")); in testSerializableExtra()
123 ArrayList<Parcelable> serializable = new ArrayList<>(); in testSerializableOfParcelableExtra() local
124 serializable.add(new TestParcelable(12)); in testSerializableOfParcelableExtra()
125 assertSame(intent, intent.putExtra("foo", serializable)); in testSerializableOfParcelableExtra()
126 assertEquals(serializable, intent.getExtras().get("foo")); in testSerializableOfParcelableExtra()
127 assertEquals(serializable, intent.getSerializableExtra("foo")); in testSerializableOfParcelableExtra()
/external/mockito/src/main/java/org/mockito/internal/configuration/
DMockAnnotationProcessor.java32 if(annotation.serializable()){ in processAnnotationForMock()
33 mockSettings.serializable(); in processAnnotationForMock()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLists.java84 @GwtCompatible(serializable = true)
106 @GwtCompatible(serializable = true)
138 @GwtCompatible(serializable = true)
155 @GwtCompatible(serializable = true)
180 @GwtCompatible(serializable = true)
203 @GwtCompatible(serializable = true)
228 @GwtCompatible(serializable = true)
253 @GwtCompatible(serializable = true)
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCoverageTest.java9 package com.ibm.icu.dev.test.serializable;
19 import com.ibm.icu.dev.test.serializable.SerializableTestUtility.Handler;
DSerializableWriter.java11 package com.ibm.icu.dev.test.serializable;
18 import com.ibm.icu.dev.test.serializable.SerializableTestUtility.Handler;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DCoverageTest.java10 package android.icu.dev.test.serializable;
20 import android.icu.dev.test.serializable.SerializableTestUtility.Handler;
DSerializableWriter.java12 package android.icu.dev.test.serializable;
19 import android.icu.dev.test.serializable.SerializableTestUtility.Handler;
/external/mockito/src/main/java/org/mockito/
DMockSettings.java168 MockSettings serializable(); in serializable() method
187 MockSettings serializable(SerializableMode mode); in serializable() method
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DPredicates.java54 @GwtCompatible(serializable = true)
62 @GwtCompatible(serializable = true)
71 @GwtCompatible(serializable = true)
80 @GwtCompatible(serializable = true)
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java44 public MockSettings serializable() { in serializable() method in MockSettingsImpl
45 return serializable(SerializableMode.BASIC); in serializable()
49 public MockSettings serializable(SerializableMode mode) { in serializable() method in MockSettingsImpl
/external/mockito/src/test/java/org/mockito/internal/creation/
DMockSettingsImplTest.java73 mockSettingsImpl.serializable(); in shouldSetMockToBeSerializable()
85 mockSettingsImpl.serializable(); in shouldKnowIfIsSerializable()
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
DOpenedSocket.java115 public void write(Serializable serializable) throws IOException { in write() argument
116 output.writeObject(serializable); in write()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DMetadataTest.java176 Metadata serializable = new Metadata(); in testMergeByteConstructed() local
177 serializable.merge(raw); in testMergeByteConstructed()
179 byte[][] serialized = serializable.serialize(); in testMergeByteConstructed()
182 assertEquals(new Fish(LANCE), serializable.get(KEY)); in testMergeByteConstructed()
/external/guava/guava/src/com/google/common/base/
DPredicates.java57 @GwtCompatible(serializable = true)
65 @GwtCompatible(serializable = true)
74 @GwtCompatible(serializable = true)
83 @GwtCompatible(serializable = true)
/external/turbine/javatests/com/google/turbine/parse/testdata/
Dannodecl3.input2 boolean serializable() default false;
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCommonSuperclassTest.java280 String serializable = "Ljava/io/Serializable;"; in testGetCommonSuperclass_arrays() local
325 superclassTest(serializable, one1, serializable); in testGetCommonSuperclass_arrays()
/external/turbine/javatests/com/google/turbine/lower/testdata/
Dannotation_bool_default.test5 boolean serializable() default false;

123456