com.objectwave.test
Class TestImpl

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.objectwave.test.TestImpl
All Implemented Interfaces:
junit.framework.Test

public class TestImpl
extends junit.framework.TestCase

Hide the details of the JUnit test framework. This level of indirection will allow the development of and integration with new test frameworks without changing the system under test.

Version:
$Id: TestImpl.java,v 2.3 2002/07/31 15:55:23 dave_hoag Exp $
Author:
Dave Hoag

Constructor Summary
TestImpl(java.lang.String str)
           
 
Method Summary
protected  void runTest()
          Override the junit implementation to delegate to my implementation.
 void setUnitTest(UnitTest test)
           
protected  void setUp()
           
protected  void tearDown()
           
 java.lang.String toString()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, setName
 
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
 

Constructor Detail

TestImpl

public TestImpl(java.lang.String str)
Parameters:
str -
Method Detail

setUnitTest

public void setUnitTest(UnitTest test)
Parameters:
test - The new UnitTest value

toString

public java.lang.String toString()
Overrides:
toString in class junit.framework.TestCase
Returns:

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

runTest

protected void runTest()
                throws java.lang.Throwable
Override the junit implementation to delegate to my implementation.

Overrides:
runTest in class junit.framework.TestCase
Throws:
java.lang.Throwable

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception