org.jpos.iso
Class RightPadderTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jpos.iso.RightPadderTest
All Implemented Interfaces:
junit.framework.Test

public class RightPadderTest
extends junit.framework.TestCase

Author:
joconnor

Constructor Summary
RightPadderTest()
           
 
Method Summary
 void testNoPaddingNeeded()
           
 void testPaddingNeeded()
           
 void testPadLengthTooShort()
           
 void testReversability()
           
 void testUnpad1()
           
 void testUnpad2()
           
 void testUnpad3()
           
 void testUnpadAllPadding()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RightPadderTest

public RightPadderTest()
Method Detail

testPaddingNeeded

public void testPaddingNeeded()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testNoPaddingNeeded

public void testNoPaddingNeeded()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testPadLengthTooShort

public void testPadLengthTooShort()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testUnpad1

public void testUnpad1()
                throws java.lang.Exception
Throws:
java.lang.Exception

testUnpad2

public void testUnpad2()
                throws java.lang.Exception
Throws:
java.lang.Exception

testUnpad3

public void testUnpad3()
                throws java.lang.Exception
Throws:
java.lang.Exception

testUnpadAllPadding

public void testUnpadAllPadding()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testReversability

public void testReversability()
                       throws java.lang.Exception
Throws:
java.lang.Exception