Home
last modified time | relevance | path

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

/platform_testing/libraries/compatibility-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.java101 private static final String MESSAGE = "Something small is not alright"; field in ResultHandlerTest
231 moduleBTest3.setMessage(MESSAGE); in testSerialization()
316 moduleBTest3.setMessage(MESSAGE); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
449 String moduleBTest3 = String.format(XML_TEST_FAIL, METHOD_3, MESSAGE, STACK_TRACE, in writeResultDir()
609 assertEquals("Incorrect message", MESSAGE, moduleBTest3.getMessage()); in checkResult()
/platform_testing/libraries/audio-test-harness/client-lib/src/test/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioCaptureStreamTests.java150 byte[] readBytes = new byte[AudioTestHarnessTestImpl.MESSAGE.length];
154 assertEquals(AudioTestHarnessTestImpl.MESSAGE.length, numBytesRead);
155 assertArrayEquals(AudioTestHarnessTestImpl.MESSAGE, readBytes);
176 grpcAudioCaptureStream.read(new byte[AudioTestHarnessTestImpl.MESSAGE.length]);
188 new byte[AudioTestHarnessTestImpl.MESSAGE.length], /* off= */ 1, /* len= */ 2);
196 grpcAudioCaptureStream.read(new byte[AudioTestHarnessTestImpl.MESSAGE.length]);
203 short[] expected = new short[AudioTestHarnessTestImpl.MESSAGE.length / 2];
204 ByteBuffer.wrap(AudioTestHarnessTestImpl.MESSAGE)
209 short[] actual = new short[AudioTestHarnessTestImpl.MESSAGE.length / 2];
214 assertEquals(AudioTestHarnessTestImpl.MESSAGE.length / 2, numRead);
DAudioTestHarnessTestImpl.java32 public static final byte[] MESSAGE = {0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7}; field in AudioTestHarnessTestImpl
44 .setData(ByteString.copyFrom(MESSAGE)) in capture()