Loading...
Searching...
No Matches
DummyDescriptions.cpp
Go to the documentation of this file.
#include <cxxtest/DummyDescriptions.h>
namespace CxxTest
{
DummyTestDescription::DummyTestDescription() {}
const char *DummyTestDescription::file() const { return "<no file>"; }
unsigned DummyTestDescription::line() const { return 0; }
const char *DummyTestDescription::testName() const { return "<no test>"; }
const char *DummyTestDescription::suiteName() const { return "<no suite>"; }
bool DummyTestDescription::setUp() { return true;}
void DummyTestDescription::run() {}
bool DummyTestDescription::tearDown() { return true;}
TestDescription *DummyTestDescription::next() { return 0; }
const TestDescription *DummyTestDescription::next() const { return 0; }
DummySuiteDescription::DummySuiteDescription() : _test() {}
const char *DummySuiteDescription::file() const { return "<no file>"; }
unsigned DummySuiteDescription::line() const { return 0; }
const char *DummySuiteDescription::suiteName() const { return "<no suite>"; }
TestSuite *DummySuiteDescription::suite() const { return 0; }
unsigned DummySuiteDescription::numTests() const { return 0; }
const TestDescription &DummySuiteDescription::testDescription( unsigned ) const { return _test; }
SuiteDescription *DummySuiteDescription::next() { return 0; }
TestDescription *DummySuiteDescription::firstTest() { return 0; }
const SuiteDescription *DummySuiteDescription::next() const { return 0; }
const TestDescription *DummySuiteDescription::firstTest() const { return 0; }
void DummySuiteDescription::activateAllTests() {}
bool DummySuiteDescription::leaveOnly( const char * /*testName*/ ) { return false; }
bool DummySuiteDescription::setUp() { return true;}
bool DummySuiteDescription::tearDown() { return true;}
DummyWorldDescription::DummyWorldDescription() : _suite() {}
unsigned DummyWorldDescription::numSuites( void ) const { return 0; }
unsigned DummyWorldDescription::numTotalTests( void ) const { return 0; }
const SuiteDescription &DummyWorldDescription::suiteDescription( unsigned ) const { return _suite; }
SuiteDescription *DummyWorldDescription::firstSuite() { return 0; }
const SuiteDescription *DummyWorldDescription::firstSuite() const { return 0; }
void DummyWorldDescription::activateAllTests() {}
bool DummyWorldDescription::leaveOnly( const char * /*suiteName*/, const char * /*testName*/ ) { return false; }
bool DummyWorldDescription::setUp() { return true;}
bool DummyWorldDescription::tearDown() { return true;}
}
DummyDescriptions.h
CxxTest::DummySuiteDescription::DummySuiteDescription
DummySuiteDescription()
Definition DummyDescriptions.cpp:18
CxxTest::DummySuiteDescription::firstTest
TestDescription * firstTest()
Definition DummyDescriptions.cpp:27
CxxTest::DummySuiteDescription::testDescription
const TestDescription & testDescription(unsigned) const
Definition DummyDescriptions.cpp:25
CxxTest::DummySuiteDescription::_test
DummyTestDescription _test
Definition DummyDescriptions.h:51
CxxTest::DummySuiteDescription::next
SuiteDescription * next()
Definition DummyDescriptions.cpp:26
CxxTest::DummySuiteDescription::line
unsigned line() const
Definition DummyDescriptions.cpp:21
CxxTest::DummySuiteDescription::setUp
bool setUp()
Definition DummyDescriptions.cpp:33
CxxTest::DummySuiteDescription::leaveOnly
bool leaveOnly(const char *)
Definition DummyDescriptions.cpp:31
CxxTest::DummySuiteDescription::suite
TestSuite * suite() const
Definition DummyDescriptions.cpp:23
CxxTest::DummySuiteDescription::numTests
unsigned numTests() const
Definition DummyDescriptions.cpp:24
CxxTest::DummySuiteDescription::file
const char * file() const
Definition DummyDescriptions.cpp:20
CxxTest::DummySuiteDescription::activateAllTests
void activateAllTests()
Definition DummyDescriptions.cpp:30
CxxTest::DummySuiteDescription::suiteName
const char * suiteName() const
Definition DummyDescriptions.cpp:22
CxxTest::DummySuiteDescription::tearDown
bool tearDown()
Definition DummyDescriptions.cpp:34
CxxTest::DummyTestDescription::setUp
bool setUp()
Definition DummyDescriptions.cpp:11
CxxTest::DummyTestDescription::suiteName
const char * suiteName() const
Definition DummyDescriptions.cpp:10
CxxTest::DummyTestDescription::file
const char * file() const
Definition DummyDescriptions.cpp:7
CxxTest::DummyTestDescription::line
unsigned line() const
Definition DummyDescriptions.cpp:8
CxxTest::DummyTestDescription::tearDown
bool tearDown()
Definition DummyDescriptions.cpp:13
CxxTest::DummyTestDescription::run
void run()
Definition DummyDescriptions.cpp:12
CxxTest::DummyTestDescription::next
TestDescription * next()
Definition DummyDescriptions.cpp:15
CxxTest::DummyTestDescription::DummyTestDescription
DummyTestDescription()
Definition DummyDescriptions.cpp:5
CxxTest::DummyTestDescription::testName
const char * testName() const
Definition DummyDescriptions.cpp:9
CxxTest::DummyWorldDescription::numSuites
unsigned numSuites(void) const
Definition DummyDescriptions.cpp:38
CxxTest::DummyWorldDescription::setUp
bool setUp()
Definition DummyDescriptions.cpp:46
CxxTest::DummyWorldDescription::numTotalTests
unsigned numTotalTests(void) const
Definition DummyDescriptions.cpp:39
CxxTest::DummyWorldDescription::firstSuite
SuiteDescription * firstSuite()
Definition DummyDescriptions.cpp:41
CxxTest::DummyWorldDescription::DummyWorldDescription
DummyWorldDescription()
Definition DummyDescriptions.cpp:36
CxxTest::DummyWorldDescription::suiteDescription
const SuiteDescription & suiteDescription(unsigned) const
Definition DummyDescriptions.cpp:40
CxxTest::DummyWorldDescription::activateAllTests
void activateAllTests()
Definition DummyDescriptions.cpp:43
CxxTest::DummyWorldDescription::leaveOnly
bool leaveOnly(const char *, const char *=0)
Definition DummyDescriptions.cpp:44
CxxTest::DummyWorldDescription::_suite
DummySuiteDescription _suite
Definition DummyDescriptions.h:71
CxxTest::DummyWorldDescription::tearDown
bool tearDown()
Definition DummyDescriptions.cpp:47
CxxTest::SuiteDescription
Definition Descriptions.h:32
CxxTest::TestDescription
Definition Descriptions.h:16
CxxTest::TestSuite
Definition TestSuite.h:22
CxxTest
Definition Descriptions.cpp:7