org.jtiger.framework
Class DefaultSetUpTearDownFactory

java.lang.Object
  extended by org.jtiger.framework.DefaultSetUpTearDownFactory

public final class DefaultSetUpTearDownFactory
extends Object

The default implementation of setting up and tearing down a unit test case. This implementation searches for the SetUp annotation present on a method and calls it to set up a test case. This implementation searches for the TearDown annotation present on a method and calls it to tear down a test case. If more than one method contains either of these annotations, it cannot be guaranteed which order they are executed in.

Version:
2.1
Build Number 0376
Build Time 2006-07-28 01:50.16.218 CET (GMT + 1)
Author:
Tony Morris
See Also:
SetUpTearDown

Method Summary
static SetUpTearDown newDefaultSetUpTearDown()
          Returns a new instance of the default implementation to handle setting up and tearing down of unit test cases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newDefaultSetUpTearDown

public static SetUpTearDown newDefaultSetUpTearDown()
Returns a new instance of the default implementation to handle setting up and tearing down of unit test cases.

Returns:
A new instance of the default implementation to handle setting up and tearing down of unit test cases.