JsUnit
Project Developer Home doxygen

Public Member Functions | List of all members
TestCaseCollector Class Reference

A TestCase collector for all test cases within a scope. More...

Inheritance diagram for TestCaseCollector:
Inheritance graph
Collaboration diagram for TestCaseCollector:
Collaboration graph

Public Member Functions

void TestCaseCollector (Object scope, RegExp pattern)
 Constructs a TestCaseCollector. More...
 
- Public Member Functions inherited from GenericTestCollector
void GenericTestCollector (Object scope, RegExp pattern, Function type)
 Constructs a GenericTestCollector. More...
 

Additional Inherited Members

- Public Attributes inherited from GenericTestCollector
int mType
 
int mPattern
 
int mScope
 
- Protected Member Functions inherited from TestCollector
virtual void TestCollector ()
 
virtual Array collectTests ()
 Collect Test classes. More...
 

Detailed Description

A TestCase collector for all test cases within a scope.

Constructor & Destructor Documentation

void TestCaseCollector::TestCaseCollector ( Object  scope,
RegExp  pattern 
)

Constructs a TestCaseCollector.

Parameters
scopeThe object defining the scope of the search.
patternThe regular expression the function name must match. Defaults to /.+Test$/
Since
upcoming

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 Wed Apr 15 2015 02:33:07 for JsUnit by doxygen 1.8.5