- Timestamp:
- Apr 26, 2015, 4:16:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/test/core/class/IdentifierNestedClassHierarchyTest.cc
r10400 r10403 4 4 #include "core/class/OrxonoxClass.h" 5 5 #include "core/class/OrxonoxInterface.h" 6 #include "core/module/ModuleInstance.h" 6 7 7 8 namespace orxonox … … 108 109 virtual void SetUp() 109 110 { 111 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 112 ModuleInstance::setCurrentModuleInstance(new ModuleInstance()); // overwrite ModuleInstance because the old one is now loaded and shouln't be used anymore. TODO: better solution? 113 Identifier::initConfigValues_s = false; // TODO: hack! 114 IdentifierManager::getInstance().createClassHierarchy(); 110 115 } 111 116 112 117 virtual void TearDown() 113 118 { 119 IdentifierManager::getInstance().destroyClassHierarchy(); 114 120 } 115 121 };
Note: See TracChangeset
for help on using the changeset viewer.