Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/tests/test_GuiManager.h
Show All 28 Lines | |||||
class TestGuiManager : public CxxTest::TestSuite | class TestGuiManager : public CxxTest::TestSuite | ||||
{ | { | ||||
CConfigDB* configDB; | CConfigDB* configDB; | ||||
public: | public: | ||||
void setUp() | void setUp() | ||||
{ | { | ||||
g_VFS = CreateVfs(); | g_VFS = CreateVfs(); | ||||
TS_ASSERT_OK(g_VFS->Mount(L"", DataDir()/"mods"/"_test.gui", VFS_MOUNT_MUST_EXIST)); | TS_ASSERT_OK(g_VFS->Mount(L"", DataDir() / "mods" / "_test.gui" / "", VFS_MOUNT_MUST_EXIST)); | ||||
TS_ASSERT_OK(g_VFS->Mount(L"cache", DataDir()/"_testcache")); | TS_ASSERT_OK(g_VFS->Mount(L"cache", DataDir() / "_testcache" / "", 0, VFS_MAX_PRIORITY)); | ||||
configDB = new CConfigDB; | configDB = new CConfigDB; | ||||
CXeromyces::Startup(); | CXeromyces::Startup(); | ||||
g_GUI = new CGUIManager(); | g_GUI = new CGUIManager(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 148 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator