Searched refs:assertDecodes (Results 1 – 1 of 1) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CharsetTest.java | 136 assertDecodes(Charset.forName("EUC-JP"), " \ufffd ", ' ', 0xf4, 0xfe, ' '); in test_EUC_JP_replacement_character() 143 assertDecodes(Charset.forName("SCSU"), " \ufffd ", ' ', 14, 0xff, 0xfd, ' '); in test_SCSU_replacement_character() 150 assertDecodes(Charset.forName("Shift_JIS"), " \ufffd ", ' ', 0xfc, 0xfc, ' '); in test_Shift_JIS_replacement_character() 158 assertDecodes(cs, "a\u0666", 0xfe, 0xff, 0, 'a', 0x06, 0x66); in test_UTF_16() 159 assertDecodes(cs, "a\u0666", 0xff, 0xfe, 'a', 0, 0x66, 0x06); in test_UTF_16() 161 assertDecodes(cs, "a\u0666", 0, 'a', 0x06, 0x66); in test_UTF_16() 170 assertDecodes(cs, "\ufeffa\u0666", 0xfe, 0xff, 0, 'a', 0x06, 0x66); in test_UTF_16BE() 172 assertDecodes(cs, "a\u0666", 0, 'a', 0x06, 0x66); in test_UTF_16BE() 180 assertDecodes(cs, "\ufeffa\u0666", 0xff, 0xfe, 'a', 0, 0x66, 0x06); in test_UTF_16LE() 183 assertDecodes(cs, "a\u0666", 'a', 0, 0x66, 0x06); in test_UTF_16LE() [all …]
|