java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.http.io.TestByteArrayBuffer
- All Implemented Interfaces:
- junit.framework.Test
- public class TestByteArrayBuffer
- extends junit.framework.TestCase
Unit tests for ByteArrayBuffer.
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
TestByteArrayBuffer
public TestByteArrayBuffer(java.lang.String testName)
main
public static void main(java.lang.String[] args)
suite
public static junit.framework.Test suite()
testConstructor
public void testConstructor()
throws java.lang.Exception
testSimpleAppend
public void testSimpleAppend()
throws java.lang.Exception
testExpandAppend
public void testExpandAppend()
throws java.lang.Exception
testInvalidAppend
public void testInvalidAppend()
throws java.lang.Exception
testAppendOneByte
public void testAppendOneByte()
throws java.lang.Exception
testSetLength
public void testSetLength()
throws java.lang.Exception
testSetInvalidLength
public void testSetInvalidLength()
throws java.lang.Exception
testAppendCharArrayAsAscii
public void testAppendCharArrayAsAscii()
throws java.lang.Exception
testAppendNullCharArray
public void testAppendNullCharArray()
throws java.lang.Exception
testAppendEmptyCharArray
public void testAppendEmptyCharArray()
throws java.lang.Exception
testAppendNullCharArrayBuffer
public void testAppendNullCharArrayBuffer()
throws java.lang.Exception
testInvalidAppendCharArrayAsAscii
public void testInvalidAppendCharArrayAsAscii()
throws java.lang.Exception