Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.http.io
Class TestCharArrayBuffer  view TestCharArrayBuffer download TestCharArrayBuffer.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.http.io.TestCharArrayBuffer
All Implemented Interfaces:
junit.framework.Test

public class TestCharArrayBuffer
extends junit.framework.TestCase

Unit tests for CharArrayBuffer.


Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestCharArrayBuffer(java.lang.String testName)
           
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testAppendAsciiByteArray()
           
 void testAppendCharArrayBuffer()
           
 void testAppendISOByteArray()
           
 void testAppendNullByteArray()
           
 void testAppendNullByteArrayBuffer()
           
 void testAppendNullCharArrayBuffer()
           
 void testAppendNullString()
           
 void testAppendSingleChar()
           
 void testAppendString()
           
 void testConstructor()
           
 void testEnsureCapacity()
           
 void testExpandAppend()
           
 void testIndexOf()
           
 void testInvalidAppendAsciiByteArray()
           
 void testInvalidCharArrayAppend()
           
 void testSetInvalidLength()
           
 void testSetLength()
           
 void testSimpleAppend()
           
 void testSubstring()
           
 void testSubstringIndexOfOutBound()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestCharArrayBuffer

public TestCharArrayBuffer(java.lang.String testName)
Method Detail

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