JsUnit 1.3
Project Developer Home doxygen

TestSetup Class Reference

Inheritance diagram for TestSetup:

Inheritance graph
[legend]
Collaboration diagram for TestSetup:

Collaboration graph
[legend]
List of all members.

Detailed Description

A Decorator to set up and tear down additional fixture state.

Subclass TestSetup and insert it into your tests when you want to set up additional state once before the tests are run.

See also:
TestCase


Public Member Functions

void TestSetup (Test test)
 Constructor.
void setUp ()
 Sets up the fixture.
void tearDown ()
 Tears down the fixture.


Constructor & Destructor Documentation

void TestSetup::TestSetup ( Test  test  ) 

Constructor.

The constructor saves the test.

Parameters:
test The test to decorate.


Member Function Documentation

void TestSetup::setUp (  ) 

Sets up the fixture.

Override to set up additional fixture state.

void TestSetup::tearDown (  ) 

Tears down the fixture.

Override to tear down the additional fixture state.


The documentation for this class was generated from the following file:
JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
Generated on Fri Oct 19 23:11:34 2007 for JsUnit by doxygen 1.5.2