Blender
V5.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
namespace
blender
{
9
10
class
BlendfileLoadingTest
:
public
BlendfileLoadingBaseTest
{};
11
12
TEST_F
(
BlendfileLoadingTest
, CanaryTest)
13
{
14
/* Load the smallest blend file we have in the tests/files directory. */
15
if
(!blendfile_load(
"modifier_stack"
SEP_STR
"array_test.blend"
)) {
16
return
;
17
}
18
depsgraph_create(
DAG_EVAL_RENDER
);
19
EXPECT_NE
(
nullptr
, this->depsgraph);
20
}
21
22
}
// namespace blender
BLI_path_utils.hh
blendfile_loading_base_test.h
blender::BlendfileLoadingBaseTest
Definition
blendfile_loading_base_test.h:15
blender::BlendfileLoadingTest
Definition
blendfile_load_test.cc:10
EXPECT_NE
#define EXPECT_NE(result, expect)
Definition
gpu_shader_test_lib.bsl.hh:192
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::TEST_F
TEST_F(BrushTest, deep_copy)
Definition
brush_test.cc:52
blender::DAG_EVAL_RENDER
@ DAG_EVAL_RENDER
Definition
DEG_depsgraph.hh:48
SEP_STR
#define SEP_STR
Definition
unit.cc:41
Generated on
for Blender by
doxygen
1.18.0