/external/guice/core/test/com/google/inject/ |
Asserts.java | 129 * Fails unless {@code object} doesn't equal itself when reserialized. 133 Object reserialized = reserialize(object); 134 assertEquals(object, reserialized); 135 assertEquals(object.hashCode(), reserialized.hashCode()); 139 * Fails unless {@code object} has the same toString value when reserialized. 142 Object reserialized = reserialize(object); 143 assertEquals(object.toString(), reserialized.toString()); 151 @SuppressWarnings("unchecked") // the reserialized type is assignable 152 E reserialized = (E) new ObjectInputStream(in).readObject(); 153 return reserialized; [all...] |
ProvisionExceptionTest.java | 151 ProvisionException reserialized = reserialize(expected); local 152 assertContains(reserialized.getMessage(),
|
/libcore/luni/src/test/java/libcore/util/ |
SerializationTester.java | 66 T reserialized = (T) deserialize(serialize(value)); local 67 assertTrue("User-constructed value doesn't equal itself, reserialized", 68 equals(value, reserialized)); 73 verify(reserialized);
|
/external/protobuf/python/google/protobuf/internal/ |
message_factory_test.py | 83 reserialized = converted.SerializeToString() 84 self.assertEquals(serialized, reserialized) 85 result = cls.FromString(reserialized)
|
unknown_fields_test.py | 163 reserialized = proto.SerializeToString() 165 new_raw.MergeFromString(reserialized)
|
/external/guava/guava-tests/test/com/google/common/base/ |
PredicatesTest.java | 644 Predicate<Class<?>> reserialized = local 647 assertEvalsLike(predicate, reserialized, Integer.class); 648 assertEvalsLike(predicate, reserialized, Float.class); 649 assertEvalsLike(predicate, reserialized, null); 980 Predicate<? super Integer> reserialized = local [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
TypeTokenTest.java | 1503 TypeToken<Map<String, Integer>> reserialized = reserialize( local [all...] |