Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.beanutils.locale
Class LocaleConvertUtilsTestCase  view LocaleConvertUtilsTestCase download LocaleConvertUtilsTestCase.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.beanutils.locale.LocaleConvertUtilsTestCase
All Implemented Interfaces:
junit.framework.Test

public class LocaleConvertUtilsTestCase
extends junit.framework.TestCase

Test Case for the LocaleConvertUtils class. See unimplemented functionality of the convert utils in the method begining with fixme

Version:
$Revision: 1.7 $ $Date: 2004/02/28 13:18:37 $

Field Summary
private  char m_decimalSeparator
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
LocaleConvertUtilsTestCase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
private  void checkIntegerArray(java.lang.Object value, int[] intArray)
           
private  void checkStringArray(java.lang.Object value, java.lang.String[] stringArray)
           
 void fixmetestNegativeIntegerArray()
          Negative String to primitive integer array tests.
 void fixmetestNegativeScalar()
          Negative scalar conversion tests.
 void fixmetestNegativeStringArray()
          Negative String to String array tests.
 void fixmetestObjectToStringArray()
          Test conversion of object to string for arrays - .
 void fixmetestPositiveArray()
          Positive array conversion tests.
 void fixmetestPositiveIntegerArray()
          Positive String to primitive integer array tests.
 void fixmetestPositiveStringArray()
          Positive String to String array tests.
 void setUp()
          Set up instance variables required by this test case.
static junit.framework.Test suite()
          Return the tests included in this test suite.
 void tearDown()
          Tear down instance variables required by this test case.
 void testObjectToStringScalar()
          Test conversion of object to string for scalars.
 void testPositiveScalar()
          Positive scalar conversion tests.
 
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

m_decimalSeparator

private char m_decimalSeparator
Constructor Detail

LocaleConvertUtilsTestCase

public LocaleConvertUtilsTestCase(java.lang.String name)
Construct a new instance of this test case.

Method Detail

setUp

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


suite

public static junit.framework.Test suite()
Return the tests included in this test suite.


tearDown

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


fixmetestNegativeIntegerArray

public void fixmetestNegativeIntegerArray()
Negative String to primitive integer array tests.


fixmetestNegativeScalar

public void fixmetestNegativeScalar()
Negative scalar conversion tests. These rely on the standard default value conversions in LocaleConvertUtils.


fixmetestNegativeStringArray

public void fixmetestNegativeStringArray()
Negative String to String array tests.


fixmetestObjectToStringArray

public void fixmetestObjectToStringArray()
Test conversion of object to string for arrays - .


testObjectToStringScalar

public void testObjectToStringScalar()
Test conversion of object to string for scalars.


fixmetestPositiveArray

public void fixmetestPositiveArray()
Positive array conversion tests.


fixmetestPositiveIntegerArray

public void fixmetestPositiveIntegerArray()
Positive String to primitive integer array tests.


testPositiveScalar

public void testPositiveScalar()
Positive scalar conversion tests.


fixmetestPositiveStringArray

public void fixmetestPositiveStringArray()
Positive String to String array tests.


checkIntegerArray

private void checkIntegerArray(java.lang.Object value,
                               int[] intArray)

checkStringArray

private void checkStringArray(java.lang.Object value,
                              java.lang.String[] stringArray)