Blender
V4.3
source
blender
blenloader
tests
blendfile_load_test.cc
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2019 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
#include "
blendfile_loading_base_test.h
"
5
6
#include "
BLI_path_utils.hh
"
7
8
class
BlendfileLoadingTest
:
public
BlendfileLoadingBaseTest
{};
9
10
TEST_F
(
BlendfileLoadingTest
, CanaryTest)
11
{
12
/* Load the smallest blend file we have in the tests/data directory. */
13
if
(!blendfile_load(
"modifier_stack"
SEP_STR
"array_test.blend"
)) {
14
return
;
15
}
16
depsgraph_create(
DAG_EVAL_RENDER
);
17
EXPECT_NE(
nullptr
, this->
depsgraph
);
18
}
BLI_path_utils.hh
DAG_EVAL_RENDER
@ DAG_EVAL_RENDER
Definition
DEG_depsgraph.hh:46
TEST_F
TEST_F(BlendfileLoadingTest, CanaryTest)
Definition
blendfile_load_test.cc:10
blendfile_loading_base_test.h
BlendfileLoadingBaseTest
Definition
blendfile_loading_base_test.h:13
BlendfileLoadingTest
Definition
blendfile_load_test.cc:8
depsgraph
const Depsgraph * depsgraph
Definition
deg_eval_copy_on_write.cc:494
SEP_STR
#define SEP_STR
Definition
unit.cc:39
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0