DarkRadiant: master 173ce643

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 27.01.2024 17:29 master 61879986
Changeset XmlTest no longer depends on RadiantTest on Linux

RadiantTest was only used for a single purpose: locating the test
resources directory. By using TEST_BASE_PATH on Linux, we can avoid the
Catch-22 situation of basic XML tests depending on a module which cannot
be initialised without correctly setting up the XML registry, as well as
improving performance by not initialising the core module for each test.

The original behaviour is retained on Windows because it is not clear
that TEST_BASE_PATH is actually available on that platform (it is
defined in the CMake build system).
mod - test/RadiantTest.h Diff File
mod - test/XmlUtil.cpp Diff File