Home
last modified time | relevance | path

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

123

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DExceptionTest.java31 assertEquals(e.getMessage(), "IAE"); in testExceptions()
37 assertEquals(e.getMessage(), "ISE"); in testExceptions()
43 assertEquals(e.getMessage(), "RE"); in testExceptions()
49 assertEquals(e.getMessage(), "DE"); in testExceptions()
/cts/tests/tests/database/src/android/database/cts/
DCursorIndexOutOfBoundsExceptionTest.java33 assertNull(e.getMessage()); in testConstructors()
39 assertEquals(expected1, e.getMessage()); in testConstructors()
46 assertEquals(expected2, e.getMessage()); in testConstructors()
DStaleDataExceptionTest.java30 assertNull(e.getMessage()); in testConstructors()
37 assertEquals(expected1, e.getMessage()); in testConstructors()
DSQLExceptionTest.java31 assertNull(e.getMessage()); in testConstructors()
38 assertEquals(expected1, e.getMessage()); in testConstructors()
/cts/tests/tests/os/src/android/os/cts/
DFileAccessPermissionTest.java116 fail(e.getMessage()); in testAccessAppDataDir()
142 fail(e.getMessage()); in testAccessAppDataDir()
152 fail(e.getMessage()); in testAccessAppDataDir()
175 fail(e.getMessage()); in writeFileCheck()
177 fail(e.getMessage()); in writeFileCheck()
183 fail(e.getMessage()); in writeFileCheck()
190 fail(e.getMessage()); in writeFileCheck()
DConditionVariableTest.java62 fail(e.getMessage()); in testConditionVariable()
81 fail(e.getMessage()); in testConditionVariable()
DParcelFileDescriptorTest.java274 assertContains("OMG MUFFINS", e.getMessage()); in testPipeError()
303 assertContains("OMG BANANAS", listener.get().getMessage()); in testFileError()
316 assertContains("DETACHED", listener.get().getMessage()); in testFileDetach()
334 assertContains("BLUE RAWR", e.getMessage()); in testSocketErrorAfterClose()
357 assertContains("RAWR RED", e.getMessage()); in testSocketMultipleCheck()
DBinderTest.java228 fail(e.getMessage()); in testTransact()
258 fail(e.getMessage()); in testTransact()
289 fail(e.getMessage()); in testTransact()
/cts/tests/tests/util/src/android/util/cts/
DXmlTest.java115 fail(e.getMessage()); in testParseStringContentHandler()
193 fail(e.getMessage()); in testParseReaderContentHander()
199 fail(e.getMessage()); in testParseReaderContentHander()
228 fail(e.getMessage()); in testParseReaderContentHander()
230 fail(e.getMessage()); in testParseReaderContentHander()
263 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler()
265 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler()
295 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler()
297 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler()
327 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler()
[all …]
DXmlEncodingTest.java100 fail(e.getMessage()); in testValueOf()
102 fail(e.getMessage()); in testValueOf()
132 fail(e.getMessage()); in testValueOf()
134 fail(e.getMessage()); in testValueOf()
164 fail(e.getMessage()); in testValueOf()
166 fail(e.getMessage()); in testValueOf()
196 fail(e.getMessage()); in testValueOf()
198 fail(e.getMessage()); in testValueOf()
DAndroidRuntimeExceptionTest.java36 assertEquals(NAME, e.getMessage()); in testAndroidRuntimeException()
DAndroidExceptionTest.java36 assertEquals(NAME, e.getMessage()); in testAndroidException()
/cts/tests/tests/view/src/android/view/cts/
DWindowManager_BadTokenExceptionTest.java29 assertNull(e.getMessage()); in testBadTokenException()
39 assertEquals(message, e.getMessage()); in testBadTokenException()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManager_NameNotFoundExceptionTest.java31 assertNull(e.getMessage()); in testNameNotFoundException()
39 assertEquals(message, e.getMessage()); in testNameNotFoundException()
/cts/tests/tests/content/src/android/content/cts/
DIntentFilter_MalformedMimeTypeExceptionTest.java46 assertEquals(message, mMalformedMimeTypeException.getMessage()); in testMalformedMimeTypeException()
52 assertEquals(message, e.getMessage()); in testMalformedMimeTypeException()
/cts/tests/tests/app/src/android/app/cts/
DPendingIntent_CanceledExceptionTest.java30 assertNull(e.getMessage()); in testConstructor()
38 assertEquals(message, canceledException.getMessage()); in testConstructor()
/cts/tools/vm-tests-tf/src/util/build/
DDasmBuildStep.java71 System.err.println("DASM Error: " + e.getMessage()); in assemble()
75 System.err.println("Exception <" + e.getClass().getName() + ">" + e.getMessage() + in assemble()
132 System.err.println("Exception <" + e.getClass().getName() + ">" + e.getMessage() + in assemble()
/cts/tools/dasm/src/java_cup/
Dinternal_error.java18 System.err.println(getMessage()); in crash()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebChromeClientTest.java195 assertEquals(webChromeClient.getMessage(), "testOnJsBeforeUnload"); in testOnJsBeforeUnload()
217 assertEquals(webChromeClient.getMessage(), "testOnJsAlert"); in testOnJsAlert()
239 assertEquals(webChromeClient.getMessage(), "testOnJsConfirm"); in testOnJsConfirm()
270 assertEquals(webChromeClient.getMessage(), "testOnJsPrompt"); in testOnJsPrompt()
340 public String getMessage() { in getMessage() method in WebChromeClientTest.MockWebChromeClient
/cts/tools/dasm/src/dasm/
DMain.java93 System.err.println("DASM Error: " + e.getMessage()); in assemble()
97 + e.getMessage() + " while reading and parsing " + fname); in assemble()
159 + e.getMessage() + " while writing " + out_file.getPath()); in assemble()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorTestCase.java37 Log.w(LOG_TAG, e.getMessage()); in runTest()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRasterizerTest.java29 fail(e.getMessage()); in testFinalize()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DColorDrawableTest.java107 fail(e.getMessage()); in testInflate()
109 fail(e.getMessage()); in testInflate()
/cts/tests/tests/content/src/android/content/res/cts/
DResources_NotFoundExceptionTest.java53 assertEquals(MESSAGE, e.getMessage()); in testNotFoundException()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DBaseSensorSemiAutomatedTestActivity.java88 message = e.getMessage(); in run()
91 message = e.getMessage(); in run()

123