java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.http.io.TestCharArrayBuffer
- All Implemented Interfaces:
- junit.framework.Test
- public class TestCharArrayBuffer
- extends junit.framework.TestCase
Unit tests for CharArrayBuffer.
| 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 |
TestCharArrayBuffer
public TestCharArrayBuffer(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
testAppendString
public void testAppendString()
throws java.lang.Exception
testAppendNullString
public void testAppendNullString()
throws java.lang.Exception
testAppendCharArrayBuffer
public void testAppendCharArrayBuffer()
throws java.lang.Exception
testAppendNullCharArrayBuffer
public void testAppendNullCharArrayBuffer()
throws java.lang.Exception
testAppendSingleChar
public void testAppendSingleChar()
throws java.lang.Exception
testInvalidCharArrayAppend
public void testInvalidCharArrayAppend()
throws java.lang.Exception
testSetLength
public void testSetLength()
throws java.lang.Exception
testSetInvalidLength
public void testSetInvalidLength()
throws java.lang.Exception
testEnsureCapacity
public void testEnsureCapacity()
throws java.lang.Exception
testIndexOf
public void testIndexOf()
testSubstring
public void testSubstring()
testSubstringIndexOfOutBound
public void testSubstringIndexOfOutBound()
testAppendAsciiByteArray
public void testAppendAsciiByteArray()
throws java.lang.Exception
testAppendISOByteArray
public void testAppendISOByteArray()
throws java.lang.Exception
testAppendNullByteArray
public void testAppendNullByteArray()
throws java.lang.Exception
testAppendNullByteArrayBuffer
public void testAppendNullByteArrayBuffer()
throws java.lang.Exception
testInvalidAppendAsciiByteArray
public void testInvalidAppendAsciiByteArray()
throws java.lang.Exception