Changeset 10535 for code/branches/core7/test/core/singleton
- Timestamp:
- Jun 6, 2015, 11:52:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/test/core/singleton/ScopeTest.cc
r10530 r10535 2 2 #include "core/singleton/ScopedSingletonIncludes.h" 3 3 #include "core/module/ModuleInstance.h" 4 #include "core/CoreIncludes.h" 4 5 5 6 namespace orxonox … … 27 28 virtual void SetUp() 28 29 { 29 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(0); 30 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 31 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::SCOPED_SINGLETON_WRAPPER); 30 32 } 31 33 32 34 virtual void TearDown() 33 35 { 34 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(0); 36 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::SCOPED_SINGLETON_WRAPPER); 37 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 35 38 } 36 39 };
Note: See TracChangeset
for help on using the changeset viewer.