org.apache.commons.beanutils.converters
Class ClassConverterTestCase

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

public class ClassConverterTestCase
extends junit.framework.TestCase

Test Case for the ClassConverter class.

Version:
$Revision: 539508 $ $Date: 2007-05-18 11:57:59 -0400 (Fri, 18 May 2007) $

Constructor Summary
ClassConverterTestCase(String name)
          Construct a new Class Converter test case.
 
Method Summary
 void setUp()
          Set Up
static junit.framework.TestSuite suite()
          Create Test Suite
 void tearDown()
          Tear Down
 void testArray()
          Test Array Conversion
 void testConvertToClass()
          Test Conversion to Class
 void testConvertToClassDefault()
          Test Invalid Conversion with default
 void testConvertToClassDefaultNull()
          Test Invalid Conversion with default "null"
 void testConvertToString()
          Test Conversion to String
 void testInvalid()
          Test Invalid
 
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

ClassConverterTestCase

public ClassConverterTestCase(String name)
Construct a new Class Converter test case.

Parameters:
name - Test Name
Method Detail

suite

public static junit.framework.TestSuite suite()
Create Test Suite

Returns:
test suite

setUp

public void setUp()
           throws Exception
Set Up

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Tear Down

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testConvertToString

public void testConvertToString()
Test Conversion to String


testConvertToClass

public void testConvertToClass()
Test Conversion to Class


testConvertToClassDefault

public void testConvertToClassDefault()
Test Invalid Conversion with default


testConvertToClassDefaultNull

public void testConvertToClassDefaultNull()
Test Invalid Conversion with default "null"


testArray

public void testArray()
Test Array Conversion


testInvalid

public void testInvalid()
Test Invalid



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