FileDocCategorySizeDatePackage
UTF16BECharsetDecoderTest.javaAPI DocAndroid 1.5 API2571Wed May 06 22:41:04 BST 2009tests.api.java.nio.charset

UTF16BECharsetDecoderTest

public class UTF16BECharsetDecoderTest extends AbstractCharsetDecoderTestCase

Fields Summary
Constructors Summary
Methods Summary
java.nio.ByteBuffergetExceptionByteArray()

        return null;
    
java.nio.ByteBuffergetMalformByteBuffer()

        // 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.ByteBuffergetUnmappedByteBuffer()

        // no unmap byte buffer
        return null;
    
protected voidsetUp()

        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 voidtearDown()

        super.tearDown();