blender/tests
Sybren A. Stüvel f445f72eca Tests: Blendfile-loading test class
This new test class minimally sets up Blender so that it can load blend
files and construct a depsgraph without crashing.

Note that it hasn't been tested on very complex blend files, so it may
still crash when the loaded blend file references/requires uninitialised
data structures.

The test will certainly crash with Blend files created with Blender
older than 2.80, as the versioning code requires space types to be
registered. This is normally done by initialising the window manager,
which is not done in this test. The WM requires Python to run, which in
turn requires that Blender finds the release directory in the same
directory that contains the running executable, which is not the case
for GTest tests (they are written to `bin/tests/executablename`.

Reviewed By: sergey, mont29

Differential Revision: https://developer.blender.org/D6246
2019-11-28 17:41:32 +01:00
..
gtests Tests: Blendfile-loading test class 2019-11-28 17:41:32 +01:00
python Clean/Fix remaining cases of props assignments in resgistrable structs def. 2019-11-27 12:19:10 +01:00
check_deprecated.py Cleanup: pep8 2018-07-03 06:55:02 +02:00
CMakeLists.txt Fix: Unit tests on windows. 2019-10-03 11:34:04 -06:00