My Project
Loading...
Searching...
No Matches
DummyDescriptions.h
Go to the documentation of this file.
1#ifndef __cxxtest__DummyDescriptions_h__
2#define __cxxtest__DummyDescriptions_h__
3
4//
5// DummyTestDescription, DummySuiteDescription and DummyWorldDescription
6//
7
9
10namespace CxxTest
11{
13 {
14 public:
16
17 const char *file() const;
18 unsigned line() const;
19 const char *testName() const;
20 const char *suiteName() const;
21 bool setUp();
22 void run();
23 bool tearDown();
24
26 const TestDescription *next() const;
27 };
28
30 {
31 public:
33
34 const char *file() const;
35 unsigned line() const;
36 const char *suiteName() const;
37 TestSuite *suite() const;
38 unsigned numTests() const;
39 const TestDescription &testDescription( unsigned ) const;
42 const SuiteDescription *next() const;
43 const TestDescription *firstTest() const;
44 void activateAllTests();
45 bool leaveOnly( const char * /*testName*/ );
46
47 bool setUp();
48 bool tearDown();
49
50 private:
52 };
53
55 {
56 public:
58
59 unsigned numSuites( void ) const;
60 unsigned numTotalTests( void ) const;
61 const SuiteDescription &suiteDescription( unsigned ) const;
63 const SuiteDescription *firstSuite() const;
64 void activateAllTests();
65 bool leaveOnly( const char * /*suiteName*/, const char * /*testName*/ = 0 );
66
67 bool setUp();
68 bool tearDown();
69
70 private:
72 };
73}
74
75#endif // __cxxtest__DummyDescriptions_h__
76
const TestDescription & testDescription(unsigned) const
unsigned numTotalTests(void) const
const SuiteDescription & suiteDescription(unsigned) const
bool leaveOnly(const char *, const char *=0)
DummySuiteDescription _suite