Bouncy Castle Cryptography Library 1.71

org.bouncycastle.util.encoders.test
Class Base32Test

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.bouncycastle.util.encoders.test.AbstractCoderTest
                    |
                    +--org.bouncycastle.util.encoders.test.Base32Test
All Implemented Interfaces:
junit.framework.Test

public class Base32Test
extends AbstractCoderTest


Fields inherited from class org.bouncycastle.util.encoders.test.AbstractCoderTest
enc
 
Constructor Summary
Base32Test(java.lang.String name)
           
 
Method Summary
protected  boolean isEncodedChar(char c)
           
protected  char paddingChar()
           
protected  void setUp()
           
 void testInvalidInput()
           
 void testSamples()
           
 void testWithSpecificAlphabet()
           
 void testWithWhitespace()
           
 
Methods inherited from class org.bouncycastle.util.encoders.test.AbstractCoderTest
testEncode
 
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
 

Constructor Detail

Base32Test

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

setUp

protected void setUp()
Overrides:
setUp in class AbstractCoderTest

testSamples

public void testSamples()
                 throws java.io.IOException

testInvalidInput

public void testInvalidInput()
                      throws java.io.IOException

testWithWhitespace

public void testWithWhitespace()
                        throws java.lang.Exception

testWithSpecificAlphabet

public void testWithSpecificAlphabet()
                              throws java.lang.Exception

paddingChar

protected char paddingChar()
Overrides:
paddingChar in class AbstractCoderTest

isEncodedChar

protected boolean isEncodedChar(char c)
Overrides:
isEncodedChar in class AbstractCoderTest

Bouncy Castle Cryptography Library 1.71