ToolTests namespace
#include <Jazz2/Editor/Tests/ToolTests.h>
Tests of the tools of the level editor and of the level it shows, run by EditorSelfTest.
The tools are driven through FakeToolHost, as the pointer would drive them, and the level shown is made of the layers of a document only, so none of them needs any game data.
Functions
-
auto TestTools() -> std::
int32_t - Tests the tools, returns the number of problems found.
-
auto TestRuntimeSync() -> std::
int32_t - Tests that the level shown, brought up to date by RuntimeSync, is the one loaded again, returns the number of problems found.