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

Quick Search    Search Deep

org.apache.http.impl
Class TestHttpDataReceiverAndTransmitter  view TestHttpDataReceiverAndTransmitter download TestHttpDataReceiverAndTransmitter.java

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

public class TestHttpDataReceiverAndTransmitter
extends junit.framework.TestCase


Field Summary
(package private) static int[] RUSSIAN_HELLO
           
(package private) static int[] SWISS_GERMAN_HELLO
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestHttpDataReceiverAndTransmitter(java.lang.String testName)
           
 
Method Summary
private static java.lang.String constructString(int[] unicodeChars)
           
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testBasicReadWriteLine()
           
 void testBasicReadWriteLineLargeBuffer()
           
 void testComplexReadWriteLine()
           
 void testInit()
           
 void testInvalidCharArrayBuffer()
           
 void testLineLimit()
           
 void testMultibyteCodedReadWriteLine()
           
 void testNonAsciiReadWriteLine()
           
 void testReadWriteByte()
           
 void testReadWriteBytes()
           
 
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
 

Field Detail

SWISS_GERMAN_HELLO

static final int[] SWISS_GERMAN_HELLO

RUSSIAN_HELLO

static final int[] RUSSIAN_HELLO
Constructor Detail

TestHttpDataReceiverAndTransmitter

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

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)

testInit

public void testInit()
              throws java.lang.Exception

testBasicReadWriteLine

public void testBasicReadWriteLine()
                            throws java.lang.Exception

testComplexReadWriteLine

public void testComplexReadWriteLine()
                              throws java.lang.Exception

testBasicReadWriteLineLargeBuffer

public void testBasicReadWriteLineLargeBuffer()
                                       throws java.lang.Exception

testReadWriteBytes

public void testReadWriteBytes()
                        throws java.lang.Exception

testReadWriteByte

public void testReadWriteByte()
                       throws java.lang.Exception

testLineLimit

public void testLineLimit()
                   throws java.lang.Exception

constructString

private static java.lang.String constructString(int[] unicodeChars)

testMultibyteCodedReadWriteLine

public void testMultibyteCodedReadWriteLine()
                                     throws java.lang.Exception

testNonAsciiReadWriteLine

public void testNonAsciiReadWriteLine()
                               throws java.lang.Exception

testInvalidCharArrayBuffer

public void testInvalidCharArrayBuffer()
                                throws java.lang.Exception