My Project
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Private Member Functions
CxxTest::CommonDynamicSuiteDescription Class Reference

#include <RealDescriptions.h>

Public Member Functions

 CommonDynamicSuiteDescription ()
 
 CommonDynamicSuiteDescription (const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests, unsigned argCreateLine, unsigned argDestroyLine)
 
void initialize (const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests, unsigned argCreateLine, unsigned argDestroyLine)
 
- Public Member Functions inherited from CxxTest::RealSuiteDescription
 RealSuiteDescription ()
 
 RealSuiteDescription (const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests)
 
void initialize (const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests)
 
const char * file () const
 
unsigned line () const
 
const char * suiteName () const
 
TestDescriptionfirstTest ()
 
const TestDescriptionfirstTest () const
 
SuiteDescriptionnext ()
 
const SuiteDescriptionnext () const
 
unsigned numTests () const
 
const TestDescriptiontestDescription (unsigned i) const
 
void activateAllTests ()
 
bool leaveOnly (const char *testName)
 
- Public Member Functions inherited from CxxTest::SuiteDescription
virtual ~SuiteDescription ()
 
virtual const char * file () const =0
 
virtual unsigned line () const =0
 
virtual const char * suiteName () const =0
 
virtual TestSuitesuite () const =0
 
virtual unsigned numTests () const =0
 
virtual const TestDescriptiontestDescription (unsigned) const =0
 
virtual TestDescriptionfirstTest ()=0
 
virtual const TestDescriptionfirstTest () const =0
 
virtual SuiteDescriptionnext ()=0
 
virtual const SuiteDescriptionnext () const =0
 
virtual void activateAllTests ()=0
 
virtual bool leaveOnly (const char *)=0
 

Protected Attributes

unsigned _createLine
 
unsigned _destroyLine
 

Private Member Functions

void doInitialize (unsigned argCreateLine, unsigned argDestroyLine)
 

Detailed Description

Definition at line 107 of file RealDescriptions.h.

Constructor & Destructor Documentation

◆ CommonDynamicSuiteDescription() [1/2]

CxxTest::CommonDynamicSuiteDescription::CommonDynamicSuiteDescription ( )

Definition at line 185 of file RealDescriptions.cpp.

185{}

◆ CommonDynamicSuiteDescription() [2/2]

CxxTest::CommonDynamicSuiteDescription::CommonDynamicSuiteDescription ( const char *  argFile,
unsigned  argLine,
const char *  argSuiteName,
List argTests,
unsigned  argCreateLine,
unsigned  argDestroyLine 
)

Definition at line 186 of file RealDescriptions.cpp.

188 :
189 RealSuiteDescription( argFile, argLine, argSuiteName, argTests )
190 {
191 doInitialize( argCreateLine, argDestroyLine );
192 }
void doInitialize(unsigned argCreateLine, unsigned argDestroyLine)

Member Function Documentation

◆ doInitialize()

void CxxTest::CommonDynamicSuiteDescription::doInitialize ( unsigned  argCreateLine,
unsigned  argDestroyLine 
)
private

Definition at line 202 of file RealDescriptions.cpp.

203 {
204 _createLine = argCreateLine;
205 _destroyLine = argDestroyLine;
206 }

◆ initialize()

void CxxTest::CommonDynamicSuiteDescription::initialize ( const char *  argFile,
unsigned  argLine,
const char *  argSuiteName,
List argTests,
unsigned  argCreateLine,
unsigned  argDestroyLine 
)

Definition at line 194 of file RealDescriptions.cpp.

197 {
198 RealSuiteDescription::initialize( argFile, argLine, argSuiteName, argTests );
199 doInitialize( argCreateLine, argDestroyLine );
200 }
void initialize(const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests)

Field Documentation

◆ _createLine

unsigned CxxTest::CommonDynamicSuiteDescription::_createLine
protected

Definition at line 120 of file RealDescriptions.h.

◆ _destroyLine

unsigned CxxTest::CommonDynamicSuiteDescription::_destroyLine
protected

Definition at line 120 of file RealDescriptions.h.


The documentation for this class was generated from the following files: