virtualx-engine/platform/osx
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
..
export platform: Update metadata for export platforms 2020-08-01 23:43:14 -07:00
context_gl_osx.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
context_gl_osx.mm Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
crash_handler_osx.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
crash_handler_osx.mm Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
detect.py fixed linker being slow on OSX 2020-08-15 01:55:36 +01:00
dir_access_osx.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dir_access_osx.mm Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
display_server_osx.h DisplayServer: separate window showing into another function 2020-07-23 07:58:10 +02:00
display_server_osx.mm Fix "on top" incorrectly set on init (all platforms). 2020-08-15 17:53:18 +03:00
godot_main_osx.mm t Add unit testing to Godot using DocTest and added to GitHub Actions CI 2020-07-24 13:05:33 +01:00
joypad_osx.cpp Update OSX GUID to SDL uid conversion. 2020-05-30 17:38:39 +01:00
joypad_osx.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
logo.png platform: Update metadata for export platforms 2020-08-01 23:43:14 -07:00
os_osx.h Port ClassDB tests to use doctest 2020-08-16 16:41:02 +03:00
os_osx.mm Port ClassDB tests to use doctest 2020-08-16 16:41:02 +03:00
platform_config.h Remove obsolete GLES2 backend code 2020-08-13 10:04:53 +02:00
platform_osx_builders.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
vulkan_context_osx.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
vulkan_context_osx.mm Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00