Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/ps/tests/test_Hotkeys.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | void fakeInput(const char* key, bool keyDown) | ||||
while(in_poll_priority_event(&ev)) | while(in_poll_priority_event(&ev)) | ||||
HotkeyStateChange(&ev); | HotkeyStateChange(&ev); | ||||
} | } | ||||
public: | public: | ||||
void setUp() | void setUp() | ||||
{ | { | ||||
g_VFS = CreateVfs(); | g_VFS = CreateVfs(); | ||||
TS_ASSERT_OK(g_VFS->Mount(L"config", DataDir()/"_testconfig")); | TS_ASSERT_OK(g_VFS->Mount(L"config", DataDir() / "_testconfig" / "")); | ||||
TS_ASSERT_OK(g_VFS->Mount(L"cache", DataDir()/"_testcache")); | TS_ASSERT_OK(g_VFS->Mount(L"cache", DataDir() / "_testcache" / "")); | ||||
configDB = new CConfigDB; | configDB = new CConfigDB; | ||||
g_scancodes = {}; | g_scancodes = {}; | ||||
} | } | ||||
void tearDown() | void tearDown() | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 151 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator