1
0
forked from 0ad/0ad

Fix some disabled tests.

This was SVN commit r15673.
This commit is contained in:
leper 2014-08-24 15:29:53 +00:00
parent 2b7e9728b6
commit c5c394fd17
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ public:
void test_perf_DISABLED() void test_perf_DISABLED()
{ {
CSimulation2 sim(NULL, ScriptInterface::CreateRuntime(), NULL); CSimulation2 sim(NULL, g_ScriptRuntime, NULL);
CLOSTexture tex(sim); CLOSTexture tex(sim);
const ssize_t size = 257; const ssize_t size = 257;

View File

@ -66,7 +66,7 @@ public:
CMapReader* mapReader = new CMapReader(); // it'll call "delete this" itself CMapReader* mapReader = new CMapReader(); // it'll call "delete this" itself
LDR_BeginRegistering(); LDR_BeginRegistering();
mapReader->LoadMap(L"maps/scenarios/Median Oasis 01.pmp", CScriptValRooted(), &terrain, NULL, NULL, NULL, NULL, NULL, NULL, NULL, mapReader->LoadMap(L"maps/skirmishes/Median Oasis (2).pmp", CScriptValRooted(), &terrain, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
&sim2, &sim2.GetSimContext(), -1, false); &sim2, &sim2.GetSimContext(), -1, false);
LDR_EndRegistering(); LDR_EndRegistering();
TS_ASSERT_OK(LDR_NonprogressiveLoad()); TS_ASSERT_OK(LDR_NonprogressiveLoad());

View File

@ -659,7 +659,7 @@ public:
CMapReader* mapReader = new CMapReader(); // it'll call "delete this" itself CMapReader* mapReader = new CMapReader(); // it'll call "delete this" itself
LDR_BeginRegistering(); LDR_BeginRegistering();
mapReader->LoadMap(L"maps/scenarios/Acropolis 01.pmp", CScriptValRooted(), &terrain, NULL, NULL, NULL, NULL, NULL, NULL, NULL, mapReader->LoadMap(L"maps/skirmishes/Greek Acropolis (2).pmp", CScriptValRooted(), &terrain, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
&sim2, &sim2.GetSimContext(), -1, false); &sim2, &sim2.GetSimContext(), -1, false);
LDR_EndRegistering(); LDR_EndRegistering();
TS_ASSERT_OK(LDR_NonprogressiveLoad()); TS_ASSERT_OK(LDR_NonprogressiveLoad());