mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-14 12:18:22 +00:00
2804dc3ec2
* fix: bad header includes tests pass * fix-up more include paths
25 lines
487 B
C++
25 lines
487 B
C++
#ifndef __DCOMMONDEPENDENCIES__H__
|
|
#define __DCOMMONDEPENDENCIES__H__
|
|
|
|
#include "Game.h"
|
|
#include "Logger.h"
|
|
#include "dServer.h"
|
|
#include "dConfig.h"
|
|
#include <gtest/gtest.h>
|
|
|
|
class dCommonDependenciesTest : public ::testing::Test {
|
|
protected:
|
|
void SetUpDependencies() {
|
|
Game::logger = new Logger("./testing.log", true, true);
|
|
}
|
|
|
|
void TearDownDependencies() {
|
|
if (Game::logger) {
|
|
Game::logger->Flush();
|
|
delete Game::logger;
|
|
}
|
|
}
|
|
};
|
|
|
|
#endif //!__DCOMMONDEPENDENCIES__H__
|