virtualx-engine/main
Andrii Doroshenko (Xrayez) 6f426c3360 Port ClassDB tests to use doctest
Extracted the most minimal core initialization functionality from
`setup()` and `setup2()` so that `ClassDB` could be tested properly
(input, audio, rendering, physics etc, are excluded).

Display and rendering servers/singletons are not initialized at all.

Due to the fact that most subsystems are disabled, fixed various crashes in the
process (in order):
- `AcceptDialog` OK/cancel swap behavior (used `DisplayServer` while
  `register_scene_types()`);
- `make_default_theme` which depends on `RenderingServer`;
- `XRServer` singleton access while calling `register_modules_types()`;
- hidden bug in a way joypads are cleaned up (MacOS and Linux only).

Removed manual `ClassDB` init/cleanup calls from `test_validate_testing.h`.

ClassDB tests:

Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-08-16 16:41:02 +03:00
..
app_icon.png
main.cpp Port ClassDB tests to use doctest 2020-08-16 16:41:02 +03:00
main.h Port ClassDB tests to use doctest 2020-08-16 16:41:02 +03:00
main_builders.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
main_timer_sync.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
main_timer_sync.h Port member initialization from constructor to declaration (C++11) 2020-05-14 10:01:56 +02:00
performance.cpp Added Custom Performance Monitor and feature to read intermediate values of Monitor 2020-06-29 17:20:29 +05:30
performance.h Added Custom Performance Monitor and feature to read intermediate values of Monitor 2020-06-29 17:20:29 +05:30
SCsub SCons: Refactor running commands through builders 2020-07-28 00:09:21 +03:00
splash.png
splash_editor.png