FileDocCategorySizeDatePackage
HeapShortBufferTest.javaAPI DocAndroid 1.5 API1695Wed May 06 22:41:04 BST 2009org.apache.harmony.nio.tests.java.nio

HeapShortBufferTest

public class HeapShortBufferTest extends ShortBufferTest

Fields Summary
Constructors Summary
Methods Summary
protected voidsetUp()

        super.setUp();
    
protected voidtearDown()

        super.tearDown();
    
public voidtestAllocatedShortBuffer_IllegalArg()

        try {
            ShortBuffer.allocate(-1);
            fail("Should throw Exception"); //$NON-NLS-1$
        } catch (IllegalArgumentException e) {
            // expected
        }