#include <RealDescriptions.h>
Definition at line 201 of file RealDescriptions.h.
◆ activateAllTests()
void CxxTest::RealWorldDescription::activateAllTests |
( |
| ) |
|
|
virtual |
◆ firstSuite() [1/2]
◆ firstSuite() [2/2]
◆ leaveOnly()
bool CxxTest::RealWorldDescription::leaveOnly |
( |
const char * |
suiteName, |
|
|
const char * |
testName = 0 |
|
) |
| |
|
virtual |
Implements CxxTest::WorldDescription.
Definition at line 248 of file RealDescriptions.cpp.
249 {
250 for ( SuiteDescription *sd =
firstSuite(); sd != 0; sd = sd->
next() ) {
252 if ( testName )
253 if ( !sd->leaveOnly( testName ) )
254 return false;
256 return true;
257 }
258 }
259 return false;
260 }
bool stringsEqual(const char *s1, const char *s2)
void leaveOnly(const Link &link)
◆ numSuites()
unsigned CxxTest::RealWorldDescription::numSuites |
( |
void |
| ) |
const |
|
virtual |
◆ numTotalTests()
unsigned CxxTest::RealWorldDescription::numTotalTests |
( |
void |
| ) |
const |
|
virtual |
◆ reportError()
void CxxTest::RealWorldDescription::reportError |
( |
const char * |
message | ) |
|
|
static |
Definition at line 294 of file RealDescriptions.cpp.
295 {
297 }
void message(int i, int *reduc, int *olddeg, kStrategy strat, int red_result)
void doWarn(const char *file, unsigned line, const char *message)
◆ setUp()
bool CxxTest::RealWorldDescription::setUp |
( |
| ) |
|
|
virtual |
Implements CxxTest::Link.
Definition at line 262 of file RealDescriptions.cpp.
263 {
265 bool ok;
266 _TS_TRY { ok = gf->setUpWorld(); }
268
269 if ( !ok ) {
271 return false;
272 }
273 }
274
275 return true;
276 }
#define _TS_LAST_CATCH(b)
GlobalFixture * nextGlobalFixture()
static GlobalFixture * firstGlobalFixture()
static void reportError(const char *message)
◆ suiteDescription()
◆ suites()
List & CxxTest::RealWorldDescription::suites |
( |
| ) |
|
|
static |
◆ tearDown()
bool CxxTest::RealWorldDescription::tearDown |
( |
| ) |
|
|
virtual |
Implements CxxTest::Link.
Definition at line 278 of file RealDescriptions.cpp.
279 {
281 bool ok;
282 _TS_TRY { ok = gf->tearDownWorld(); }
284
285 if ( !ok ) {
287 return false;
288 }
289 }
290
291 return true;
292 }
GlobalFixture * prevGlobalFixture()
static GlobalFixture * lastGlobalFixture()
The documentation for this class was generated from the following files: