JsUnit 1.3
Project Developer Home doxygen

TestSuite Class Reference

Inheritance diagram for TestSuite:

Inheritance graph
[legend]
Collaboration diagram for TestSuite:

Collaboration graph
[legend]
List of all members.

Detailed Description

A TestSuite is a composition of Tests.

It runs a collection of test cases. In despite of the JUnit implementation, this class has also functionality of TestSetup of the extended JUnit framework. This is because of "recursion limits" of the JavaScript implementation of BroadVision's One-to-one Server (an OEM version of Netscape Enterprise Edition).

See also:
Test


Public Member Functions

void TestSuite (Object obj)
 Constructor.

Public Attributes

int mTests


Constructor & Destructor Documentation

void TestSuite::TestSuite ( Object  obj  ) 

Constructor.

The constructor collects all test methods of the given object and adds them to the array of tests.

Parameters:
obj if obj is an instance of a TestCase, the suite is filled with the fixtures automatically. Otherwise obj's string value is treated as name.


Member Data Documentation

int TestSuite::mTests


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