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

UTFCharsetDecoderTest

public class UTFCharsetDecoderTest extends AbstractCharsetDecoderTestCase
test utf-8 decoder

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

        return null;
    
java.nio.ByteBuffergetMalformByteBuffer()

        ByteBuffer buffer = ByteBuffer.allocate(20);
        buffer.put((byte) 0xd8);
        buffer.put(unibytes);
        buffer.flip();
        return buffer;
    
java.nio.ByteBuffergetUnmappedByteBuffer()

        return null;
    
protected voidsetUp()

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

        super.tearDown();