/libcore/luni/src/test/java/libcore/java/util/ |
TreeSetTest.java | 43 @Override protected void verify(NavigableSet<String> deserialized) { 44 assertEquals(0, deserialized.comparator().compare("X", "x")); 61 @Override protected void verify(SortedSet<String> deserialized) { 62 assertBounded(deserialized, deserialized == subSet); 79 @Override protected void verify(SortedSet<String> deserialized) { 80 assertBounded(deserialized, deserialized == subSet); 89 private void assertBounded(SortedSet<String> deserialized, boolean bounded) { 92 deserialized.add("e") [all...] |
TreeMapTest.java | 288 @Override protected void verify(NavigableMap<String, String> deserialized) { 289 assertEquals(0, deserialized.comparator().compare("X", "x")); 316 @Override protected void verify(SortedMap<String, String> deserialized) { 318 deserialized.put("e", "e"); 348 @Override protected void verify(SortedMap<String, String> deserialized) { 350 deserialized.put("e", "e"); 380 @Override protected void verify(NavigableMap<String, String> deserialized) { 381 assertEquals("b", deserialized.navigableKeySet().first()); 397 @Override protected void verify(TreeMap<String, String> deserialized) { 398 assertEquals(0, deserialized.comparator().compare("X", "x")) [all...] |
/external/guava/guava-gwt/src/com/google/common/collect/ |
ImmutableEnumSet_CustomFieldSerializer.java | 39 List<E> deserialized = Lists.newArrayList(); local 40 Collection_CustomFieldSerializerBase.deserialize(reader, deserialized); 46 return (ImmutableEnumSet<?>) Sets.immutableEnumSet(deserialized);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
DuplicateFormatFlagsExceptionTest.java | 65 Serializable deserialized) { 68 deserialized); 71 DuplicateFormatFlagsException desrEx = (DuplicateFormatFlagsException) deserialized;
|
FormatFlagsConversionMismatchExceptionTest.java | 82 Serializable deserialized) { 85 deserialized); 88 FormatFlagsConversionMismatchException desrEx = (FormatFlagsConversionMismatchException) deserialized;
|
IllegalFormatCodePointExceptionTest.java | 61 Serializable deserialized) { 64 deserialized); 67 IllegalFormatCodePointException desrEx = (IllegalFormatCodePointException) deserialized;
|
IllegalFormatConversionExceptionTest.java | 82 Serializable deserialized) { 85 deserialized); 88 IllegalFormatConversionException desrEx = (IllegalFormatConversionException) deserialized;
|
IllegalFormatFlagsExceptionTest.java | 65 Serializable deserialized) { 68 deserialized); 71 IllegalFormatFlagsException desrEx = (IllegalFormatFlagsException) deserialized;
|
IllegalFormatPrecisionExceptionTest.java | 62 Serializable deserialized) { 65 deserialized); 68 IllegalFormatPrecisionException desrEx = (IllegalFormatPrecisionException) deserialized;
|
IllegalFormatWidthExceptionTest.java | 64 Serializable deserialized) { 67 deserialized); 70 IllegalFormatWidthException desrEx = (IllegalFormatWidthException) deserialized;
|
MissingFormatArgumentExceptionTest.java | 66 Serializable deserialized) { 69 deserialized); 72 MissingFormatArgumentException desrEx = (MissingFormatArgumentException) deserialized;
|
MissingFormatWidthExceptionTest.java | 65 Serializable deserialized) { 68 deserialized); 71 MissingFormatWidthException desrEx = (MissingFormatWidthException) deserialized;
|
UnknownFormatConversionExceptionTest.java | 65 Serializable deserialized) { 68 deserialized); 71 UnknownFormatConversionException desrEx = (UnknownFormatConversionException) deserialized;
|
UnknownFormatFlagsExceptionTest.java | 65 Serializable deserialized) { 68 deserialized); 71 UnknownFormatFlagsException desrEx = (UnknownFormatFlagsException) deserialized;
|
/external/apache-harmony/nio_char/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/ |
MalformedInputExceptionTest.java | 54 Serializable deserialized) { 58 deserialized); 61 MalformedInputException desrEx = (MalformedInputException) deserialized;
|
UnmappableCharacterExceptionTest.java | 55 Serializable deserialized) { 59 deserialized); 62 UnmappableCharacterException desrEx = (UnmappableCharacterException) deserialized;
|
IllegalCharsetNameExceptionTest.java | 60 Serializable deserialized) { 67 // deserialized); 70 IllegalCharsetNameException desrEx = (IllegalCharsetNameException) deserialized;
|
UnsupportedCharsetExceptionTest.java | 59 Serializable deserialized) { 66 // deserialized); 69 UnsupportedCharsetException desrEx = (UnsupportedCharsetException) deserialized;
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 47 * compares reference and deserialized objects (needed only if tested objects do 81 * Tests that data objects can be serialized and deserialized without 96 * Tests that data objects can be deserialized from golden files, to verify 178 * Compares deserialized and reference objects. 181 * @param deserialized - deserialized object 183 void assertDeserialized(Serializable initial, Serializable deserialized); 188 public void assertDeserialized(Serializable initial, Serializable deserialized) { 189 assertEquals(initial, deserialized); 194 * Comparator for verifying that deserialized object is the same as initial 323 Serializable deserialized = getObject(test, ".golden.ser"); local 361 Serializable deserialized = getObject(test, ".golden." + i + ".ser"); local [all...] |
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
PatternSyntaxExceptionTest.java | 95 Serializable deserialized) { 99 deserialized); 102 PatternSyntaxException dserPatternSyntaxException = (PatternSyntaxException) deserialized;
|
/libcore/luni/src/test/java/libcore/util/ |
SerializationTester.java | 48 * Verifies that {@code deserialized} is valid. Implementations of this 49 * method may mutate {@code deserialized}. 51 protected void verify(T deserialized) throws Exception {} 61 T deserialized = (T) deserialize(hexDecode(golden)); local 62 assertTrue("User-constructed value doesn't equal deserialized golden value", 63 equals(value, deserialized)); 72 verify(deserialized); 112 * Returns a serialized-and-deserialized copy of {@code object}.
|
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 50 * compares reference and deserialized objects (needed only if tested objects do 127 * Tests that data objects can be serialized and deserialized without 142 * Tests that data objects can be deserialized from golden files, to verify 223 * Compares deserialized and reference objects. 227 * @param deserialized - 228 * deserialized object 230 void assertDeserialized(Serializable initial, Serializable deserialized); 236 Serializable deserialized) { 238 Assert.assertEquals(initial, deserialized); 243 * Comparator for verifying that deserialized object is the same as initial 471 Serializable deserialized = getObject(test, ".golden.ser"); local 518 Serializable deserialized = getObject(test, ".golden." + i + ".ser"); local [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/serialization/ |
KerberosKeyTest.java | 46 Serializable deserialized) { 49 KerberosKey desrKey = (KerberosKey) deserialized;
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
StatementEventTest.java | 100 Serializable deserialized) { 102 StatementEvent dserSt = (StatementEvent) deserialized;
|
/libcore/luni/src/test/java/libcore/java/io/ |
SerializationTest.java | 42 FieldMadeTransient deserialized = (FieldMadeTransient) SerializationTester.deserializeHex(s); local 43 assertEquals(0, deserialized.transientInt);
|