Fix some disabled tests.
This was SVN commit r15673.
This commit is contained in:
parent
2b7e9728b6
commit
c5c394fd17
@ -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;
|
||||||
|
@ -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());
|
||||||
|
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user