org.apache.commons.convert1.string
Class URLConverterTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.convert1.string.URLConverterTestCase
All Implemented Interfaces:
junit.framework.Test

public class URLConverterTestCase
extends junit.framework.TestCase

Test Case for the URLConverter class.

Version:
$Id: URLConverterTestCase.java 155441 2005-02-26 13:19:22Z dirkv $
Author:
Henri Yandell

Constructor Summary
URLConverterTestCase(String name)
           
 
Method Summary
protected  Class getExpectedType()
           
protected  org.apache.commons.convert1.Converter makeConverter()
           
 void setUp()
           
static junit.framework.TestSuite suite()
           
 void tearDown()
           
 void testSimpleConversion()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URLConverterTestCase

public URLConverterTestCase(String name)
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

suite

public static junit.framework.TestSuite suite()

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

makeConverter

protected org.apache.commons.convert1.Converter makeConverter()

getExpectedType

protected Class getExpectedType()

testSimpleConversion

public void testSimpleConversion()
                          throws Exception
Throws:
Exception


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.