Home
last modified time | relevance | path

Searched refs:getLocalizedMessage (Results 1 – 25 of 69) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DFactoryConfigurationErrorTest.java27 assertNull(fce.getLocalizedMessage()); in test_Constructor()
37 assertNotNull(fce.getLocalizedMessage()); in test_ConstructorLjava_lang_Exception()
45 assertEquals(e.toString(), fce.getLocalizedMessage()); in test_ConstructorLjava_lang_Exception()
55 assertNotNull(fce.getLocalizedMessage()); in test_ConstructorLjava_lang_ExceptionLjava_lang_String()
63 assertEquals("msg", fce.getLocalizedMessage()); in test_ConstructorLjava_lang_ExceptionLjava_lang_String()
70 assertEquals("Oops!", fce.getLocalizedMessage()); in test_ConstructorLjava_lang_String()
DParserConfigurationExceptionTest.java27 assertNull(pce.getLocalizedMessage()); in test_Constructor()
35 assertEquals("Oops!", pce.getLocalizedMessage()); in test_ConstructorLjava_lang_String()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DUnsupportedOperationExceptionTest.java32 assertNull(e.getLocalizedMessage()); in test_Constructor()
53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable()
59 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable()
71 assertEquals("msg", emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
78 assertEquals("msg", exception.getLocalizedMessage()); in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
DIllegalStateExceptionTest.java32 assertNull(e.getLocalizedMessage()); in test_Constructor()
52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable()
58 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable()
69 assertEquals("msg", emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
75 assertEquals("msg", exception.getLocalizedMessage()); in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
DRuntimeExceptionTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
50 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable()
56 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable()
DIllegalArgumentExceptionTest.java32 assertNull(e.getLocalizedMessage()); in test_Constructor()
52 assertEquals(emptyThrowable.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable()
58 assertEquals(exception.getClass().getName(), emptyException.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable()
DExceptionInInitializerErrorTest.java28 assertNull(e.getLocalizedMessage()); in test_Constructor()
48 assertNull(e.getLocalizedMessage()); in test_ConstructorLjava_lang_Throwable()
DNegativeArraySizeExceptionTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DNoSuchMethodErrorTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DVerifyErrorTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DIllegalThreadStateExceptionTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DNoClassDefFoundErrorTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DLinkageErrorTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DExceptionTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DUnsatisfiedLinkErrorTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DNumberFormatExceptionTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DCloneNotSupportedExceptionTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DErrorTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DIllegalMonitorStateExceptionTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DIndexOutOfBoundsExceptionTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DInstantiationErrorTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DStackOverflowErrorTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DStringIndexOutOfBoundsExceptionTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
DArrayStoreExceptionTest.java30 assertNull(e.getLocalizedMessage()); in test_Constructor()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThrowableTest.java54 testMessage, e.getLocalizedMessage()); in test_getLocalizedMessage()
57 assertEquals("localized message", tt.getLocalizedMessage()); in test_getLocalizedMessage()
66 public String getLocalizedMessage() { in getLocalizedMessage() method in OldThrowableTest.TestThrowable

123