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

Quick Search    Search Deep

org.apache.http.util
Class TestEncodingUtils  view TestEncodingUtils download TestEncodingUtils.java

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

public class TestEncodingUtils
extends junit.framework.TestCase

Unit tests for TestEncodingUtils.


Field Summary
(package private) static int[] SWISS_GERMAN_HELLO
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestEncodingUtils(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 testAsciiBytesToString()
           
 void testAsciiStringToBytes()
           
 void testBytesToString()
           
 void testStringToBytesToString()
           
 void testUnsupportedEncoding()
           
 
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
Constructor Detail

TestEncodingUtils

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

main

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

suite

public static junit.framework.Test suite()

constructString

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

testBytesToString

public void testBytesToString()
                       throws java.lang.Exception

testStringToBytesToString

public void testStringToBytesToString()
                               throws java.lang.Exception

testAsciiBytesToString

public void testAsciiBytesToString()
                            throws java.lang.Exception

testAsciiStringToBytes

public void testAsciiStringToBytes()
                            throws java.lang.Exception

testUnsupportedEncoding

public void testUnsupportedEncoding()