org.apache.commons.beanutils.converters
Class BigDecimalConverterTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.beanutils.converters.NumberConverterTestBase
              extended by org.apache.commons.beanutils.converters.BigDecimalConverterTestCase
All Implemented Interfaces:
junit.framework.Test

public class BigDecimalConverterTestCase
extends NumberConverterTestBase

Test Case for the DoubleConverter class.

Version:
$Revision: 471348 $ $Date: 2006-11-04 21:59:26 -0500 (Sat, 04 Nov 2006) $
Author:
Rodney Waldhoff

Field Summary
 
Fields inherited from class org.apache.commons.beanutils.converters.NumberConverterTestBase
numbers
 
Constructor Summary
BigDecimalConverterTestCase(String name)
           
 
Method Summary
protected  Class getExpectedType()
           
protected  NumberConverter makeConverter()
           
protected  NumberConverter makeConverter(Object defaultValue)
           
 void setUp()
           
static junit.framework.TestSuite suite()
           
 void tearDown()
           
 void testSimpleConversion()
           
 
Methods inherited from class org.apache.commons.beanutils.converters.NumberConverterTestBase
testBooleanToNumberDefault, testCalendarToNumber, testConvertNull, testConvertNumber, testDateToNumber, testInvalidDefault, testInvalidException, testInvalidType, testNumberToStringDefault, testNumberToStringLocale, testNumberToStringPattern, testOtherToStringDefault, testStringArrayToInteger, testStringToNumberDefault, testStringToNumberLocale, testStringToNumberPattern
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BigDecimalConverterTestCase

public BigDecimalConverterTestCase(String name)
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

suite

public static junit.framework.TestSuite suite()

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

makeConverter

protected NumberConverter makeConverter()
Specified by:
makeConverter in class NumberConverterTestBase

makeConverter

protected NumberConverter makeConverter(Object defaultValue)
Specified by:
makeConverter in class NumberConverterTestBase

getExpectedType

protected Class getExpectedType()
Specified by:
getExpectedType in class NumberConverterTestBase

testSimpleConversion

public void testSimpleConversion()
                          throws Exception
Throws:
Exception


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.