1#ifndef __cxxtest__RealDescriptions_h__
2#define __cxxtest__RealDescriptions_h__
21 const char *
file()
const;
22 unsigned line()
const;
52 void initialize(
const char *argFile,
unsigned argLine,
const char *argSuiteName,
List &argTests );
54 const char *
file()
const;
55 unsigned line()
const;
87 const char *argSuiteName,
TestSuite &argSuite,
90 void initialize(
const char *argFile,
unsigned argLine,
91 const char *argSuiteName,
TestSuite &argSuite,
112 const char *argSuiteName,
List &argTests,
113 unsigned argCreateLine,
unsigned argDestroyLine );
115 void initialize(
const char *argFile,
unsigned argLine,
116 const char *argSuiteName,
List &argTests,
117 unsigned argCreateLine,
unsigned argDestroyLine );
123 void doInitialize(
unsigned argCreateLine,
unsigned argDestroyLine );
132 const char *argSuiteName,
List &argTests,
133 S *&argSuite,
unsigned argCreateLine,
134 unsigned argDestroyLine ) :
141 const char *argSuiteName,
List &argTests,
142 S *&argSuite,
unsigned argCreateLine,
143 unsigned argDestroyLine )
146 argSuiteName, argTests,
147 argCreateLine, argDestroyLine );
169 S::destroySuite(
s );
180 _TSM_ASSERT( file(), _createLine,
"createSuite() failed", suite() != 0 );
184 return (suite() != 0);
211 bool leaveOnly(
const char *suiteName,
const char *testName = 0 );
219 bool leaveOnly(
const char *suiteName,
const char *testName = 0 );
#define _TSM_ASSERT_THROWS_NOTHING(f, l, m, e)
#define _TSM_ASSERT(f, l, m, e)
#define _TS_CATCH_ABORT(b)
CommonDynamicSuiteDescription()
void initialize(const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests, unsigned argCreateLine, unsigned argDestroyLine)
void doInitialize(unsigned argCreateLine, unsigned argDestroyLine)
void initialize(const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests, S *&argSuite, unsigned argCreateLine, unsigned argDestroyLine)
TestSuite * suite() const
DynamicSuiteDescription()
DynamicSuiteDescription(const char *argFile, unsigned argLine, const char *argSuiteName, List &argTests, S *&argSuite, unsigned argCreateLine, unsigned argDestroyLine)
const char * suiteName() const
bool leaveOnly(const char *testName)
const TestDescription & testDescription(unsigned i) const
RealSuiteDescription & operator=(const RealSuiteDescription &)
TestDescription * firstTest()
SuiteDescription * next()
unsigned numTests() const
STATIC_INST_VAR List _suites
RealSuiteDescription(const RealSuiteDescription &)
const char * file() const
RealTestDescription(const RealTestDescription &)
const char * file() const
SuiteDescription * _suite
const char * suiteName() const
TestSuite * suite() const
const char * testName() const
RealTestDescription & operator=(const RealTestDescription &)
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
StaticSuiteDescription(const StaticSuiteDescription &)
StaticSuiteDescription & operator=(const StaticSuiteDescription &)
TestSuite * suite() const
void doInitialize(TestSuite &argSuite)
void message(int i, int *reduc, int *olddeg, kStrategy strat, int red_result)
bool leaveOnly(const char *suiteName, const char *testName)