Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2020-09-08 09:51:34 +0300
committerJeroen Bakker <jeroen@blender.org>2020-09-08 14:23:04 +0300
commit489aeabb9e500ab852a42e73b4e19cf1e80c62ba (patch)
tree6135877aab3d88fb189382f38e93cc3e8e5e6ba4 /source/blender/draw/tests
parent5becbf97192e3759fe36b12e4a03f7c7c88e682d (diff)
DrawManager: Move tests in namespace
Using blender::draw::tests as namespaces.
Diffstat (limited to 'source/blender/draw/tests')
-rw-r--r--source/blender/draw/tests/shaders_test.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/draw/tests/shaders_test.cc b/source/blender/draw/tests/shaders_test.cc
index b82746e4609..eb7a37711e6 100644
--- a/source/blender/draw/tests/shaders_test.cc
+++ b/source/blender/draw/tests/shaders_test.cc
@@ -15,6 +15,8 @@
#include "engines/overlay/overlay_private.h"
#include "engines/workbench/workbench_private.h"
+namespace blender::draw::tests {
+
/* Base class for draw test cases. It will setup and tear down the GPU part around each test. */
class DrawTest : public ::testing::Test {
private:
@@ -319,4 +321,6 @@ TEST_F(DrawTest, eevee_glsl_shaders_static)
EXPECT_NE(EEVEE_shaders_effect_screen_raytrace_sh_get(ssr_option), nullptr);
}
EEVEE_shaders_free();
-} \ No newline at end of file
+}
+
+} // namespace blender::draw::tests \ No newline at end of file