org.jboss.test
Class UtilTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.UtilTestCase

public class UtilTestCase
extends TestCase

Tests of the org.jboss.security.Util class

See Also:
Serialized Form

Constructor Summary
UtilTestCase(java.lang.String name)
           
 
Method Summary
static void main(java.lang.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilTestCase

public UtilTestCase(java.lang.String name)
Method Detail

testBase64

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

Throws:
java.lang.Exception

testBase16

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

Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)