mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Add assertions for new Skyrim BSA test files.
This commit is contained in:
@@ -242,6 +242,9 @@ protected:
|
||||
inline virtual void SetUp() {
|
||||
GameTest::SetUp();
|
||||
|
||||
ASSERT_TRUE(boost::filesystem::exists(dataPath / "Blank.bsa"));
|
||||
ASSERT_TRUE(boost::filesystem::exists(dataPath / "Blank.bsl"));
|
||||
|
||||
// Can't change Skyrim's main master file, so mock it.
|
||||
ASSERT_FALSE(boost::filesystem::exists(dataPath / "Skyrim.esm"));
|
||||
ASSERT_NO_THROW(boost::filesystem::copy_file(dataPath / "Blank.esm", dataPath / "Skyrim.esm"));
|
||||
@@ -293,4 +296,4 @@ protected:
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user