Home
last modified time | relevance | path

Searched refs:getMessage (Results 1 – 25 of 477) sorted by relevance

12345678910>>...20

/libcore/luni/src/test/java/tests/targets/security/
DKeyStoreTest.java56 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/
DAssertionErrorTest.java26 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/javax/xml/parsers/
DFactoryConfigurationErrorTest.java26 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/libcore/java/util/jar/
DOldJarExceptionTest.java32 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest3.java387 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 …]
DSerializationStressTest1.java385 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 …]
DSerializationStressTest4.java84 + e.getMessage()); in test_writeObject_EventObject()
87 + e.getMessage()); in test_writeObject_EventObject()
116 + e.getMessage()); in test_writeObject_Collections_EmptySet()
119 + e.getMessage()); in test_writeObject_Collections_EmptySet()
149 + e.getMessage()); in test_writeObject_Collections_EmptyMap()
152 + e.getMessage()); in test_writeObject_Collections_EmptyMap()
178 + e.getMessage()); in test_writeObject_Character()
181 + e.getMessage()); in test_writeObject_Character()
217 + e.getMessage()); in test_writeObject_Collections_UnmodifiableCollection()
220 + e.getMessage()); in test_writeObject_Collections_UnmodifiableCollection()
[all …]
/libcore/luni/src/test/java/tests/security/cert/
DCRLExceptionTest.java48 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 …]
DCertificateEncodingExceptionTest.java50 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 …]
DCertStoreExceptionTest.java48 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 …]
DCertificateExceptionTest.java49 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 …]
DCertificateParsingExceptionTest.java50 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 …]
DCertPathBuilderExceptionTest.java50 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 …]
/libcore/luni/src/test/java/tests/security/spec/
DInvalidKeySpecExceptionTest.java49 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/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/
DSAXExceptionTest.java31 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()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DGeneralSecurityExceptionTest.java49 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 …]
DKeyManagementExceptionTest.java49 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 …]
DInvalidAlgorithmParameterExceptionTest.java50 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 …]
DInvalidKeyExceptionTest.java48 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 …]
DKeyExceptionTest.java48 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 …]
DDigestExceptionTest.java48 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 …]
DKeyStoreExceptionTest.java48 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 …]
DNoSuchAlgorithmExceptionTest.java49 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 …]
DProviderExceptionTest.java48 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 …]
DSignatureExceptionTest.java48 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 …]

12345678910>>...20