org.jboss.test
Class UtilTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.test.UtilTestCase
All Implemented Interfaces:
junit.framework.Test

public class UtilTestCase
extends junit.framework.TestCase

Tests of the org.jboss.security.Util class

Version:
$Revision: 1.1.26.2 $
Author:
Scott.Stark@jboss.org

Constructor Summary
UtilTestCase(String name)
           
 
Method Summary
static void main(String[] args)
           
 void testBase16()
          Compare Util.encodeBase16 against the java.math.BigInteger class
 void testBase64()
          Compare Util.encodeBase64 against the sun misc class
 
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

UtilTestCase

public UtilTestCase(String name)
Method Detail

testBase64

public void testBase64()
                throws Exception
Compare Util.encodeBase64 against the sun misc class

Throws:
Exception

testBase16

public void testBase16()
                throws Exception
Compare Util.encodeBase16 against the java.math.BigInteger class

Throws:
Exception

main

public static void main(String[] args)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.