Home
last modified time | relevance | path

Searched refs:testBytes (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java366 byte[] testBytes = createBytes(12); in checkReadIntArray()
367 File file = createFile(testBytes); in checkReadIntArray()
374 assertReadIntArraySucceeds(iterator, testBytes, byteOrdering, 2 /* intCount */); in checkReadIntArray()
377 assertReadIntArraySucceeds(iterator, testBytes, byteOrdering, 3 /* intCount */); in checkReadIntArray()
383 assertReadIntArraySucceeds(iterator, testBytes, byteOrdering, 2 /* intCount */); in checkReadIntArray()
385 assertReadIntArraySucceeds(iterator, testBytes, byteOrdering, 2 /* intCount */); in checkReadIntArray()
450 byte[] testBytes = createBytes(12); in checkReadByteArray()
451 File file = createFile(testBytes); in checkReadByteArray()
458 assertReadByteArraySucceeds(iterator, testBytes, 2 /* intCount */); in checkReadByteArray()
461 assertReadByteArraySucceeds(iterator, testBytes, 3 /* intCount */); in checkReadByteArray()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/charset/
DOldCharset_MultiByte_Big5.java162 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_ISO_8859_10.java42 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_MultiByte_EUC_JP.java22 testBytes = theseBytes(0xc5, 0xec, 0xb5, 0xfe, ' ', in setUp()
DOldCharset_MultiByte_GBK.java191 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_MultiByte_UTF_16.java142 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_ISO_8859_14.java43 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_MultiByte_UTF_16LE.java142 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_MultiByte_UTF_16BE.java142 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_MultiByte_Big5_Android.java121 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_MultiByte_EUC_KR.java178 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_macintosh.java42 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_MultiByte_GBK_Android.java191 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_MultiByte_UTF_8.java142 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_MultiByte_ISO_2022_JP.java24 testBytes = theseBytes(0x1b, 0x24, 0x42, 0x45, 0x6c, 0x35, 0x7e, 0x1b, in setUp()
DOldCharset_AbstractTest.java49 static byte[] testBytes; field in OldCharset_AbstractTest
110 if (testBytes != null) return; in test_dumpEncoded()
137 decode(testBytes, testChars); in test_Decode()
148 assertEqualBytes("Encoded bytes must match!", testBytes, outputBB); in test_Encode()
DOldCharset_MultiByte_x_windows_950.java94 testBytes = theseBytes(new int[]{ in setUp()
DOldCharset_MultiByte_GB2312.java78 testBytes = theseBytes(new int[]{ in setUp()