Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
test_setup.cpp File Reference
#include "precompiled.h"
#include <fstream>
#include "lib/self_test.h"
#include <cxxtest/GlobalFixture.h>
#include "lib/timer.h"
#include "lib/sysdep/sysdep.h"
#include "ps/Profiler2.h"
#include "ps/TaskManager.h"
#include "scriptinterface/FunctionWrapper.h"
#include "scriptinterface/ScriptEngine.h"
#include "scriptinterface/ScriptContext.h"
#include "scriptinterface/ScriptInterface.h"
Include dependency graph for test_setup.cpp:

Classes

class  LeakReporter
 
class  MiscSetup
 

Namespaces

namespace  anonymous_namespace{test_setup.cpp}
 

Macros

#define CXXTEST_RUNNING
 
#define _CXXTEST_HAVE_STD
 

Functions

bool ts_str_contains (const std::string &str1, const std::string &str2)
 
bool ts_str_contains (const std::wstring &str1, const std::wstring &str2)
 
OsPath DataDir ()
 
void anonymous_namespace{test_setup.cpp}::script_TS_FAIL (const std::wstring &msg)
 
void ScriptTestSetup (const ScriptInterface &scriptInterface)
 

Variables

static LeakReporter leakReporter
 
static MiscSetup miscSetup
 

Macro Definition Documentation

◆ _CXXTEST_HAVE_STD

#define _CXXTEST_HAVE_STD

◆ CXXTEST_RUNNING

#define CXXTEST_RUNNING

Function Documentation

◆ DataDir()

OsPath DataDir ( )

◆ ScriptTestSetup()

void ScriptTestSetup ( const ScriptInterface scriptInterface)

◆ ts_str_contains() [1/2]

bool ts_str_contains ( const std::string &  str1,
const std::string &  str2 
)

◆ ts_str_contains() [2/2]

bool ts_str_contains ( const std::wstring &  str1,
const std::wstring &  str2 
)

Variable Documentation

◆ leakReporter

LeakReporter leakReporter
static

◆ miscSetup

MiscSetup miscSetup
static