com.beetstra.jutf7
Class AcceptanceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.beetstra.jutf7.AcceptanceTest
All Implemented Interfaces:
junit.framework.Test

public class AcceptanceTest
extends junit.framework.TestCase


Constructor Summary
AcceptanceTest()
           
 
Method Summary
protected  String decode(String string)
           
protected  void setUp()
           
 void testModifiedUTF7()
           
 void testUTF7()
           
 void testUTF7o()
           
protected  void verifyChunkedInDecode(int i, String encoded, String decoded)
           
protected  void verifyChunkedInEncode(int i, String decoded, String encoded)
           
protected  void verifyChunkedOutDecode(int i, ByteBuffer in, String decoded)
           
protected  void verifyChunkedOutEncode(int i, CharBuffer in, String encoded)
           
protected  void verifySymmetrical(String s)
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

AcceptanceTest

public AcceptanceTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testUTF7

public void testUTF7()
              throws Exception
Throws:
Exception

testUTF7o

public void testUTF7o()
               throws Exception
Throws:
Exception

testModifiedUTF7

public void testModifiedUTF7()
                      throws Exception
Throws:
Exception

verifySymmetrical

protected void verifySymmetrical(String s)
                          throws Exception
Throws:
Exception

decode

protected String decode(String string)
                 throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

verifyChunkedInDecode

protected void verifyChunkedInDecode(int i,
                                     String encoded,
                                     String decoded)
                              throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

verifyChunkedInEncode

protected void verifyChunkedInEncode(int i,
                                     String decoded,
                                     String encoded)
                              throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

verifyChunkedOutEncode

protected void verifyChunkedOutEncode(int i,
                                      CharBuffer in,
                                      String encoded)
                               throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

verifyChunkedOutDecode

protected void verifyChunkedOutDecode(int i,
                                      ByteBuffer in,
                                      String decoded)


Copyright © 2008 sourceforge. All Rights Reserved.