Embed zeroerr as a submodule with ZEROERR_NO_MAIN, migrate all unit tests, and register each case with CTest via ZeroErrDiscoverTests.
9 lines
229 B
C++
9 lines
229 B
C++
#include "ScriptTest.h"
|
|
|
|
extern const char* window_content;
|
|
UnitSciptTest(WindowTest, window_content);
|
|
|
|
TEST_CASE_FIXTURE(WindowTest, "WindowTest.basicWindow") {
|
|
CHECK(vm.callFunc(vm.findFunc("basicWindow"), vm).toBool());
|
|
}
|