org.salespointframework.test.core.user
Class PassWDGarblerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.salespointframework.test.core.user.PassWDGarblerTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
DefaultPassWDGarblerTest

public abstract class PassWDGarblerTest
extends junit.framework.TestCase

Covers PassWDGarbler.

Although PassWDGarbler is an inferface, there are requirements which have to be satisfied by each implementation and which are covered in this TestCase. Sub-class-specific requirements are covered in the TestCase's sub-classes.

Author:
Hannes John Date: 21.04.2008

Constructor Summary
PassWDGarblerTest()
           
 
Method Summary
protected abstract  PassWDGarbler getPassWDGarbler()
          Returns the PassWDGarbler instance under test.
protected  void setUp()
           
 void testGarblePassWD()
          Tests whether a non-empty password is garbled to a non-empty representation.
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PassWDGarblerTest

public PassWDGarblerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testGarblePassWD

public void testGarblePassWD()

Tests whether a non-empty password is garbled to a non-empty representation.


getPassWDGarbler

protected abstract PassWDGarbler getPassWDGarbler()
Returns the PassWDGarbler instance under test.

Returns:
passWDGarbler