Expresso 5-5-0

com.jcorporate.expresso.core.misc.tests
Class Base64Test

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.jcorporate.expresso.services.test.ExpressoTestCase
              extended bycom.jcorporate.expresso.core.misc.tests.Base64Test
All Implemented Interfaces:
junit.framework.Test

public class Base64Test
extends ExpressoTestCase

Unit tests for the Base64 encoding class

Version:
$Revision: 1.6 $ $Date: 2003/06/03 06:12:15 $
Author:
Michael Rimov

Constructor Summary
Base64Test(String testName)
           
 
Method Summary
static void main(String[] args)
           
static junit.framework.Test suite()
          Filler Function to conform to log4j test suites.
 void testBase64NoPadding()
          Tests the proprietary non-padding Base64 scheme.
 void testBase64WithPadding()
          Tests a normal base64 operation.
 
Methods inherited from class com.jcorporate.expresso.services.test.ExpressoTestCase
getLog, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

Base64Test

public Base64Test(String testName)
           throws Exception
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

suite

public static junit.framework.Test suite()
Filler Function to conform to log4j test suites.


testBase64WithPadding

public void testBase64WithPadding()
Tests a normal base64 operation.


testBase64NoPadding

public void testBase64NoPadding()
Tests the proprietary non-padding Base64 scheme. (No ='s at the end)


Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.