Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetTest.java142 assertDecodes(Charset.forName("EUC-JP"), " \ufffd ", ' ', 0xf4, 0xfe, ' '); in test_EUC_JP_replacement_character()
149 assertDecodes(Charset.forName("SCSU"), " \ufffd ", ' ', 14, 0xff, 0xfd, ' '); in test_SCSU_replacement_character()
156 assertDecodes(Charset.forName("Shift_JIS"), " \ufffd ", ' ', 0xfc, 0xfc, ' '); in test_Shift_JIS_replacement_character()
164 assertDecodes(cs, "a\u0666", 0xfe, 0xff, 0, 'a', 0x06, 0x66); in test_UTF_16()
165 assertDecodes(cs, "a\u0666", 0xff, 0xfe, 'a', 0, 0x66, 0x06); in test_UTF_16()
167 assertDecodes(cs, "a\u0666", 0, 'a', 0x06, 0x66); in test_UTF_16()
176 assertDecodes(cs, "\ufffda\u0666", 0xff, 0xfe, 0, 'a', 0x06, 0x66); in test_UTF_16BE()
178 assertDecodes(cs, "\ufeffa\u0666", 0xfe, 0xff, 0, 'a', 0x06, 0x66); in test_UTF_16BE()
180 assertDecodes(cs, "a\u0666", 0, 'a', 0x06, 0x66); in test_UTF_16BE()
188 assertDecodes(cs, "\ufeffa\u0666", 0xff, 0xfe, 'a', 0, 0x66, 0x06); in test_UTF_16LE()
[all …]