Files
test2/source/blender/blenloader/tests/blendfile_load_test.cc
2024-02-22 14:25:54 +01:00

19 lines
516 B
C++

/* SPDX-FileCopyrightText: 2019 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#include "blendfile_loading_base_test.h"
#include "BLI_path_util.h"
class BlendfileLoadingTest : public BlendfileLoadingBaseTest {};
TEST_F(BlendfileLoadingTest, CanaryTest)
{
/* Load the smallest blend file we have in the tests/data directory. */
if (!blendfile_load("modifier_stack" SEP_STR "array_test.blend")) {
return;
}
depsgraph_create(DAG_EVAL_RENDER);
EXPECT_NE(nullptr, this->depsgraph);
}