LuaSandboxTest.cpp 581 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * LuaSandboxTest.cpp, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #include "StdInc.h"
  11. #include "ScriptFixture.h"
  12. namespace test
  13. {
  14. using ::testing::Test;
  15. class LuaSandboxTest : public Test, public ScriptFixture
  16. {
  17. public:
  18. protected:
  19. void SetUp() override
  20. {
  21. ScriptFixture::setUp();
  22. }
  23. };
  24. TEST_F(LuaSandboxTest, DISABLED_Example)
  25. {
  26. loadScriptFromFile("test/lua/SandboxTest.lua");
  27. runClientServer();
  28. }
  29. }