|
opensurgsim
|
Tests for the OsgViewElement class. More...
#include "SurgSim/Graphics/UnitTests/MockObjects.h"#include "SurgSim/Graphics/UnitTests/MockOsgObjects.h"#include "SurgSim/Graphics/OsgView.h"#include "SurgSim/Graphics/OsgViewElement.h"#include <gtest/gtest.h>Namespaces | |
| SurgSim | |
| Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui needs glew but we need to call glewInit() from a osg callback, using this call we avoid getting warnings about redefinitions. | |
Functions | |
| SurgSim::Graphics::TEST (OsgViewElementTests, InitTest) | |
| SurgSim::Graphics::TEST (OsgViewElementTests, ViewTest) | |
Tests for the OsgViewElement class.
| SurgSim::Graphics::TEST | ( | OsgViewElementTests | , |
| ViewTest | |||
| ) |
Setting an OsgView should succeed
Any other View should fail
1.8.12