org.apache.ws.commons.util.test
Class Base64Test

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.ws.commons.util.test.Base64Test
All Implemented Interfaces:
junit.framework.Test

public class Base64Test
extends junit.framework.TestCase

A test case for the Base64 encoder/decoder.


Constructor Summary
Base64Test()
           
 
Method Summary
 void testBase64()
          Test for the base64 decoder/encoder.
 void testSAXEncoder()
          Test for the base64 SAX encoder.
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Base64Test

public Base64Test()
Method Detail

testBase64

public void testBase64()
                throws java.lang.Exception
Test for the base64 decoder/encoder.

Throws:
java.lang.Exception - The test failed.

testSAXEncoder

public void testSAXEncoder()
                    throws java.lang.Exception
Test for the base64 SAX encoder.

Throws:
java.lang.Exception - The test failed.


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.