|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.commons.beanutils.converters.NumberConverterTestBase org.apache.commons.beanutils.converters.FloatConverterTestCase
public class FloatConverterTestCase
Test Case for the FloatConverter class.
Field Summary | |
---|---|
private Converter |
converter
|
Fields inherited from class org.apache.commons.beanutils.converters.NumberConverterTestBase |
---|
numbers |
Constructor Summary | |
---|---|
FloatConverterTestCase(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 |
testInvalidAmount()
Test Invalid Amounts (too big/small) |
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 |
Field Detail |
---|
private Converter converter
Constructor Detail |
---|
public FloatConverterTestCase(String name)
Method Detail |
---|
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public static junit.framework.TestSuite suite()
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected NumberConverter makeConverter()
makeConverter
in class NumberConverterTestBase
protected NumberConverter makeConverter(Object defaultValue)
makeConverter
in class NumberConverterTestBase
protected Class getExpectedType()
getExpectedType
in class NumberConverterTestBase
public void testSimpleConversion() throws Exception
Exception
public void testInvalidAmount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |