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

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.LongLocaleConverterTestCase
All Implemented Interfaces:
junit.framework.Test

public class LongLocaleConverterTestCase
extends BaseLocaleConverterTestCase

Test Case for the LongLocaleConverter class.

Version:
$Revision: 469728 $ $Date: 2006-10-31 20:08:34 -0500 (Tue, 31 Oct 2006) $
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
LongLocaleConverterTestCase(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
 
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

LongLocaleConverterTestCase

public LongLocaleConverterTestCase(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



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