org.apache.commons.betwixt.strategy
Class TestDefaultNameMapper

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.betwixt.strategy.TestDefaultNameMapper
All Implemented Interfaces:
junit.framework.Test

public class TestDefaultNameMapper
extends junit.framework.TestCase

Testcase that covers the DefaultNameMapper.

Version:
$Id: TestDefaultNameMapper.java 438373 2006-08-30 05:17:21Z bayard $
Author:
Martin van den Bemt

Constructor Summary
TestDefaultNameMapper(java.lang.String testName)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testBadCharBadFirstOne()
           
 void testBadCharBadFirstTwo()
           
 void testBadCharGoodFirstOne()
           
 void testBadCharGoodFirstTwo()
           
 void testDefault()
          Just put in some strings and expect them back unchanged.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

TestDefaultNameMapper

public TestDefaultNameMapper(java.lang.String testName)
Method Detail

suite

public static junit.framework.Test suite()

testDefault

public void testDefault()
Just put in some strings and expect them back unchanged. This looks stupid, but enables us to check for unexpected changes, which breaks the orignal behaviour.


testBadCharBadFirstOne

public void testBadCharBadFirstOne()

testBadCharBadFirstTwo

public void testBadCharBadFirstTwo()

testBadCharGoodFirstOne

public void testBadCharGoodFirstOne()

testBadCharGoodFirstTwo

public void testBadCharGoodFirstTwo()


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.