Enabled logging in unit tests. Seperated LogManager into LogManager (singleton stuff) and LogManagerImplementation (actual logging stuff) Implemented simple FileLogger review id = 13
21 lines
518 B
C++
21 lines
518 B
C++
#ifndef TEST_SUITE_FIXTURE_H
|
|
#define TEST_SUITE_FIXTURE_H
|
|
|
|
#include "cxxtest/GlobalFixture.h"
|
|
|
|
class TestSuiteFixture : public CxxTest::GlobalFixture
|
|
{
|
|
public:
|
|
TestSuiteFixture();
|
|
virtual ~TestSuiteFixture();
|
|
|
|
virtual bool setUp();
|
|
virtual bool tearDown();
|
|
};
|
|
|
|
// According to the CxxTest Documentation global fixtures are actually supposed to be implemented as global static instances
|
|
// See http://cxxtest.com/guide.html for more details
|
|
static TestSuiteFixture testSuiteFixture;
|
|
|
|
#endif // TEST_SUITE_FIXTURE_H
|