virtualx-engine/scene
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
..
2d Fix 2D Particle velocity with directed emission mask 2020-08-09 18:16:53 +02:00
3d Added volumetric fog effect. 2020-08-13 11:28:45 -03:00
animation Merge pull request #39801 from ChristopheLY/tween-bool-state 2020-07-20 22:23:43 +02:00
audio Add override keywords. 2020-07-10 13:56:54 +01:00
debugger Fix resource preview in remote inspector 2020-05-23 11:52:02 +02:00
gui Skip indentation of empty lines when indenting a selection. 2020-08-14 23:53:34 +10:00
main Expose NOTIFICATION_POST_ENTER_TREE 2020-08-12 13:31:32 +02:00
resources Restored fog (non volumetric). 2020-08-13 22:09:22 -03:00
register_scene_types.cpp Port ClassDB tests to use doctest 2020-08-16 16:41:02 +03:00
register_scene_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scene_string_names.cpp Custom Skeleton3DEditorPlugin 2020-05-22 09:54:34 -07:00
scene_string_names.h Custom Skeleton3DEditorPlugin 2020-05-22 09:54:34 -07:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00