Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetTest.java135 assertEncodes(Charset.forName("EUC-JP"), " \ufffd ", ' ', 0xf4, 0xfe, ' '); in test_EUC_JP_replacement_character()
142 assertEncodes(Charset.forName("SCSU"), " \ufffd ", ' ', 14, 0xff, 0xfd, ' '); in test_SCSU_replacement_character()
149 assertEncodes(Charset.forName("Shift_JIS"), " \ufffd ", ' ', 0xfc, 0xfc, ' '); in test_Shift_JIS_replacement_character()
156 assertEncodes(cs, "a\u0666", 0xfe, 0xff, 0, 'a', 0x06, 0x66); in test_UTF_16()
167 assertEncodes(cs, "a\u0666", 0, 'a', 0x06, 0x66); in test_UTF_16BE()
178 assertEncodes(cs, "a\u0666", 'a', 0, 0x66, 0x06); in test_UTF_16LE()
189 assertEncodes(cs, "a\u0666", 0xff, 0xfe, 'a', 0, 0x66, 0x06); in test_x_UTF_16LE_BOM()
201 assertEncodes(cs, "a\u0666", 0, 0, 0xfe, 0xff, 0, 0, 0, 'a', 0, 0, 0x06, 0x66); in test_UTF_32()
203 assertEncodes(cs, "a\u0666", 0xff, 0xfe, 0, 0, 'a', 0, 0, 0, 0x66, 0x06, 0, 0); in test_UTF_32()
215 assertEncodes(cs, "a\u0666", 0, 0, 0, 'a', 0, 0, 0x06, 0x66); in test_UTF_32BE()
[all …]