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

#include <DummyDescriptions.h>

Public Member Functions

 DummySuiteDescription ()
 
const char * file () const
 
unsigned line () const
 
const char * suiteName () const
 
TestSuitesuite () const
 
unsigned numTests () const
 
const TestDescriptiontestDescription (unsigned) const
 
SuiteDescriptionnext ()
 
TestDescriptionfirstTest ()
 
const SuiteDescriptionnext () const
 
const TestDescriptionfirstTest () const
 
void activateAllTests ()
 
bool leaveOnly (const char *)
 
bool setUp ()
 
bool tearDown ()
 
- 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 Attributes

DummyTestDescription _test
 

Detailed Description

Definition at line 29 of file DummyDescriptions.h.

Constructor & Destructor Documentation

◆ DummySuiteDescription()

CxxTest::DummySuiteDescription::DummySuiteDescription ( )

Definition at line 18 of file DummyDescriptions.cpp.

18: _test() {}

Member Function Documentation

◆ activateAllTests()

void CxxTest::DummySuiteDescription::activateAllTests ( )
virtual

Implements CxxTest::SuiteDescription.

Definition at line 30 of file DummyDescriptions.cpp.

30{}

◆ file()

const char * CxxTest::DummySuiteDescription::file ( ) const
virtual

Implements CxxTest::SuiteDescription.

Definition at line 20 of file DummyDescriptions.cpp.

20{ return "<no file>"; }

◆ firstTest() [1/2]

TestDescription * CxxTest::DummySuiteDescription::firstTest ( )
virtual

Implements CxxTest::SuiteDescription.

Definition at line 27 of file DummyDescriptions.cpp.

27{ return 0; }

◆ firstTest() [2/2]

const TestDescription * CxxTest::DummySuiteDescription::firstTest ( ) const
virtual

Implements CxxTest::SuiteDescription.

Definition at line 29 of file DummyDescriptions.cpp.

29{ return 0; }

◆ leaveOnly()

bool CxxTest::DummySuiteDescription::leaveOnly ( const char *  )
virtual

Implements CxxTest::SuiteDescription.

Definition at line 31 of file DummyDescriptions.cpp.

31{ return false; }

◆ line()

unsigned CxxTest::DummySuiteDescription::line ( ) const
virtual

Implements CxxTest::SuiteDescription.

Definition at line 21 of file DummyDescriptions.cpp.

21{ return 0; }

◆ next() [1/2]

SuiteDescription * CxxTest::DummySuiteDescription::next ( )
virtual

Implements CxxTest::SuiteDescription.

Definition at line 26 of file DummyDescriptions.cpp.

26{ return 0; }

◆ next() [2/2]

const SuiteDescription * CxxTest::DummySuiteDescription::next ( ) const
virtual

Implements CxxTest::SuiteDescription.

Definition at line 28 of file DummyDescriptions.cpp.

28{ return 0; }

◆ numTests()

unsigned CxxTest::DummySuiteDescription::numTests ( ) const
virtual

Implements CxxTest::SuiteDescription.

Definition at line 24 of file DummyDescriptions.cpp.

24{ return 0; }

◆ setUp()

bool CxxTest::DummySuiteDescription::setUp ( )
virtual

Implements CxxTest::Link.

Definition at line 33 of file DummyDescriptions.cpp.

33{ return true;}

◆ suite()

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

Implements CxxTest::SuiteDescription.

Definition at line 23 of file DummyDescriptions.cpp.

23{ return 0; }

◆ suiteName()

const char * CxxTest::DummySuiteDescription::suiteName ( ) const
virtual

Implements CxxTest::SuiteDescription.

Definition at line 22 of file DummyDescriptions.cpp.

22{ return "<no suite>"; }

◆ tearDown()

bool CxxTest::DummySuiteDescription::tearDown ( )
virtual

Implements CxxTest::Link.

Definition at line 34 of file DummyDescriptions.cpp.

34{ return true;}

◆ testDescription()

const TestDescription & CxxTest::DummySuiteDescription::testDescription ( unsigned  ) const
virtual

Implements CxxTest::SuiteDescription.

Definition at line 25 of file DummyDescriptions.cpp.

25{ return _test; }

Field Documentation

◆ _test

DummyTestDescription CxxTest::DummySuiteDescription::_test
private

Definition at line 51 of file DummyDescriptions.h.


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