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

Quick Search    Search Deep

org.apache.commons.beanutils.converters
Class LongConverterTestCase  view LongConverterTestCase download LongConverterTestCase.java

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

public class LongConverterTestCase
extends NumberConverterTestBase

Test Case for the LongConverter class.

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

Field Summary
private  org.apache.commons.beanutils.Converter converter
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
LongConverterTestCase(java.lang.String name)
           
 
Method Summary
protected  java.lang.Class getExpectedType()
           
protected  org.apache.commons.beanutils.Converter makeConverter()
           
 void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.TestSuite suite()
           
 void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testSimpleConversion()
           
 
Methods inherited from class org.apache.commons.beanutils.converters.NumberConverterTestBase
testConvertNull, testConvertNumber
 
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

converter

private org.apache.commons.beanutils.Converter converter
Constructor Detail

LongConverterTestCase

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

setUp

public void setUp()
           throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


suite

public static junit.framework.TestSuite suite()

tearDown

public void tearDown()
              throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


makeConverter

protected org.apache.commons.beanutils.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