#include <common.h>
Definition at line 90 of file common.h.
◆ GlobalPrintingFixture()
GlobalPrintingFixture::GlobalPrintingFixture |
( |
bool |
redirect = false | ) |
|
|
inline |
◆ ~GlobalPrintingFixture()
GlobalPrintingFixture::~GlobalPrintingFixture |
( |
| ) |
|
|
inline |
◆ Redirect()
void GlobalPrintingFixture::Redirect |
( |
| ) |
|
|
inline |
Definition at line 103 of file common.h.
105 const int ll = strlen(
argv0);
106 const int l = 5 + ll;
109 strncpy(
s + ll,
".log", 4);
113 std::clog.rdbuf(
_ofs.rdbuf());
◆ setUp()
virtual bool GlobalPrintingFixture::setUp |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from CxxTest::GlobalFixture.
Definition at line 137 of file common.h.
137 { std::clog << std::endl << std::endl <<(
"<test>" ) << std::endl << std::endl;
return true; }
◆ setUpWorld()
virtual bool GlobalPrintingFixture::setUpWorld |
( |
| ) |
|
|
inlinevirtual |
◆ tearDown()
virtual bool GlobalPrintingFixture::tearDown |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from CxxTest::GlobalFixture.
Definition at line 138 of file common.h.
138 { std::clog << std::endl << std::endl <<(
"</test>" ) << std::endl << std::endl;
return true; }
◆ tearDownWorld()
virtual bool GlobalPrintingFixture::tearDownWorld |
( |
| ) |
|
|
inlinevirtual |
Reimplemented from CxxTest::GlobalFixture.
Definition at line 132 of file common.h.
134 std::clog << std::endl << std::endl <<(
"</world>" ) << std::endl << std::endl ;
◆ _ofs
std::ofstream GlobalPrintingFixture::_ofs |
|
private |
◆ _redirect
bool GlobalPrintingFixture::_redirect |
|
private |
The documentation for this class was generated from the following file: