Home
last modified time | relevance | path

Searched refs:assertArrayEquals (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/icu/
DLocaleDataTest.java19 import static org.junit.Assert.assertArrayEquals;
210 assertArrayEquals(localeData.amPm, icuDateFormatSymbols.getAmPmStrings()); in assertRootDataEqualsToTargetLocaleData()
211 assertArrayEquals(localeData.eras, icuDateFormatSymbols.getEras()); in assertRootDataEqualsToTargetLocaleData()
212 assertArrayEquals(localeData.longMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
214 assertArrayEquals(localeData.tinyMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
216 assertArrayEquals(localeData.shortMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
218 assertArrayEquals(localeData.longStandAloneMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
220 assertArrayEquals(localeData.tinyStandAloneMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
222 assertArrayEquals(localeData.shortStandAloneMonthNames, icuDateFormatSymbols.getMonths( in assertRootDataEqualsToTargetLocaleData()
225 assertArrayEquals(localeData.longWeekdayNames, icuDateFormatSymbols.getWeekdays( in assertRootDataEqualsToTargetLocaleData()
[all …]
/libcore/support/src/test/java/org/apache/harmony/testframework/
DSinkTester.java84 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals() method in SinkTester
99 assertArrayEquals(expected, getBytes()); in sinkTestNoWriting()
112 assertArrayEquals(expected, getBytes()); in sinkTestWriteZeroBytes()
124 assertArrayEquals(expected, getBytes()); in sinkTestWriteByteByByte()
146 assertArrayEquals(expected, getBytes()); in sinkTestWriteArray()
177 assertArrayEquals(expected, getBytes()); in sinkTestWriteOffset()
188 assertArrayEquals(expected, getBytes()); in sinkTestWriteLargeArray()
204 assertArrayEquals(expectedBytes, getBytes()); in sinkTestWriteAfterClose()
/libcore/support/src/test/java/tests/support/
DSupport_MapTest.java161 assertArrayEquals(set1TypedArray1, set1TypedArray2); in crossCheckOrdering()
166 assertArrayEquals(set1TypedArray1, set1UntypedArray); in crossCheckOrdering()
171 assertArrayEquals(set1TypedArray1, set2TypedArray1); in crossCheckOrdering()
177 assertArrayEquals(set1TypedArray1, set1TypedArray2); in crossCheckOrdering()
181 assertArrayEquals(set1TypedArray1, set2UntypedArray); in crossCheckOrdering()
184 private static <T> void assertArrayEquals(T[] array1, T[] array2) { in assertArrayEquals() method in Support_MapTest
/libcore/luni/src/test/java/libcore/java/util/stream/
DStreamTest.java19 import static org.junit.Assert.assertArrayEquals;
66 assertArrayEquals(sourceArray, destArray); in streamOfObjects()
DLongStreamTest.java19 import static org.junit.Assert.assertArrayEquals;
47 assertArrayEquals(sourceArray, destArray); in ofArraysWithDifferentSizes()
/libcore/luni/src/test/java/libcore/java/lang/
DErrorTest.java19 import static org.junit.Assert.assertArrayEquals;
70 assertArrayEquals(new Throwable[] {suppressed}, error.getSuppressed()); in whenSuppressionEnabled_addsSuppressed()
DRuntimeExceptionTest.java19 import static org.junit.Assert.assertArrayEquals;
71 assertArrayEquals(new Throwable[] {suppressed}, error.getSuppressed()); in whenSuppressionEnabled_addsSuppressed()
/libcore/luni/src/test/java/libcore/java/util/
DLibcoreIoDerivedBase64Test.java74 assertArrayEquals(toEncode, actualDecodedBytes); in assertEncodeDecode()
172 assertArrayEquals( in testDecode_extraChars()
176 assertArrayEquals( in testDecode_extraChars()
180 assertArrayEquals( in testDecode_extraChars()
292 private static void assertArrayEquals(int[] expected, int[] actual) { in assertArrayEquals() method in LibcoreIoDerivedBase64Test
DArraysTest.java19 import static org.junit.Assert.assertArrayEquals;
283 assertArrayEquals(seqResult, list); in parallelPrefix$I()
319 assertArrayEquals(seqResult, list); in parallelPrefix$III()
360 assertArrayEquals(seqResult, list); in parallelPrefix$L()
396 assertArrayEquals(seqResult, list); in parallelPrefix$LII()
441 assertArrayEquals(seqResultInInt, listInInt); in parallelPrefix$D()
481 assertArrayEquals(seqResultInInt, listInInt); in parallelPrefix$DII()
591 assertArrayEquals(sourceArray, destArray); in streamInt()
678 assertArrayEquals(sourceArray, destArray); in streamLong()
765 assertArrayEquals(sourceArray, destArray, 0.001); in streamDouble()
[all …]
DBase64Test.java412 assertArrayEquals(decodedBytes, justRight); in testDecoder_decodeArrayToArray()
666 assertArrayEquals(encodedBytes, justRight); in testEncoder_encodeArrayToArray()
874 assertArrayEquals(bytes, result); in checkRoundTrip_variousSizes()
1049 assertArrayEquals(encodeResult, wrappedOutputStream.toByteArray()); in checkWrapOutputStreamConsistentWithEncode()
1109 assertArrayEquals(bytes, decoder.decode(encoded)); in assertRoundTrip()
1114 assertArrayEquals(copyOfRange(expected, 0, len), actual); in assertArrayPrefixEquals()
1118 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals() method in Base64Test
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java397 assertArrayEquals(new int[] { 111, 222 }, dstWithExistingValues); in checkIntArrayZeroReadCases()
481 assertArrayEquals(new byte[] { 11, 22, 33, 44, 55, 66, 77, 88 }, dstWithExistingValues); in checkByteArrayZeroReadCases()
551 assertArrayEquals(expectedBytes, dst); in assertReadByteArraySucceeds()
595 assertArrayEquals(expectedInts, dst); in assertReadIntArraySucceeds()
648 private static void assertArrayEquals(int[] expected, int[] actual) { in assertArrayEquals() method in MemoryMappedFileTest
652 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals() method in MemoryMappedFileTest
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java588 assertArrayEquals(expectedAddressBytes, actual.getAddress()); in checkInetAddress()
593 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals() method in InetAddressTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollectionsTest.java2375 assertArrayEquals(set1TypedArray1, set1TypedArray2); in crossCheckOrdering()
2380 assertArrayEquals(set1TypedArray1, set1UntypedArray); in crossCheckOrdering()
2385 assertArrayEquals(set1TypedArray1, set2TypedArray1); in crossCheckOrdering()
2391 assertArrayEquals(set1TypedArray1, set1TypedArray2); in crossCheckOrdering()
2395 assertArrayEquals(set1TypedArray1, set2UntypedArray); in crossCheckOrdering()
2398 private static <T> void assertArrayEquals(T[] array1, T[] array2) { in assertArrayEquals() method in CollectionsTest.MapTestSupport
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java70 import static org.junit.Assert.assertArrayEquals;
688 assertArrayEquals(Inet6Address.LOOPBACK.getAddress(), sourceAddress); in test_PacketSocketAddress()
691 assertArrayEquals(Inet6Address.LOOPBACK.getAddress(), destAddress); in test_PacketSocketAddress()
1130 assertArrayEquals(packet, received);
2014 assertArrayEquals(expected, actual);