Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/tests/blendfile_loading_base_test.h
| Show All 24 Lines | |||||
| struct Depsgraph; | struct Depsgraph; | ||||
| class BlendfileLoadingBaseTest : public testing::Test { | class BlendfileLoadingBaseTest : public testing::Test { | ||||
| protected: | protected: | ||||
| struct BlendFileData *bfile = nullptr; | struct BlendFileData *bfile = nullptr; | ||||
| struct Depsgraph *depsgraph = nullptr; | struct Depsgraph *depsgraph = nullptr; | ||||
| public: | public: | ||||
| virtual ~BlendfileLoadingBaseTest(); | |||||
| /* Sets up Blender just enough to not crash on loading | /* Sets up Blender just enough to not crash on loading | ||||
| * a blendfile and constructing a depsgraph. */ | * a blendfile and constructing a depsgraph. */ | ||||
| static void SetUpTestCase(); | static void SetUpTestCase(); | ||||
| static void TearDownTestCase(); | static void TearDownTestCase(); | ||||
| protected: | protected: | ||||
| /* Frees the depsgraph & blendfile. */ | /* Frees the depsgraph & blendfile. */ | ||||
| virtual void TearDown(); | virtual void TearDown(); | ||||
| Show All 20 Lines | |||||