/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | LocaleDataTest.java | 19 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() 233 … assertArrayEquals(baseMsg + "longMonthNames", testData.longMonthNames, localeData.longMonthNames); in assertLocaleDataEquals() 234 …assertArrayEquals(baseMsg + "shortMonthNames", testData.shortMonthNames, localeData.shortMonthName… in assertLocaleDataEquals() 235 … assertArrayEquals(baseMsg + "tinyMonthNames", testData.tinyMonthNames, localeData.tinyMonthNames); in assertLocaleDataEquals() 236 …assertArrayEquals(baseMsg + "longStandAloneMonthNames", testData.longStandAloneMonthNames, localeD… in assertLocaleDataEquals() 237 …assertArrayEquals(baseMsg + "shortStandAloneMonthNames", testData.shortStandAloneMonthNames, local… in assertLocaleDataEquals() 238 …assertArrayEquals(baseMsg + "tinyStandAloneMonthNames", testData.tinyStandAloneMonthNames, localeD… in assertLocaleDataEquals() 239 …assertArrayEquals(baseMsg + "longWeekdayNames", testData.longWeekdayNames, localeData.longWeekdayN… in assertLocaleDataEquals() [all …]
|
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
D | SinkTester.java | 84 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()
|
D | CharSinkTester.java | 83 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/ |
D | Support_MapTest.java | 161 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/ |
D | StreamTest.java | 19 import static org.junit.Assert.assertArrayEquals; 66 assertArrayEquals(sourceArray, destArray); in streamOfObjects()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LibcoreIoDerivedBase64Test.java | 74 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
|
D | ArraysTest.java | 19 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 …]
|
D | Base64Test.java | 412 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/ |
D | MemoryMappedFileTest.java | 397 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/ |
D | InetAddressTest.java | 588 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/ |
D | OsTest.java | 655 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/ |
D | CollectionsTest.java | 2375 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
|