org.nanocontainer.reflection
Class StringToObjectConverterTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.nanocontainer.reflection.StringToObjectConverterTestCase
All Implemented Interfaces:
junit.framework.Test

public class StringToObjectConverterTestCase
extends junit.framework.TestCase


Constructor Summary
StringToObjectConverterTestCase()
           
 
Method Summary
 void testConvertsToBooleanUsingBestGuess()
           
 void testConvertsToInts()
           
 void testConvertsToLong()
           
 void testConvertsToString()
           
 void testCustomConversionsCanBeRegistered()
           
 void testDodgyFormatThrowExceptions()
           
 void testExceptionThrownIfConverterNotRegistered()
           
 void testNullsMapToDefaultValues()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringToObjectConverterTestCase

public StringToObjectConverterTestCase()
Method Detail

testConvertsToString

public void testConvertsToString()

testConvertsToInts

public void testConvertsToInts()

testConvertsToLong

public void testConvertsToLong()

testConvertsToBooleanUsingBestGuess

public void testConvertsToBooleanUsingBestGuess()

testCustomConversionsCanBeRegistered

public void testCustomConversionsCanBeRegistered()

testNullsMapToDefaultValues

public void testNullsMapToDefaultValues()

testExceptionThrownIfConverterNotRegistered

public void testExceptionThrownIfConverterNotRegistered()

testDodgyFormatThrowExceptions

public void testDodgyFormatThrowExceptions()


Copyright © 2003-2009 Codehaus. All Rights Reserved.