Home
last modified time | relevance | path

Searched refs:initial (Results 1 – 25 of 37) sorted by relevance

12

/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/
DSerializationTest.java182 void assertDeserialized(Serializable initial, Serializable deserialized); in assertDeserialized() argument
187 public void assertDeserialized(Serializable initial, Serializable deserialized) {
188 assertEquals(initial, deserialized);
196 public void assertDeserialized(Serializable initial, Serializable deserialized) {
197 assertSame(initial, deserialized);
205 public void assertDeserialized(Serializable initial, Serializable deserialized) {
206 Throwable initThr = (Throwable) initial;
230 public void assertDeserialized(Serializable initial, Serializable deserialized) {
232 PermissionCollection initPC = (PermissionCollection) initial;
387 Serializable initial = (Serializable) object; in verifySelf() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DIllegalFormatCodePointExceptionTest.java60 public void assertDeserialized(Serializable initial,
63 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
66 IllegalFormatCodePointException initEx = (IllegalFormatCodePointException) initial;
DUnknownFormatFlagsExceptionTest.java64 public void assertDeserialized(Serializable initial,
67 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
70 UnknownFormatFlagsException initEx = (UnknownFormatFlagsException) initial;
DMissingFormatWidthExceptionTest.java64 public void assertDeserialized(Serializable initial,
67 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
70 MissingFormatWidthException initEx = (MissingFormatWidthException) initial;
DUnknownFormatConversionExceptionTest.java64 public void assertDeserialized(Serializable initial,
67 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
70 UnknownFormatConversionException initEx = (UnknownFormatConversionException) initial;
DDuplicateFormatFlagsExceptionTest.java64 public void assertDeserialized(Serializable initial,
67 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
70 DuplicateFormatFlagsException initEx = (DuplicateFormatFlagsException) initial;
DMissingFormatArgumentExceptionTest.java65 public void assertDeserialized(Serializable initial,
68 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
71 MissingFormatArgumentException initEx = (MissingFormatArgumentException) initial;
DIllegalFormatFlagsExceptionTest.java64 public void assertDeserialized(Serializable initial,
67 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
70 IllegalFormatFlagsException initEx = (IllegalFormatFlagsException) initial;
DIllegalFormatPrecisionExceptionTest.java61 public void assertDeserialized(Serializable initial,
64 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
67 IllegalFormatPrecisionException initEx = (IllegalFormatPrecisionException) initial;
DIllegalFormatWidthExceptionTest.java63 public void assertDeserialized(Serializable initial,
66 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
69 IllegalFormatWidthException initEx = (IllegalFormatWidthException) initial;
DFormatFlagsConversionMismatchExceptionTest.java81 public void assertDeserialized(Serializable initial,
84 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
87 … FormatFlagsConversionMismatchException initEx = (FormatFlagsConversionMismatchException) initial;
DIllegalFormatConversionExceptionTest.java81 public void assertDeserialized(Serializable initial,
84 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
87 IllegalFormatConversionException initEx = (IllegalFormatConversionException) initial;
DRandomTest.java321 public void assertDeserialized(Serializable initial, Serializable deserialized) {
322 Random initialRand = (Random) initial;
DHashSetTest.java310 public void assertDeserialized(Serializable initial, Serializable deserialized) {
311 HashSet<String> initialHs = (HashSet<String>) initial;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DUnmappableCharacterExceptionTest.java54 public void assertDeserialized(Serializable initial,
58 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
61 UnmappableCharacterException initEx = (UnmappableCharacterException) initial;
DMalformedInputExceptionTest.java53 public void assertDeserialized(Serializable initial,
57 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial,
60 MalformedInputException initEx = (MalformedInputException) initial;
DIllegalCharsetNameExceptionTest.java59 public void assertDeserialized(Serializable initial,
69 IllegalCharsetNameException initEx = (IllegalCharsetNameException) initial;
DUnsupportedCharsetExceptionTest.java58 public void assertDeserialized(Serializable initial,
68 UnsupportedCharsetException initEx = (UnsupportedCharsetException) initial;
/libcore/luni/src/test/java/tests/security/cert/
DCertificateRevocationExceptionTest.java155 public void assertDeserialized(Serializable initial, Serializable deserialized) {
156 assertTrue(initial instanceof CertificateRevokedException);
159 CertificateRevokedException expected = (CertificateRevokedException) initial;
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternSyntaxExceptionTest.java130 public void assertDeserialized(Serializable initial, Serializable deserialized) {
133 SerializationTest.THROWABLE_COMPARATOR.assertDeserialized(initial, deserialized);
135 PatternSyntaxException initPatternSyntaxException = (PatternSyntaxException) initial;
/libcore/ojluni/src/main/java/java/time/zone/
DIcuZoneRulesProvider.java112 InitialTimeZoneRule initial = (InitialTimeZoneRule) rules[0]; in generateZoneRules() local
114 ZoneOffset baseStandardOffset = millisToOffset(initial.getRawOffset()); in generateZoneRules()
116 millisToOffset((initial.getRawOffset() + initial.getDSTSavings())); in generateZoneRules()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetSocketAddressTest.java96 public void assertDeserialized(Serializable initial,
99 InetSocketAddress init = (InetSocketAddress) initial;
DInet4AddressTest.java313 public void assertDeserialized(Serializable initial,
316 Inet4Address initAddr = (Inet4Address) initial;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/callback/
DPasswordCallbackTest.java128 public void assertDeserialized(Serializable initial, Serializable deserialized) { in assertDeserialized() argument
129 final PasswordCallback callback1 = (PasswordCallback) initial; in assertDeserialized()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPolicyChecker.java605 Set<String> initial = new HashSet<>(initPolicies); in rewriteLeafNodes() local
607 initial.remove(node.getValidPolicy()); in rewriteLeafNodes()
609 if (initial.isEmpty()) { in rewriteLeafNodes()
620 for (String policy : initial) { in rewriteLeafNodes()

12