Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.bouncycastle.util.encoders
Class Base64Test  view Base64Test download Base64Test.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.bouncycastle.util.encoders.Base64Test
All Implemented Interfaces:
junit.framework.Test

public class Base64Test
extends junit.framework.TestCase

Unit test code for Base64 encoding and decoding. Test code inherited from Bounty Castle Crypto API.


Field Summary
private  java.util.Random _r
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
Base64Test(java.lang.String strName)
           
 
Method Summary
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
 void testPowerOf2()
           
 void testPowerOf2Plus1()
           
 
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
 

Field Detail

_r

private java.util.Random _r
Constructor Detail

Base64Test

public Base64Test(java.lang.String strName)
Method Detail

setUp

protected void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


testPowerOf2

public void testPowerOf2()

testPowerOf2Plus1

public void testPowerOf2Plus1()