/libcore/luni/src/test/java/tests/targets/security/ |
D | KeyStoreTest.java | 56 fail(e.getMessage()); in testKeyStoreLoad() 63 fail(e.getMessage()); in testKeyStoreLoad() 65 fail(e.getMessage()); in testKeyStoreLoad() 67 fail(e.getMessage()); in testKeyStoreLoad() 74 fail(e.getMessage()); in testKeyStoreLoad() 83 fail(e.getMessage()); in testKeyStoreCreate() 89 fail(e.getMessage()); in testKeyStoreCreate() 91 fail(e.getMessage()); in testKeyStoreCreate() 93 fail(e.getMessage()); in testKeyStoreCreate() 100 fail(e.getMessage()); in testKeyStoreCreate() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | AssertionErrorTest.java | 26 assertNull(e.getMessage()); in test_Constructor() 33 assertEquals("toString", e.getMessage()); in test_ConstructorObject() 38 assertEquals(npe.toString(), e.getMessage()); in test_ConstructorObject() 44 assertEquals("true", e.getMessage()); in test_ConstructorBoolean() 50 assertEquals("a", e.getMessage()); in test_ConstructorChar() 56 assertEquals("1", e.getMessage()); in test_ConstructorInt() 62 assertEquals("1", e.getMessage()); in test_ConstructorLong() 68 assertEquals("1.0", e.getMessage()); in test_ConstructorFloat() 74 assertEquals("1.0", e.getMessage()); in test_ConstructorDouble()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest3.java | 387 fail("Unable to read BLOCKDATA : " + e.getMessage()); in test_18_81_writeObject() 389 fail("IOException testing BLOCKDATALONG : " + e.getMessage()); in test_18_81_writeObject() 414 + e.getMessage()); in test_18_82_writeObject() 417 + e.getMessage()); in test_18_82_writeObject() 443 + e.getMessage()); in test_18_83_writeObject() 446 + e.getMessage()); in test_18_83_writeObject() 472 + e.getMessage()); in test_18_84_writeObject() 475 + e.getMessage()); in test_18_84_writeObject() 521 + e.getMessage()); in test_18_86_writeObject() 524 + e.getMessage()); in test_18_86_writeObject() [all …]
|
D | SerializationStressTest4.java | 86 + e.getMessage()); in test_writeObject_EventObject() 89 + e.getMessage()); in test_writeObject_EventObject() 118 + e.getMessage()); in test_writeObject_Collections_EmptySet() 121 + e.getMessage()); in test_writeObject_Collections_EmptySet() 151 + e.getMessage()); in test_writeObject_Collections_EmptyMap() 154 + e.getMessage()); in test_writeObject_Collections_EmptyMap() 180 + e.getMessage()); in test_writeObject_Character() 183 + e.getMessage()); in test_writeObject_Character() 245 + e.getMessage()); in test_writeObject_Format() 248 + e.getMessage()); in test_writeObject_Format() [all …]
|
D | SerializationStressTest1.java | 385 fail("IOException serializing data : " + e.getMessage()); in test_18_1_writeObject() 388 + e.getMessage()); in test_18_1_writeObject() 411 fail("IOException serializing data : " + e.getMessage()); in test_18_2_writeObject() 414 + e.getMessage()); in test_18_2_writeObject() 439 fail("IOException serializing data : " + e.getMessage()); in test_18_3_writeObject() 442 + e.getMessage()); in test_18_3_writeObject() 467 fail("IOException serializing data : " + e.getMessage()); in test_18_4_writeObject() 470 + e.getMessage()); in test_18_4_writeObject() 495 fail("IOException serializing data : " + e.getMessage()); in test_18_5_writeObject() 498 + e.getMessage()); in test_18_5_writeObject() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | FactoryConfigurationErrorTest.java | 26 assertNull(fce.getMessage()); in test_Constructor() 36 assertNotNull(fce.getMessage()); in test_ConstructorLjava_lang_Exception() 44 assertEquals(e.toString(), fce.getMessage()); in test_ConstructorLjava_lang_Exception() 54 assertNotNull(fce.getMessage()); in test_ConstructorLjava_lang_ExceptionLjava_lang_String() 62 assertEquals("msg", fce.getMessage()); in test_ConstructorLjava_lang_ExceptionLjava_lang_String() 69 assertEquals("Oops!", fce.getMessage()); in test_ConstructorLjava_lang_String() 88 assertNull(new FactoryConfigurationError().getMessage()); in test_getMessage() 90 new FactoryConfigurationError("msg1").getMessage()); in test_getMessage() 93 new Exception("msg2")).getMessage()); in test_getMessage() 96 new NullPointerException()).getMessage()); in test_getMessage()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateEncodingExceptionTest.java | 50 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateEncodingException01() 64 .getMessage(), msgs[i]); in testCertificateEncodingException02() 77 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateEncodingException03() 90 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateEncodingException04() 102 if (tE.getMessage() != null) { in testCertificateEncodingException05() 104 String getM = tE.getMessage(); in testCertificateEncodingException05() 121 assertNull("getMessage() must return null", tE.getMessage()); in testCertificateEncodingException06() 135 .getMessage(), msgs[i]); in testCertificateEncodingException07() 148 if (tE.getMessage() != null) { in testCertificateEncodingException08() 150 String getM = tE.getMessage(); in testCertificateEncodingException08() [all …]
|
D | CertificateExceptionTest.java | 49 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateException01() 63 .getMessage(), msgs[i]); in testCertificateException02() 76 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateException03() 88 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateException04() 99 if (tE.getMessage() != null) { in testCertificateException05() 101 String getM = tE.getMessage(); in testCertificateException05() 117 assertNull("getMessage() must return null", tE.getMessage()); in testCertificateException06() 131 .getMessage(), msgs[i]); in testCertificateException07() 143 if (tE.getMessage() != null) { in testCertificateException08() 145 String getM = tE.getMessage(); in testCertificateException08() [all …]
|
D | CertificateParsingExceptionTest.java | 50 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateParsingException01() 64 .getMessage(), msgs[i]); in testCertificateParsingException02() 77 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateParsingException03() 89 assertNull("getMessage() must return null.", tE.getMessage()); in testCertificateParsingException04() 100 if (tE.getMessage() != null) { in testCertificateParsingException05() 102 String getM = tE.getMessage(); in testCertificateParsingException05() 119 assertNull("getMessage() must return null", tE.getMessage()); in testCertificateParsingException06() 133 .getMessage(), msgs[i]); in testCertificateParsingException07() 146 if (tE.getMessage() != null) { in testCertificateParsingException08() 148 String getM = tE.getMessage(); in testCertificateParsingException08() [all …]
|
D | CertPathBuilderExceptionTest.java | 50 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathBuilderException01() 64 .getMessage(), msgs[i]); in testCertPathBuilderException02() 77 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathBuilderException03() 89 assertNull("getMessage() must return null.", tE.getMessage()); in testCertPathBuilderException04() 100 if (tE.getMessage() != null) { in testCertPathBuilderException05() 102 String getM = tE.getMessage(); in testCertPathBuilderException05() 118 assertNull("getMessage() must return null", tE.getMessage()); in testCertPathBuilderException06() 132 .getMessage(), msgs[i]); in testCertPathBuilderException07() 144 if (tE.getMessage() != null) { in testCertPathBuilderException08() 146 String getM = tE.getMessage(); in testCertPathBuilderException08() [all …]
|
D | CRLExceptionTest.java | 48 assertNull("getMessage() must return null.", tE.getMessage()); in testCRLException01() 62 .getMessage(), msgs[i]); in testCRLException02() 74 assertNull("getMessage() must return null.", tE.getMessage()); in testCRLException03() 85 assertNull("getMessage() must return null.", tE.getMessage()); in testCRLException04() 95 if (tE.getMessage() != null) { in testCRLException05() 97 String getM = tE.getMessage(); in testCRLException05() 113 assertNull("getMessage() must return null", tE.getMessage()); in testCRLException06() 127 .getMessage(), msgs[i]); in testCRLException07() 139 if (tE.getMessage() != null) { in testCRLException08() 141 String getM = tE.getMessage(); in testCRLException08() [all …]
|
D | CertStoreExceptionTest.java | 48 assertNull("getMessage() must return null.", tE.getMessage()); in testCertStoreException01() 62 .getMessage(), msgs[i]); in testCertStoreException02() 74 assertNull("getMessage() must return null.", tE.getMessage()); in testCertStoreException03() 86 assertNull("getMessage() must return null.", tE.getMessage()); in testCertStoreException04() 97 if (tE.getMessage() != null) { in testCertStoreException05() 99 String getM = tE.getMessage(); in testCertStoreException05() 115 assertNull("getMessage() must return null", tE.getMessage()); in testCertStoreException06() 129 .getMessage(), msgs[i]); in testCertStoreException07() 141 if (tE.getMessage() != null) { in testCertStoreException08() 143 String getM = tE.getMessage(); in testCertStoreException08() [all …]
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | InvalidKeySpecExceptionTest.java | 49 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeySpecException01() 63 .getMessage(), msgs[i]); in testInvalidKeySpecException02() 76 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeySpecException03() 88 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeySpecException04() 99 if (tE.getMessage() != null) { in testInvalidKeySpecException05() 101 String getM = tE.getMessage(); in testInvalidKeySpecException05() 117 assertNull("getMessage() must return null", tE.getMessage()); in testInvalidKeySpecException06() 131 .getMessage(), msgs[i]); in testInvalidKeySpecException07() 143 if (tE.getMessage() != null) { in testInvalidKeySpecException08() 145 String getM = tE.getMessage(); in testInvalidKeySpecException08() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarExceptionTest.java | 32 assertNotSame(ex.getMessage(), ex1.getMessage()); in test_Constructor() 34 assertSame(ex.getMessage(), ex2.getMessage()); in test_Constructor() 41 assertNotSame(ex1.getMessage(), ex2.getMessage()); in test_ConstructorLjava_lang_String()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStoreExceptionTest.java | 48 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyStoreException01() 62 .getMessage(), msgs[i]); in testKeyStoreException02() 74 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyStoreException03() 85 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyStoreException04() 96 if (tE.getMessage() != null) { in testKeyStoreException05() 98 String getM = tE.getMessage(); in testKeyStoreException05() 114 assertNull("getMessage() must return null", tE.getMessage()); in testKeyStoreException06() 128 .getMessage(), msgs[i]); in testKeyStoreException07() 140 if (tE.getMessage() != null) { in testKeyStoreException08() 142 String getM = tE.getMessage(); in testKeyStoreException08() [all …]
|
D | InvalidAlgorithmParameterExceptionTest.java | 50 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidAlgorithmParameterException01() 64 .getMessage(), msgs[i]); in testInvalidAlgorithmParameterException02() 78 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidAlgorithmParameterException03() 91 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidAlgorithmParameterException04() 103 if (tE.getMessage() != null) { in testInvalidAlgorithmParameterException05() 105 String getM = tE.getMessage(); in testInvalidAlgorithmParameterException05() 123 assertNull("getMessage() must return null", tE.getMessage()); in testInvalidAlgorithmParameterException06() 138 .getMessage(), msgs[i]); in testInvalidAlgorithmParameterException07() 152 if (tE.getMessage() != null) { in testInvalidAlgorithmParameterException08() 154 String getM = tE.getMessage(); in testInvalidAlgorithmParameterException08() [all …]
|
D | SignatureExceptionTest.java | 48 assertNull("getMessage() must return null.", tE.getMessage()); in testSignatureException01() 62 .getMessage(), msgs[i]); in testSignatureException02() 74 assertNull("getMessage() must return null.", tE.getMessage()); in testSignatureException03() 86 assertNull("getMessage() must return null.", tE.getMessage()); in testSignatureException04() 97 if (tE.getMessage() != null) { in testSignatureException05() 99 String getM = tE.getMessage(); in testSignatureException05() 115 assertNull("getMessage() must return null", tE.getMessage()); in testSignatureException06() 129 .getMessage(), msgs[i]); in testSignatureException07() 141 if (tE.getMessage() != null) { in testSignatureException08() 143 String getM = tE.getMessage(); in testSignatureException08() [all …]
|
D | NoSuchAlgorithmExceptionTest.java | 49 assertNull("getMessage() must return null.", tE.getMessage()); in testNoSuchAlgorithmException01() 63 .getMessage(), msgs[i]); in testNoSuchAlgorithmException02() 76 assertNull("getMessage() must return null.", tE.getMessage()); in testNoSuchAlgorithmException03() 88 assertNull("getMessage() must return null.", tE.getMessage()); in testNoSuchAlgorithmException04() 99 if (tE.getMessage() != null) { in testNoSuchAlgorithmException05() 101 String getM = tE.getMessage(); in testNoSuchAlgorithmException05() 117 assertNull("getMessage() must return null", tE.getMessage()); in testNoSuchAlgorithmException06() 131 .getMessage(), msgs[i]); in testNoSuchAlgorithmException07() 143 if (tE.getMessage() != null) { in testNoSuchAlgorithmException08() 145 String getM = tE.getMessage(); in testNoSuchAlgorithmException08() [all …]
|
D | GeneralSecurityExceptionTest.java | 49 assertNull("getMessage() must return null.", tE.getMessage()); in testGeneralSecurityException01() 63 .getMessage(), msgs[i]); in testGeneralSecurityException02() 76 assertNull("getMessage() must return null.", tE.getMessage()); in testGeneralSecurityException03() 88 assertNull("getMessage() must return null.", tE.getMessage()); in testGeneralSecurityException04() 99 if (tE.getMessage() != null) { in testGeneralSecurityException05() 101 String getM = tE.getMessage(); in testGeneralSecurityException05() 117 assertNull("getMessage() must return null", tE.getMessage()); in testGeneralSecurityException06() 131 .getMessage(), msgs[i]); in testGeneralSecurityException07() 143 if (tE.getMessage() != null) { in testGeneralSecurityException08() 145 String getM = tE.getMessage(); in testGeneralSecurityException08() [all …]
|
D | KeyExceptionTest.java | 48 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyException01() 62 .getMessage(), msgs[i]); in testKeyException02() 74 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyException03() 85 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyException04() 95 if (tE.getMessage() != null) { in testKeyException05() 97 String getM = tE.getMessage(); in testKeyException05() 113 assertNull("getMessage() must return null", tE.getMessage()); in testKeyException06() 127 .getMessage(), msgs[i]); in testKeyException07() 139 if (tE.getMessage() != null) { in testKeyException08() 141 String getM = tE.getMessage(); in testKeyException08() [all …]
|
D | InvalidKeyExceptionTest.java | 48 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeyException01() 62 .getMessage(), msgs[i]); in testInvalidKeyException02() 74 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeyException03() 86 assertNull("getMessage() must return null.", tE.getMessage()); in testInvalidKeyException04() 97 if (tE.getMessage() != null) { in testInvalidKeyException05() 99 String getM = tE.getMessage(); in testInvalidKeyException05() 115 assertNull("getMessage() must return null", tE.getMessage()); in testInvalidKeyException06() 129 .getMessage(), msgs[i]); in testInvalidKeyException07() 141 if (tE.getMessage() != null) { in testInvalidKeyException08() 143 String getM = tE.getMessage(); in testInvalidKeyException08() [all …]
|
D | DigestExceptionTest.java | 48 assertNull("getMessage() must return null.", tE.getMessage()); in testDigestException01() 62 .getMessage(), msgs[i]); in testDigestException02() 74 assertNull("getMessage() must return null.", tE.getMessage()); in testDigestException03() 85 assertNull("getMessage() must return null.", tE.getMessage()); in testDigestException04() 95 if (tE.getMessage() != null) { in testDigestException05() 97 String getM = tE.getMessage(); in testDigestException05() 113 assertNull("getMessage() must return null", tE.getMessage()); in testDigestException06() 127 .getMessage(), msgs[i]); in testDigestException07() 139 if (tE.getMessage() != null) { in testDigestException08() 141 String getM = tE.getMessage(); in testDigestException08() [all …]
|
D | ProviderExceptionTest.java | 48 assertNull("getMessage() must return null.", tE.getMessage()); in testProviderException01() 62 .getMessage(), msgs[i]); in testProviderException02() 74 assertNull("getMessage() must return null.", tE.getMessage()); in testProviderException03() 85 assertNull("getMessage() must return null.", tE.getMessage()); in testProviderException04() 96 if (tE.getMessage() != null) { in testProviderException05() 98 String getM = tE.getMessage(); in testProviderException05() 114 assertNull("getMessage() must return null", tE.getMessage()); in testProviderException06() 128 .getMessage(), msgs[i]); in testProviderException07() 140 if (tE.getMessage() != null) { in testProviderException08() 142 String getM = tE.getMessage(); in testProviderException08() [all …]
|
D | KeyManagementExceptionTest.java | 49 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyManagementException01() 63 .getMessage(), msgs[i]); in testKeyManagementException02() 76 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyManagementException03() 88 assertNull("getMessage() must return null.", tE.getMessage()); in testKeyManagementException04() 99 if (tE.getMessage() != null) { in testKeyManagementException05() 101 String getM = tE.getMessage(); in testKeyManagementException05() 117 assertNull("getMessage() must return null", tE.getMessage()); in testKeyManagementException06() 131 .getMessage(), msgs[i]); in testKeyManagementException07() 143 if (tE.getMessage() != null) { in testKeyManagementException08() 145 String getM = tE.getMessage(); in testKeyManagementException08() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ |
D | SAXExceptionTest.java | 31 assertNull(e.getMessage()); in testSAXParseException() 41 assertEquals(ERR, e.getMessage()); in testSAXException_String_Exception() 47 assertNull(e.getMessage()); in testSAXException_String_Exception() 53 assertEquals(ERR, e.getMessage()); in testSAXException_String_Exception() 61 assertEquals(ERR, e.getMessage()); in testSAXException_String() 67 assertNull(e.getMessage()); in testSAXException_String() 77 assertNull(e.getMessage()); in testSAXException_Exception() 83 assertNull(e.getMessage()); in testSAXException_Exception()
|