org.jpos.iso
Class LeftPadderTest

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

public class LeftPadderTest
extends junit.framework.TestCase

Author:
joconnor

Constructor Summary
LeftPadderTest()
           
 
Method Summary
 void testNoPaddingNeeded()
           
 void testPaddingNeeded()
           
 void testPadLengthTooShort()
           
 void testReversability()
           
 void testUnpad()
           
 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

LeftPadderTest

public LeftPadderTest()
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

testUnpad

public void testUnpad()
               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