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.java141 assertEncodes(Charset.forName("EUC-JP"), " \ufffd ", ' ', 0xf4, 0xfe, ' '); in test_EUC_JP_replacement_character()
148 assertEncodes(Charset.forName("SCSU"), " \ufffd ", ' ', 14, 0xff, 0xfd, ' '); in test_SCSU_replacement_character()
155 assertEncodes(Charset.forName("Shift_JIS"), " \ufffd ", ' ', 0xfc, 0xfc, ' '); in test_Shift_JIS_replacement_character()
162 assertEncodes(cs, "a\u0666", 0xfe, 0xff, 0, 'a', 0x06, 0x66); in test_UTF_16()
173 assertEncodes(cs, "a\u0666", 0, 'a', 0x06, 0x66); in test_UTF_16BE()
186 assertEncodes(cs, "a\u0666", 'a', 0, 0x66, 0x06); in test_UTF_16LE()
199 assertEncodes(cs, "a\u0666", 0xff, 0xfe, 'a', 0, 0x66, 0x06); in test_x_UTF_16LE_BOM()
211 assertEncodes(cs, "a\u0666", 0, 0, 0, 'a', 0, 0, 0x06, 0x66); in test_UTF_32()
222 assertEncodes(cs, "a\u0666", 0, 0, 0, 'a', 0, 0, 0x06, 0x66); in test_UTF_32BE()
235 assertEncodes(cs, "a\u0666", 'a', 0, 0, 0, 0x66, 0x06, 0, 0); in test_UTF_32LE()
[all …]