devilutionX/Source/engine
Gleb Mazovetskiy 076b0c0c05 Overhaul tests
1. Adds a `libdevilution_so` target when tests are enabled.
2. Each test file is now a separate binary target linked against `libdevilutionx_so` (can now run tests in parallel).
3. Tests are now defined in a separate `test/CMakeLists.txt` file.
4. Building the tests is now controlled by the standard `BUILD_TESTING` option (defined by CTest).
5. Tests are now built by default.
6. On CI, test errors are now reported.

Also:

* `.clang-format`: Enable SortIncludes in tests
* `path_test.cpp`: Fix -Wsign-compare
2021-12-16 20:26:51 +00:00
..
render DrawString: Fix IsCJK definition 2021-11-27 15:11:52 +01:00
actor_position.hpp ♻️ Replace Point addition with 'Point + Displacement' 2021-06-28 20:37:44 -07:00
animationinfo.cpp Enable clang-tidy in Visual Studio projects (#3101) 2021-10-12 00:32:57 +00:00
animationinfo.h clang-format all files in {Source,test}/ 2021-11-24 23:44:12 +01:00
assets.cpp macOS/iOS: Add resources to the bundle 2021-12-05 20:33:24 +01:00
assets.hpp game_assets.* -> assets.* 2021-11-17 11:49:57 +01:00
cel_header.hpp ♻️ Clean up cel_header.hpp 2021-06-23 11:27:56 +01:00
cel_sprite.hpp 🚚 engine.h: Extract CelSprite and file loading 2021-06-21 01:36:20 -07:00
circle.hpp Add structs for virtual gamepad 2021-09-16 19:25:31 +02:00
demomode.cpp Add OptionEntry Resolution 2021-12-08 00:37:06 +01:00
demomode.h demo: Centralize options override 2021-08-19 00:04:57 +02:00
direction.hpp clang-format all files in {Source,test}/ 2021-11-24 23:44:12 +01:00
displacement.hpp Fix a couple of noisy MSVC warnings 2021-09-30 18:16:31 +02:00
load_cel.cpp 🚚 engine.h: Extract CelSprite and file loading 2021-06-21 01:36:20 -07:00
load_cel.hpp 🚚 engine.h: Extract CelSprite and file loading 2021-06-21 01:36:20 -07:00
load_file.hpp game_assets.* -> assets.* 2021-11-17 11:49:57 +01:00
point.hpp Overhaul tests 2021-12-16 20:26:51 +00:00
random.cpp ♻️Clean up variable initialization 2021-06-27 14:58:51 -07:00
random.hpp 🏷️ Add 'PickRandomlyAmong' function that picks one value from a set of values randomly 2021-09-13 00:25:49 +02:00
rectangle.hpp Add 'Center()' method on 'Rectangle' 2021-08-30 06:45:51 +02:00
size.hpp Implement new font rendering 2021-09-12 01:37:28 +02:00
surface.cpp 🚚 Rename CelOutputBuf to Surface and extract 2021-07-03 05:33:32 -07:00
surface.hpp clang-format all files in {Source,test}/ 2021-11-24 23:44:12 +01:00