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

UTF16LECharsetDecoderTest

public class UTF16LECharsetDecoderTest extends AbstractCharsetDecoderTestCase
TODO typedef

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

        return null;
    
java.nio.ByteBuffergetMalformByteBuffer()

        // FIXME: different here, JDK 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[] { 32, 0, 98, 0, 117, 0, 102, 0, 102, 0, 101, 0, 114,
                0 };
    
java.nio.ByteBuffergetUnmappedByteBuffer()

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

        cs = Charset.forName("utf-16le");
        unibytes = new byte[] { 32, 0, 98, 0, 117, 0, 102, 0, 102, 0, 101, 0,
                114, 0 };
        super.setUp();
    
protected voidtearDown()

        super.tearDown();