Blender  V3.3
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. */
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