JsUnit
Project Developer Home doxygen

Public Member Functions | Public Attributes | List of all members
GenericTestCollector Class Reference

A generic collector for all Test classes within a scope. More...

Inheritance diagram for GenericTestCollector:
Inheritance graph
Collaboration diagram for GenericTestCollector:
Collaboration graph

Public Member Functions

void GenericTestCollector (Object scope, RegExp pattern, Function type)
 Constructs a GenericTestCollector. More...
 

Public Attributes

int mType
 
int mPattern
 
int mScope
 

Additional Inherited Members

- Protected Member Functions inherited from TestCollector
virtual void TestCollector ()
 
virtual Array collectTests ()
 Collect Test classes. More...
 

Detailed Description

A generic collector for all Test classes within a scope.

Constructor & Destructor Documentation

void GenericTestCollector::GenericTestCollector ( Object  scope,
RegExp  pattern,
Function  type 
)

Constructs a GenericTestCollector.

Note
This is an equivalent to the ClassPathTestCollector.
Parameters
scopeThe object defining the scope of the search.
patternThe regular expression the function name must match.
typeThe class type the function must be an instance of.
Since
upcoming

Member Data Documentation

int GenericTestCollector::mPattern
int GenericTestCollector::mScope
int GenericTestCollector::mType

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