org.apache.commons.codec.net
Class QuotedPrintableCodecTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.codec.net.QuotedPrintableCodecTest
All Implemented Interfaces:
junit.framework.Test

public class QuotedPrintableCodecTest
extends junit.framework.TestCase

Quoted-printable codec test cases

Version:
$Id: QuotedPrintableCodecTest.java 480406 2006-11-29 04:56:58Z bayard $
Author:
Oleg Kalnichevski

Constructor Summary
QuotedPrintableCodecTest(java.lang.String name)
           
 
Method Summary
 void testBasicEncodeDecode()
           
 void testDecodeInvalid()
           
 void testDecodeObjects()
           
 void testDecodeStringWithNull()
           
 void testDecodeWithNullArray()
           
 void testDefaultEncoding()
           
 void testEncodeDecodeNull()
           
 void testEncodeNull()
           
 void testEncodeObjects()
           
 void testEncodeStringWithNull()
           
 void testEncodeUrlWithNullBitSet()
           
 void testInvalidEncoding()
           
 void testSafeCharEncodeDecode()
           
 void testUnsafeEncodeDecode()
           
 void testUTF8RoundTrip()
           
 
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

QuotedPrintableCodecTest

public QuotedPrintableCodecTest(java.lang.String name)
Method Detail

testUTF8RoundTrip

public void testUTF8RoundTrip()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testBasicEncodeDecode

public void testBasicEncodeDecode()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testSafeCharEncodeDecode

public void testSafeCharEncodeDecode()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testUnsafeEncodeDecode

public void testUnsafeEncodeDecode()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testEncodeDecodeNull

public void testEncodeDecodeNull()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testDecodeInvalid

public void testDecodeInvalid()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testEncodeNull

public void testEncodeNull()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testEncodeUrlWithNullBitSet

public void testEncodeUrlWithNullBitSet()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testDecodeWithNullArray

public void testDecodeWithNullArray()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testEncodeStringWithNull

public void testEncodeStringWithNull()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testDecodeStringWithNull

public void testDecodeStringWithNull()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testEncodeObjects

public void testEncodeObjects()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidEncoding

public void testInvalidEncoding()

testDecodeObjects

public void testDecodeObjects()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testDefaultEncoding

public void testDefaultEncoding()
                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.