com.beetstra.jutf7
Class ModifiedUTF7Test

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

public class ModifiedUTF7Test
extends CharsetTest


Field Summary
 
Fields inherited from class com.beetstra.jutf7.CharsetTest
tested
 
Constructor Summary
ModifiedUTF7Test()
           
 
Method Summary
protected  void assertMalformed(String s, String stringOut)
           
protected  void setUp()
           
 void testContains()
           
 void testDecodeComplex()
           
 void testDecodeIllegalBase64char()
           
 void testDecodeInvalidLength()
           
 void testDecodeLimitedOutput()
           
 void testDecodeLong()
           
 void testDecodeNoClosing()
           
 void testDecodePerfectSized()
           
 void testDecodeShiftSequence()
           
 void testDecodeSimple()
           
 void testDecodeUnshiftShiftSequence()
           
 void testEmpty()
           
 void testEncodeAlphabet()
           
 void testEncodeComplex()
           
 void testEncodeLong()
           
 void testEncodeSimple()
           
 void testGetBytes()
           
 void testLongBadDecode()
           
 
Methods inherited from class com.beetstra.jutf7.CharsetTest
decode, encode
 
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

ModifiedUTF7Test

public ModifiedUTF7Test()
Method Detail

setUp

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

testContains

public void testContains()

testEmpty

public void testEmpty()
               throws Exception
Throws:
Exception

testDecodeSimple

public void testDecodeSimple()
                      throws Exception
Throws:
Exception

testDecodeComplex

public void testDecodeComplex()
                       throws Exception
Throws:
Exception

testDecodeLong

public void testDecodeLong()
                    throws Exception
Throws:
Exception

testDecodeLimitedOutput

public void testDecodeLimitedOutput()
                             throws Exception
Throws:
Exception

testDecodePerfectSized

public void testDecodePerfectSized()
                            throws Exception
Throws:
Exception

testDecodeShiftSequence

public void testDecodeShiftSequence()
                             throws Exception
Throws:
Exception

testDecodeNoClosing

public void testDecodeNoClosing()
                         throws Exception
Throws:
Exception

testDecodeInvalidLength

public void testDecodeInvalidLength()
                             throws Exception
Throws:
Exception

testDecodeUnshiftShiftSequence

public void testDecodeUnshiftShiftSequence()
                                    throws Exception
Throws:
Exception

testDecodeIllegalBase64char

public void testDecodeIllegalBase64char()
                                 throws Exception
Throws:
Exception

testLongBadDecode

public void testLongBadDecode()
                       throws Exception
Throws:
Exception

testEncodeSimple

public void testEncodeSimple()
                      throws Exception
Throws:
Exception

testEncodeComplex

public void testEncodeComplex()
                       throws Exception
Throws:
Exception

testEncodeLong

public void testEncodeLong()
                    throws Exception
Throws:
Exception

testEncodeAlphabet

public void testEncodeAlphabet()
                        throws Exception
Throws:
Exception

testGetBytes

public void testGetBytes()
                  throws Exception
Throws:
Exception

assertMalformed

protected void assertMalformed(String s,
                               String stringOut)
                        throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException


Copyright © 2008 sourceforge. All Rights Reserved.