| org.apache.commons.beanutils.locale.converters.BaseLocaleConverterTestCase
All known Subclasses: org.apache.commons.beanutils.locale.converters.BigIntegerLocaleConverterTestCase, org.apache.commons.beanutils.locale.converters.IntegerLocaleConverterTestCase, org.apache.commons.beanutils.locale.converters.DoubleLocaleConverterTestCase, org.apache.commons.beanutils.locale.converters.LongLocaleConverterTestCase, org.apache.commons.beanutils.locale.converters.FloatLocaleConverterTestCase, org.apache.commons.beanutils.locale.converters.DateLocaleConverterTestCase, org.apache.commons.beanutils.locale.converters.ShortLocaleConverterTestCase, org.apache.commons.beanutils.locale.converters.BigDecimalLocaleConverterTestCase, org.apache.commons.beanutils.locale.converters.ByteLocaleConverterTestCase,
BaseLocaleConverterTestCase | public class BaseLocaleConverterTestCase extends TestCase (Code) | | Base Test Case for the DecimalLocaleConverter classes. This class doesn't
define any real tests; it just provides useful methods for the real
test case classes to inherit.
author: Niall Pemberton version: $Revision: 469728 $ $Date: 2006-11-01 01:08:34 +0000 (Wed, 01 Nov 2006) $ |
Method Summary | |
protected void | convertInvalid(BaseLocaleConverter converter, Object expectedValue) Test Converting an invalid value. | protected void | convertInvalid(BaseLocaleConverter converter, String msgId, Object expectedValue) Test Converting an invalid value. | protected void | convertNull(BaseLocaleConverter converter, Object expectedValue) Test Converting Null value. | protected void | convertNull(BaseLocaleConverter converter, String msgId, Object expectedValue) Test Converting Null value. | protected void | convertValueNoPattern(BaseLocaleConverter converter, Object value, Object expectedValue) | protected void | convertValueNoPattern(BaseLocaleConverter converter, String msgId, Object value, Object expectedValue) | protected void | convertValueToType(BaseLocaleConverter converter, Class clazz, Object value, String pattern, Object expectedValue) | protected void | convertValueToType(BaseLocaleConverter converter, String msgId, Class clazz, Object value, String pattern, Object expectedValue) | protected void | convertValueWithPattern(BaseLocaleConverter converter, Object value, String pattern, Object expectedValue) | protected void | convertValueWithPattern(BaseLocaleConverter converter, String msgId, Object value, String pattern, Object expectedValue) | public void | setUp() Set up instance variables required by this test case. | public void | tearDown() Tear down instance variables required by this test case. | public void | testNothing() This class isn't intended to perform any real tests; it just provides
methods for the real test cases to inherit. |
defaultDecimalPattern | protected String defaultDecimalPattern(Code) | | |
defaultDecimalValue | protected String defaultDecimalValue(Code) | | |
defaultIntegerPattern | protected String defaultIntegerPattern(Code) | | |
defaultIntegerValue | protected String defaultIntegerValue(Code) | | |
expectedDecimalValue | protected String expectedDecimalValue(Code) | | |
expectedIntegerValue | protected String expectedIntegerValue(Code) | | |
localizedDecimalPattern | protected String localizedDecimalPattern(Code) | | |
localizedDecimalValue | protected String localizedDecimalValue(Code) | | |
localizedIntegerPattern | protected String localizedIntegerPattern(Code) | | |
localizedIntegerValue | protected String localizedIntegerValue(Code) | | |
BaseLocaleConverterTestCase | public BaseLocaleConverterTestCase(String name)(Code) | | |
setUp | public void setUp() throws Exception(Code) | | Set up instance variables required by this test case.
|
tearDown | public void tearDown()(Code) | | Tear down instance variables required by this test case.
|
testNothing | public void testNothing()(Code) | | This class isn't intended to perform any real tests; it just provides
methods for the real test cases to inherit. However junit complains
if a class named ..TestCase contains no test methods, so here we
define a dummy one to keep it happy.
|
|
|