Home
last modified time | relevance | path

Searched refs:MESSAGE (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DExceptionsTest.java27 private static final String MESSAGE = "Oops!"; field in ExceptionsTest
35 exception = new CarNotConnectedException(MESSAGE); in testCarNotConnectedException()
36 assertEquals(MESSAGE, exception.getMessage()); in testCarNotConnectedException()
39 exception = new CarNotConnectedException(MESSAGE, CAUSE); in testCarNotConnectedException()
40 assertEquals(MESSAGE, exception.getMessage()); in testCarNotConnectedException()
/cts/tests/tests/content/src/android/content/res/cts/
DResources_NotFoundExceptionTest.java44 final String MESSAGE = "test"; in testNotFoundException() local
46 ne = new NotFoundException(MESSAGE); in testNotFoundException()
53 assertEquals(MESSAGE, e.getMessage()); in testNotFoundException()
63 ne = new NotFoundException(MESSAGE, CAUSE); in testNotFoundException()
70 assertEquals(MESSAGE, e.getMessage()); in testNotFoundException()
/cts/tests/app/src/android/app/cts/
DProgressDialogTest.java39 private final CharSequence MESSAGE = "message"; field in ProgressDialogTest
96 ProgressDialog.show(mContext, TITLE, MESSAGE); in testShow1()
101 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, false); in testShow2()
109 dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true); in testShow2()
123 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, false); in testShow3()
137 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, true); in testShow3()
159 mContext, TITLE, MESSAGE, true, false, cL); in testShow4()
173 mContext, TITLE, MESSAGE, true, true, cL); in testShow4()
192 progressDialog = ProgressDialog.show(mContext, TITLE, MESSAGE); in testAccessMax()
208 progressDialog = ProgressDialog.show(mContext, TITLE, MESSAGE); in testAccessProgress()
[all …]
/cts/common/util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java31 private static final String MESSAGE = "Message"; field in ReportLogTest
111 Metric metric = new Metric(SOURCE, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_source()
119 metric = new Metric(source, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_source()
126 Metric metric = new Metric(SOURCE, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_message()
127 assertEquals("Expected message to be ok", MESSAGE, metric.getMessage()); in testLimits_message()
131 for (int i = 0; i < 40; i++) sb.append(MESSAGE); in testLimits_message()
141 Metric metric = new Metric(SOURCE, MESSAGE, VALUES, ResultType.HIGHER_BETTER, in testLimits_values()
148 metric = new Metric(SOURCE, MESSAGE, values, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_values()
DCaseResultTest.java30 private static final String MESSAGE = "Something small is not alright"; field in CaseResultTest
64 assertEquals("Expected message to be set", MESSAGE, testResult.getMessage()); in testResultReporting()
DResultHandlerTest.java76 private static final String MESSAGE = "Something small is not alright"; field in ResultHandlerTest
175 moduleBTest3.setMessage(MESSAGE); in testSerialization()
232 String moduleBTest3 = String.format(XML_TEST_FAIL, METHOD_3, MESSAGE, STACK_TRACE, in writeResultDir()
345 assertEquals("Incorrect message", MESSAGE, moduleBTest3.getMessage()); in checkResult()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DContentTest.java44 private static final String MESSAGE = "Sample Message"; field in ContentTest
83 Uri uri = getUriWithTextInFile("reading_test", MESSAGE); in testReceiverCanRead()
91 assertEquals(MESSAGE, result.getStringExtra("extra_response")); in testReceiverCanRead()
107 intent.putExtra("extra_message", MESSAGE); in testReceiverCanWrite()
112 assertEquals(MESSAGE, getFirstLineFromUri(uri)); in testReceiverCanWrite()
116 Uri uri = getUriWithTextInFile("persistable_test", MESSAGE); in testPersistablePermission()
125 assertEquals(MESSAGE, result.getStringExtra("extra_response")); in testPersistablePermission()
/cts/tests/tests/os/src/android/os/cts/
DTestClass.java21 public static final String MESSAGE = "WRONG_FIELD"; field in TestClass