mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-07 13:20:25 +00:00
Add AddTopic testing
This commit is contained in:
parent
b3208f4066
commit
319d30fb85
@ -156,6 +156,13 @@ if onactivate
|
|||||||
; do something
|
; do something
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
End)mwscript";
|
||||||
|
|
||||||
|
const std::string sIssue3846 = R"mwscript(Begin issue3846
|
||||||
|
|
||||||
|
Addtopic -spells...
|
||||||
|
Addtopic -magicka...
|
||||||
|
|
||||||
End)mwscript";
|
End)mwscript";
|
||||||
|
|
||||||
const std::string sIssue4061 = R"mwscript(Begin 01_Rz_neuvazhay-koryto2
|
const std::string sIssue4061 = R"mwscript(Begin 01_Rz_neuvazhay-koryto2
|
||||||
@ -398,6 +405,12 @@ End)mwscript";
|
|||||||
EXPECT_FALSE(!compile(sIssue3725));
|
EXPECT_FALSE(!compile(sIssue3725));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_F(MWScriptTest, mwscript_test_3846)
|
||||||
|
{
|
||||||
|
registerExtensions();
|
||||||
|
EXPECT_FALSE(!compile(sIssue3846));
|
||||||
|
}
|
||||||
|
|
||||||
TEST_F(MWScriptTest, mwscript_test_4061)
|
TEST_F(MWScriptTest, mwscript_test_4061)
|
||||||
{
|
{
|
||||||
EXPECT_FALSE(!compile(sIssue4061));
|
EXPECT_FALSE(!compile(sIssue4061));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user