1
1
#include < cxxtest/DummyDescriptions.h>
2
2
3
- namespace CxxTest
3
+ namespace CxxTest
4
4
{
5
5
DummyTestDescription::DummyTestDescription () {}
6
-
6
+
7
7
const char *DummyTestDescription::file () const { return " <no file>" ; }
8
8
unsigned DummyTestDescription::line () const { return 0 ; }
9
9
const char *DummyTestDescription::testName () const { return " <no test>" ; }
@@ -14,9 +14,9 @@ namespace CxxTest
14
14
15
15
TestDescription *DummyTestDescription::next () { return 0 ; }
16
16
const TestDescription *DummyTestDescription::next () const { return 0 ; }
17
-
17
+
18
18
DummySuiteDescription::DummySuiteDescription () : _test() {}
19
-
19
+
20
20
const char *DummySuiteDescription::file () const { return " <no file>" ; }
21
21
unsigned DummySuiteDescription::line () const { return 0 ; }
22
22
const char *DummySuiteDescription::suiteName () const { return " <no suite>" ; }
@@ -29,20 +29,20 @@ namespace CxxTest
29
29
const TestDescription *DummySuiteDescription::firstTest () const { return 0 ; }
30
30
void DummySuiteDescription::activateAllTests () {}
31
31
bool DummySuiteDescription::leaveOnly ( const char * /* testName*/ ) { return false ; }
32
-
32
+
33
33
bool DummySuiteDescription::setUp () { return true ;}
34
34
bool DummySuiteDescription::tearDown () { return true ;}
35
35
36
36
DummyWorldDescription::DummyWorldDescription () : _suite() {}
37
-
37
+
38
38
unsigned DummyWorldDescription::numSuites ( void ) const { return 0 ; }
39
39
unsigned DummyWorldDescription::numTotalTests ( void ) const { return 0 ; }
40
40
const SuiteDescription &DummyWorldDescription::suiteDescription ( unsigned ) const { return _suite; }
41
41
SuiteDescription *DummyWorldDescription::firstSuite () { return 0 ; }
42
42
const SuiteDescription *DummyWorldDescription::firstSuite () const { return 0 ; }
43
43
void DummyWorldDescription::activateAllTests () {}
44
44
bool DummyWorldDescription::leaveOnly ( const char * /* suiteName*/ , const char * /* testName*/ ) { return false ; }
45
-
45
+
46
46
bool DummyWorldDescription::setUp () { return true ;}
47
47
bool DummyWorldDescription::tearDown () { return true ;}
48
48
}
0 commit comments