2005/5/9

     
 

class CfgScriptTestSuite

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::tools::aunit::CfgScriptTestSuite Class Reference
[Classes, functions, macros for the ACDK unit test framework]

#include <CfgScriptTestSuite.h>

Inheritance diagram for acdk::tools::aunit::CfgScriptTestSuite:

acdk::tools::aunit::TestSuite acdk::tools::aunit::TestCase acdk::tools::aunit::Test acdk::lang::Object acdk::tools::aunit::Test acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

execute all CfgScripts in a given directory - including sub directories if recursive is true - which ends with _Test.csf


Public Member Functions

 CfgScriptTestSuite (IN(RString) dir, bool recursive)
RString getName ()
RTest suite ()

Protected Member Functions

void collectTests ()
 internal


Protected Attributes

RString _directory
bool _recursive


Constructor & Destructor Documentation

acdk::tools::aunit::CfgScriptTestSuite::CfgScriptTestSuite IN(RString dir,
bool  recursive
[inline]
 

Parameters:
dir directory or single CfgScript file if dir is a directory will search for *_Test.csf files dir may also contains acdk::util::Property (from System::getProperties()) expressions
recursive if true search in all sub directories for script files


Member Function Documentation

void acdk::tools::aunit::CfgScriptTestSuite::collectTests  )  [protected]
 

internal

RString acdk::tools::aunit::CfgScriptTestSuite::getName  )  [inline, virtual]
 

Reimplemented from acdk::tools::aunit::TestSuite.

RTest acdk::tools::aunit::CfgScriptTestSuite::suite  ) 
 

Reimplemented from acdk::tools::aunit::TestSuite.


Member Data Documentation

RString acdk::tools::aunit::CfgScriptTestSuite::_directory [protected]
 

bool acdk::tools::aunit::CfgScriptTestSuite::_recursive [protected]