org.apache.commons.beanutils.locale.converters
Class IntegerLocaleConverterTestCase

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

public class IntegerLocaleConverterTestCase
extends BaseLocaleConverterTestCase

Test Case for the IntegerLocaleConverter class.

Version:
$Revision: 555645 $ $Date: 2007-07-12 15:40:37 +0100 (Thu, 12 Jul 2007) $
Author:
Niall Pemberton

Field Summary
 
Fields inherited from class org.apache.commons.beanutils.locale.converters.BaseLocaleConverterTestCase
converter, defaultDecimalPattern, defaultDecimalValue, defaultIntegerPattern, defaultIntegerValue, defaultLocale, defaultValue, expectedDecimalValue, expectedIntegerValue, expectedValue, localizedDecimalPattern, localizedDecimalValue, localizedIntegerPattern, localizedIntegerValue, localizedLocale, origLocale, result
 
Constructor Summary
IntegerLocaleConverterTestCase(String name)
           
 
Method Summary
 void setUp()
          Set up instance variables required by this test case.
 void tearDown()
          Tear down instance variables required by this test case.
 void testConstructor_2()
          Test Converter() constructor Uses the default locale, no default value
 void testConstructor_3()
          Test Converter(locPattern) constructor Uses the default locale, no default value
 void testConstructor_4()
          Test Converter(Locale) constructor
 void testConstructor_5()
          Test Converter(Locale, locPattern) constructor
 void testConstructor_6()
          Test Converter(Locale, pattern) constructor
 void testConstructor_7()
          Test Converter(Locale, pattern, locPattern) constructor
 void testConstructor_8()
          Test Converter(defaultValue) constructor
 void testConstructor_9()
          Test Converter(defaultValue, locPattern) constructor
 void testConstructorMain()
          Test Converter(defaultValue, locale, pattern, localizedPattern) constructor
 void testNumber()
          Test Converting a number
 
Methods inherited from class org.apache.commons.beanutils.locale.converters.BaseLocaleConverterTestCase
convertInvalid, convertInvalid, convertNull, convertNull, convertValueNoPattern, convertValueNoPattern, convertValueToType, convertValueToType, convertValueWithPattern, convertValueWithPattern, testNothing
 
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

IntegerLocaleConverterTestCase

public IntegerLocaleConverterTestCase(String name)
Method Detail

setUp

public void setUp()
           throws Exception
Set up instance variables required by this test case.

Overrides:
setUp in class BaseLocaleConverterTestCase
Throws:
Exception

tearDown

public void tearDown()
Tear down instance variables required by this test case.

Overrides:
tearDown in class BaseLocaleConverterTestCase

testConstructorMain

public void testConstructorMain()
Test Converter(defaultValue, locale, pattern, localizedPattern) constructor


testConstructor_2

public void testConstructor_2()
Test Converter() constructor Uses the default locale, no default value


testConstructor_3

public void testConstructor_3()
Test Converter(locPattern) constructor Uses the default locale, no default value


testConstructor_4

public void testConstructor_4()
Test Converter(Locale) constructor


testConstructor_5

public void testConstructor_5()
Test Converter(Locale, locPattern) constructor


testConstructor_6

public void testConstructor_6()
Test Converter(Locale, pattern) constructor


testConstructor_7

public void testConstructor_7()
Test Converter(Locale, pattern, locPattern) constructor


testConstructor_8

public void testConstructor_8()
Test Converter(defaultValue) constructor


testConstructor_9

public void testConstructor_9()
Test Converter(defaultValue, locPattern) constructor


testNumber

public void testNumber()
Test Converting a number



Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.