Files
Seele/test/Engine/EngineTest.h
T

26 lines
511 B
C++
Raw Normal View History

2021-03-31 12:18:16 +02:00
#pragma once
2022-02-14 16:29:26 +01:00
//#include <vld.h>
2022-01-12 14:40:26 +01:00
#include "ThreadPool.h"
2021-03-31 12:18:16 +02:00
namespace Seele
{
struct GlobalFixture
{
GlobalFixture()
{
2022-02-14 16:29:26 +01:00
//_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
2021-03-31 12:18:16 +02:00
}
~GlobalFixture()
{
2022-02-14 16:29:26 +01:00
getGlobalThreadPool().cleanup();
2021-03-31 12:18:16 +02:00
}
void setup()
{
2021-04-01 16:40:14 +02:00
//Fibers::JobQueue::initJobQueues();
2021-03-31 12:18:16 +02:00
}
void teardown()
{
2021-04-01 16:40:14 +02:00
//Fibers::JobQueue::cleanupJobQueues();
2021-03-31 12:18:16 +02:00
}
};
};