mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 02:12:45 +01:00
tests: GameWorld needs a loaded GameData
dependency tree: GameWorld -> SoundManager -> FileIndex
This commit is contained in:
parent
d9255cb5df
commit
6aa9b3a1b7
@ -7,10 +7,9 @@ BOOST_AUTO_TEST_SUITE(GameDataTests)
|
||||
#if RW_TEST_WITH_DATA
|
||||
BOOST_AUTO_TEST_CASE(test_object_data) {
|
||||
GameData gd(&Global::get().log, Global::getGamePath());
|
||||
GameWorld gw(&Global::get().log, &gd);
|
||||
|
||||
gd.load();
|
||||
|
||||
GameWorld gw(&Global::get().log, &gd);
|
||||
{
|
||||
auto def = gd.findModelInfo<SimpleModelInfo>(1100);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user