opensurgsim
Classes | Namespaces | Functions
ComponentManagerTests.cpp File Reference

test the basic functionality of the component manager mostly through a mock manager that exposes the private interface and implements the simplest version of the abstract interface. More...

#include <gtest/gtest.h>
#include "SurgSim/Framework/Runtime.h"
#include "SurgSim/Framework/ComponentManager.h"
#include "SurgSim/Framework/UnitTests/MockObjects.h"

Classes

class  SurgSim::Framework::InitializationBugManager
 

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::Framework::TEST (ComponentManagerTests, TestInternalAddRemove)
 
 SurgSim::Framework::TEST (ComponentManagerTests, SimpleAddRemoveComponentTest)
 
 SurgSim::Framework::TEST (ComponentManagerTests, CompoundAddRemoveComponentTest)
 
 SurgSim::Framework::TEST (ComponentManagerTest, DoNotWakeupForeignComponents)
 
 SurgSim::Framework::TEST (ComponentManagerTests, TypeTest)
 
 SurgSim::Framework::TEST (ComponentManagerTests, AdditionDuringInitializationTest)
 

Detailed Description

test the basic functionality of the component manager mostly through a mock manager that exposes the private interface and implements the simplest version of the abstract interface.