Home
last modified time | relevance | path

Searched refs:serializeMock (Results 1 – 5 of 5) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/basicapi/
DMocksSerializationForAnnotationTest.java64 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_allow_mock_and_boolean_value_to_serializable()
78 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_allow_mock_and_string_value_to_be_serializable()
92 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_all_mock_and_serializable_value_to_be_serialized()
105 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_serialize_method_call_with_parameters_that_are_serializable()
118 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_serialize_method_calls_using_any_string_matcher()
132 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_verify_called_n_times_for_serialized_mock()
144 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_verify_even_if_some_methods_called_after_serialization()
186 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_stub_even_if_some_methods_called_after_serialization()
201 ByteArrayOutputStream serialized = serializeMock(imethodsMock); in should_verify_call_order_for_serialized_mock()
202 ByteArrayOutputStream serialized2 = serializeMock(imethodsMock2); in should_verify_call_order_for_serialized_mock()
[all …]
DMocksSerializationTest.java73 ByteArrayOutputStream serialized = serializeMock(mock); in should_allow_mock_and_boolean_value_to_serializable()
88 ByteArrayOutputStream serialized = serializeMock(mock); in should_allow_mock_and_string_value_to_be_serializable()
103 ByteArrayOutputStream serialized = serializeMock(mock); in should_all_mock_and_serializable_value_to_be_serialized()
117 ByteArrayOutputStream serialized = serializeMock(mock); in should_serialize_method_call_with_parameters_that_are_serializable()
131 ByteArrayOutputStream serialized = serializeMock(mock); in should_serialize_method_calls_using_any_string_matcher()
146 ByteArrayOutputStream serialized = serializeMock(mock); in should_verify_called_n_times_for_serialized_mock()
160 ByteArrayOutputStream serialized = serializeMock(mock); in should_verify_even_if_some_methods_called_after_serialization()
204 ByteArrayOutputStream serialized = serializeMock(mock); in should_stub_even_if_some_methods_called_after_serialization()
221 ByteArrayOutputStream serialized = serializeMock(mock); in should_verify_call_order_for_serialized_mock()
222 ByteArrayOutputStream serialized2 = serializeMock(mock2); in should_verify_call_order_for_serialized_mock()
[all …]
/external/mockito/src/test/java/org/mockitoutil/
DSimpleSerializationUtil.java16 ByteArrayOutputStream os = serializeMock(obj); in serializeAndBack()
32 public static ByteArrayOutputStream serializeMock(Object mock) throws IOException { in serializeMock() method in SimpleSerializationUtil
/external/mockito/src/test/java/org/mockitousage/serialization/
DParallelSerializationTest.java47 … return SimpleSerializationUtil.serializeMock(iMethods_that_store_invocations).toByteArray(); in single_mock_being_serialized_in_different_classloaders_by_multiple_threads()
DAcrossClassLoaderSerializationTest.java74 return SimpleSerializationUtil.serializeMock(mock).toByteArray();