My Project
Loading...
Searching...
No Matches
DummyDescriptions.cpp
Go to the documentation of this file.
2
3namespace CxxTest
4{
6
7 const char *DummyTestDescription::file() const { return "<no file>"; }
8 unsigned DummyTestDescription::line() const { return 0; }
9 const char *DummyTestDescription::testName() const { return "<no test>"; }
10 const char *DummyTestDescription::suiteName() const { return "<no suite>"; }
11 bool DummyTestDescription::setUp() { return true;}
13 bool DummyTestDescription::tearDown() { return true;}
14
16 const TestDescription *DummyTestDescription::next() const { return 0; }
17
19
20 const char *DummySuiteDescription::file() const { return "<no file>"; }
21 unsigned DummySuiteDescription::line() const { return 0; }
22 const char *DummySuiteDescription::suiteName() const { return "<no suite>"; }
24 unsigned DummySuiteDescription::numTests() const { return 0; }
28 const SuiteDescription *DummySuiteDescription::next() const { return 0; }
31 bool DummySuiteDescription::leaveOnly( const char * /*testName*/ ) { return false; }
32
33 bool DummySuiteDescription::setUp() { return true;}
34 bool DummySuiteDescription::tearDown() { return true;}
35
37
38 unsigned DummyWorldDescription::numSuites( void ) const { return 0; }
39 unsigned DummyWorldDescription::numTotalTests( void ) const { return 0; }
44 bool DummyWorldDescription::leaveOnly( const char * /*suiteName*/, const char * /*testName*/ ) { return false; }
45
46 bool DummyWorldDescription::setUp() { return true;}
47 bool DummyWorldDescription::tearDown() { return true;}
48}
49
const TestDescription & testDescription(unsigned) const
unsigned numTotalTests(void) const
const SuiteDescription & suiteDescription(unsigned) const
bool leaveOnly(const char *, const char *=0)
DummySuiteDescription _suite