Keel 2.1RC2

org.apache.commons.beanutils.converters
Class ShortConverterTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.beanutils.converters.NumberConverterTestBase
              extended byorg.apache.commons.beanutils.converters.ShortConverterTestCase
All Implemented Interfaces:
junit.framework.Test

public class ShortConverterTestCase
extends NumberConverterTestBase

Test Case for the ShortConverter class.

Version:
$Revision: 1.1 $ $Date: 2002/12/09 22:03:12 $
Author:
Rodney Waldhoff

Field Summary
private  Converter converter
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ShortConverterTestCase(java.lang.String name)
           
 
Method Summary
protected  java.lang.Class getExpectedType()
           
protected  Converter makeConverter()
           
 void setUp()
           
static junit.framework.TestSuite suite()
           
 void tearDown()
           
 void testSimpleConversion()
           
 
Methods inherited from class org.apache.commons.beanutils.converters.NumberConverterTestBase
testConvertNull, testConvertNumber
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

converter

private Converter converter
Constructor Detail

ShortConverterTestCase

public ShortConverterTestCase(java.lang.String name)
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

suite

public static junit.framework.TestSuite suite()

tearDown

public void tearDown()
              throws java.lang.Exception
Throws:
java.lang.Exception

makeConverter

protected Converter makeConverter()
Specified by:
makeConverter in class NumberConverterTestBase

getExpectedType

protected java.lang.Class getExpectedType()
Specified by:
getExpectedType in class NumberConverterTestBase

testSimpleConversion

public void testSimpleConversion()
                          throws java.lang.Exception
Throws:
java.lang.Exception

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.