- Timestamp:
- May 25, 2015, 9:40:11 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/test/core/object/ClassFactoryTest.cc
r9649 r10481 3 3 #include "core/BaseObject.h" 4 4 #include "core/object/Context.h" 5 #include "core/module/ModuleInstance.h" 5 6 6 7 namespace orxonox … … 15 16 { 16 17 Context::setRootContext(new Context(NULL)); 18 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 17 19 } 18 20 19 21 virtual void TearDown() 20 22 { 23 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 21 24 Context::setRootContext(NULL); 22 25 }
Note: See TracChangeset
for help on using the changeset viewer.