1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00

Test Fixture

This commit is contained in:
Daniel Evans 2018-08-06 23:02:07 +01:00
parent 634a3940ac
commit 09a092475e

View File

@ -2,11 +2,14 @@
#include <loaders/LoaderIPL.hpp>
#include "test_Globals.hpp"
BOOST_AUTO_TEST_SUITE(LoaderIPLTests)
struct WithLoaderIPL {
LoaderIPL loader;
};
BOOST_FIXTURE_TEST_SUITE(LoaderIPLTests, WithLoaderIPL)
#if RW_TEST_WITH_DATA
BOOST_AUTO_TEST_CASE(test_load_zones) {
LoaderIPL loader;
const auto& gdpath = Global::get().getGamePath();
BOOST_REQUIRE(loader.load(gdpath + "/data/gta3.zon"));