Blender
V3.3
source
blender
draw
tests
draw_testing.hh
Go to the documentation of this file.
1
/* SPDX-License-Identifier: Apache-2.0 */
2
3
#include "
gpu_testing.hh
"
4
5
namespace
blender::draw
{
6
7
/* Base class for draw test cases. It will setup and tear down the GPU part around each test. */
8
class
DrawOpenGLTest
:
public
blender::gpu::GPUOpenGLTest
{
9
public
:
10
void
SetUp
()
override
;
11
};
12
13
#define DRAW_TEST(test_name) \
14
TEST_F(DrawOpenGLTest, test_name) \
15
{ \
16
test_##test_name(); \
17
}
18
19
}
// namespace blender::draw
blender::draw::DrawOpenGLTest
Definition:
draw_testing.hh:8
blender::draw::DrawOpenGLTest::SetUp
void SetUp() override
Definition:
draw_testing.cc:12
blender::gpu::GPUOpenGLTest
Definition:
gpu_testing.hh:34
gpu_testing.hh
blender::draw
Definition:
image_drawing_mode.hh:20
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1