UTF16BECharsetDecoderTestpublic class UTF16BECharsetDecoderTest extends AbstractCharsetDecoderTestCase
Methods Summary |
---|
java.nio.ByteBuffer | getExceptionByteArray()
return null;
| java.nio.ByteBuffer | getMalformByteBuffer()
// FIXME: different here, RI can parse 0xd8d8
// ByteBuffer buffer = ByteBuffer.allocate(100);
// buffer.put((byte)0xd8);
// buffer.put((byte)0xd8);
// buffer.put(unibytes);
// buffer.flip();
// return buffer;
return null;
| byte[] | getUnibytes()
return new byte[] { 0, 32, 0, 98, 0, 117, 0, 102, 0, 102, 0, 101, 0,
114 };
| java.nio.ByteBuffer | getUnmappedByteBuffer()
// no unmap byte buffer
return null;
| protected void | setUp()
cs = Charset.forName("utf-16be");
unibytes = new byte[] { 0, 32, 0, 98, 0, 117, 0, 102, 0, 102, 0, 101,
0, 114 };
super.setUp();
| protected void | tearDown()
super.tearDown();
|
|