Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/libcore/icu/
DLocaleDataTest.java19 import static org.junit.Assert.assertArrayEquals;
231 assertArrayEquals(baseMsg + "amPm", testData.amPm, localeData.amPm); in assertLocaleDataEquals()
232 assertArrayEquals(baseMsg + "eras", testData.eras, localeData.eras); in assertLocaleDataEquals()
233assertArrayEquals(baseMsg + "longMonthNames", testData.longMonthNames, localeData.longMonthNames); in assertLocaleDataEquals()
234assertArrayEquals(baseMsg + "shortMonthNames", testData.shortMonthNames, localeData.shortMonthName… in assertLocaleDataEquals()
235assertArrayEquals(baseMsg + "tinyMonthNames", testData.tinyMonthNames, localeData.tinyMonthNames); in assertLocaleDataEquals()
236assertArrayEquals(baseMsg + "longStandAloneMonthNames", testData.longStandAloneMonthNames, localeD… in assertLocaleDataEquals()
237assertArrayEquals(baseMsg + "shortStandAloneMonthNames", testData.shortStandAloneMonthNames, local… in assertLocaleDataEquals()
238assertArrayEquals(baseMsg + "tinyStandAloneMonthNames", testData.tinyStandAloneMonthNames, localeD… in assertLocaleDataEquals()
239assertArrayEquals(baseMsg + "longWeekdayNames", testData.longWeekdayNames, localeData.longWeekdayN… in assertLocaleDataEquals()
[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()
DCharSinkTester.java83 private static void assertArrayEquals(char[] expected, char[] actual) { in assertArrayEquals() method in CharSinkTester
98 assertArrayEquals(expected, getChars()); in sinkTestNoWriting()
111 assertArrayEquals(expected, getChars()); in sinkTestWriteZeroChars()
123 assertArrayEquals(expected, getChars()); in sinkTestWriteCharByChar()
136 assertArrayEquals(expected, getChars()); in sinkTestWriteArray()
162 assertArrayEquals(expected, getChars()); in sinkTestWriteOffset()
176 assertArrayEquals(expected, getChars()); in sinkTestWriteLargeArray()
192 assertArrayEquals(expectedChars, getChars()); 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()
/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/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/luni/src/test/java/libcore/android/system/
DOsTest.java655 assertArrayEquals(Inet6Address.LOOPBACK.getAddress(), sourceAddress); in test_PacketSocketAddress()
658 assertArrayEquals(Inet6Address.LOOPBACK.getAddress(), destAddress); in test_PacketSocketAddress()
730 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals() method in OsTest
759 assertArrayEquals(packet, received); in checkSocketPing()
1547 assertArrayEquals(expected, actual); in testMemfdCreate()
/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