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

#include <RealDescriptions.h>

Public Member Functions

 StaticSuiteDescription ()
 
 StaticSuiteDescription (const char *argFile, unsigned argLine, const char *argSuiteName, TestSuite &argSuite, List &argTests)
 
void initialize (const char *argFile, unsigned argLine, const char *argSuiteName, TestSuite &argSuite, List &argTests)
 
TestSuitesuite () const
 
bool setUp ()
 
bool tearDown ()
 
- 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
 

Private Member Functions

 StaticSuiteDescription (const StaticSuiteDescription &)
 
StaticSuiteDescriptionoperator= (const StaticSuiteDescription &)
 
void doInitialize (TestSuite &argSuite)
 

Private Attributes

TestSuite_suite
 

Detailed Description

Definition at line 82 of file RealDescriptions.h.

Constructor & Destructor Documentation

◆ StaticSuiteDescription() [1/3]

CxxTest::StaticSuiteDescription::StaticSuiteDescription ( )

Definition at line 155 of file RealDescriptions.cpp.

155{}

◆ StaticSuiteDescription() [2/3]

CxxTest::StaticSuiteDescription::StaticSuiteDescription ( const char *  argFile,
unsigned  argLine,
const char *  argSuiteName,
TestSuite argSuite,
List argTests 
)

Definition at line 156 of file RealDescriptions.cpp.

158 :
159 RealSuiteDescription( argFile, argLine, argSuiteName, argTests )
160 {
161 doInitialize( argSuite );
162 }
void doInitialize(TestSuite &argSuite)

◆ StaticSuiteDescription() [3/3]

CxxTest::StaticSuiteDescription::StaticSuiteDescription ( const StaticSuiteDescription )
private

Member Function Documentation

◆ doInitialize()

void CxxTest::StaticSuiteDescription::doInitialize ( TestSuite argSuite)
private

Definition at line 172 of file RealDescriptions.cpp.

173 {
174 _suite = &argSuite;
175 }

◆ initialize()

void CxxTest::StaticSuiteDescription::initialize ( const char *  argFile,
unsigned  argLine,
const char *  argSuiteName,
TestSuite argSuite,
List argTests 
)

Definition at line 164 of file RealDescriptions.cpp.

167 {
168 RealSuiteDescription::initialize( argFile, argLine, argSuiteName, argTests );
169 doInitialize( argSuite );
170 }
void initialize(const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests)

◆ operator=()

StaticSuiteDescription & CxxTest::StaticSuiteDescription::operator= ( const StaticSuiteDescription )
private

◆ setUp()

bool CxxTest::StaticSuiteDescription::setUp ( )
virtual

Implements CxxTest::Link.

Definition at line 182 of file RealDescriptions.cpp.

182{ return true; }

◆ suite()

TestSuite * CxxTest::StaticSuiteDescription::suite ( ) const
virtual

Implements CxxTest::SuiteDescription.

Definition at line 177 of file RealDescriptions.cpp.

178 {
179 return _suite;
180 }

◆ tearDown()

bool CxxTest::StaticSuiteDescription::tearDown ( )
virtual

Implements CxxTest::Link.

Definition at line 183 of file RealDescriptions.cpp.

183{ return true; }

Field Documentation

◆ _suite

TestSuite* CxxTest::StaticSuiteDescription::_suite
private

Definition at line 104 of file RealDescriptions.h.


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