mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +02:00
Simplify library initialization
This commit is contained in:
@ -22,8 +22,9 @@
|
||||
|
||||
void CVcmiTestConfig::SetUp()
|
||||
{
|
||||
preinitDLL(true);
|
||||
loadDLLClasses(true);
|
||||
LIBRARY = new GameLibrary;
|
||||
LIBRARY->initializeFilesystem(false);
|
||||
LIBRARY->initializeLibrary();
|
||||
|
||||
/* TEST_DATA_DIR may be wrong, if yes below test don't run,
|
||||
find your test data folder in your build and change TEST_DATA_DIR for it*/
|
||||
|
Reference in New Issue
Block a user