The preprocessor TILESON_UNIT_TEST_USE_SINGLE_HEADER is now set by a CMake-flag in the CMakeLists.txt file related to tests, and is active by default.
project-v1.9/test.tiled-project: Se t default value of DummyClass to false to track if any of the types inheriting from it actually gets a changed value.
Changed properties in map1.json related to the same project to be able to make better tests.
tson::Layer, tson::Map, tson::Object, tson::Tile, tson::Tileset, tson::WangColor, tson::WangSet now holds their own version of tson::TiledClass with their potential modified values, which is created the first time the getClass() function is called.
Features
TILESON_UNIT_TEST_USE_SINGLE_HEADER
is now set by aCMake
-flag in theCMakeLists.txt
file related totests
, and is active by default.project-v1.9/test.tiled-project
: Se t default value ofDummyClass
to false to track if any of the types inheriting from it actually gets a changed value.map1.json
related to the same project to be able to make better tests.tson::Layer
,tson::Map
,tson::Object
,tson::Tile
,tson::Tileset
,tson::WangColor
,tson::WangSet
now holds their own version oftson::TiledClass
with their potential modified values, which is created the first time thegetClass()
function is called.