1#ifndef __cxxtest__RealDescriptions_cpp__
2#define __cxxtest__RealDescriptions_cpp__
20 const char *argTestName )
22 initialize( argList, argSuite, argLine, argTestName );
28 const char *argTestName )
72 _TS_TRY { ok = gf->tearDown(); }
104 const char *argSuiteName,
107 initialize( argFile, argLine, argSuiteName, argTests );
112 const char *argSuiteName,
157 const char *argSuiteName,
TestSuite &argSuite,
165 const char *argSuiteName,
TestSuite &argSuite,
187 const char *argSuiteName,
List &argTests,
188 unsigned argCreateLine,
unsigned argDestroyLine ) :
195 const char *argSuiteName,
List &argTests,
196 unsigned argCreateLine,
unsigned argDestroyLine )
222 count += sd->numTests();
245 sd->activateAllTests();
253 if ( !sd->leaveOnly( testName ) )
266 _TS_TRY { ok = gf->setUpWorld(); }
282 _TS_TRY { ok = gf->tearDownWorld(); }
304 bool leaveOnly(
const char *suiteName,
const char *testName )
#define _TS_LAST_CATCH(b)
#define _TSM_ASSERT_THROWS_NOTHING(f, l, m, e)
#define _TS_CATCH_ABORT(b)
#define ___TSM_CATCH(f, l, m)
CommonDynamicSuiteDescription()
void initialize(const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests, unsigned argCreateLine, unsigned argDestroyLine)
void doInitialize(unsigned argCreateLine, unsigned argDestroyLine)
GlobalFixture * prevGlobalFixture()
GlobalFixture * nextGlobalFixture()
static GlobalFixture * lastGlobalFixture()
static GlobalFixture * firstGlobalFixture()
const char * suiteName() const
bool leaveOnly(const char *testName)
const TestDescription & testDescription(unsigned i) const
TestDescription * firstTest()
SuiteDescription * next()
void initialize(const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests)
unsigned numTests() const
STATIC_INST_VAR List _suites
const char * file() const
const char * file() const
void initialize(List &argList, SuiteDescription &argSuite, unsigned argLine, const char *argTestName)
SuiteDescription * _suite
const char * suiteName() const
TestSuite * suite() const
const char * testName() const
bool leaveOnly(const char *suiteName, const char *testName=0)
SuiteDescription * firstSuite()
const SuiteDescription & suiteDescription(unsigned i) const
static void reportError(const char *message)
unsigned numTotalTests(void) const
unsigned numSuites(void) const
void initialize(const char *argFile, unsigned argLine, const char *argSuiteName, TestSuite &argSuite, List &argTests)
TestSuite * suite() const
void doInitialize(TestSuite &argSuite)
virtual TestSuite * suite() const =0
virtual SuiteDescription * next()=0
virtual const char * suiteName() const =0
virtual const char * file() const =0
virtual const TestDescription * next() const =0
void message(int i, int *reduc, int *olddeg, kStrategy strat, int red_result)
bool stringsEqual(const char *s1, const char *s2)
void doWarn(const char *file, unsigned line, const char *message)
bool leaveOnly(const char *suiteName, const char *testName)
void doFailTest(const char *file, unsigned line, const char *message)
int status int void size_t count
void leaveOnly(const Link &link)