Changeset 10535 for code/branches/core7/test/core/object
- Timestamp:
- Jun 6, 2015, 11:52:25 PM (10 years ago)
- Location:
- code/branches/core7/test/core/object
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/test/core/object/ClassFactoryTest.cc
r10530 r10535 4 4 #include "core/object/Context.h" 5 5 #include "core/module/ModuleInstance.h" 6 #include "core/CoreIncludes.h" 6 7 7 8 namespace orxonox … … 16 17 { 17 18 Context::setRootContext(new Context(NULL)); 18 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances( 0);19 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 19 20 } 20 21 21 22 virtual void TearDown() 22 23 { 23 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances( 0);24 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 24 25 Context::setRootContext(NULL); 25 26 } -
code/branches/core7/test/core/object/ContextTest.cc
r10530 r10535 24 24 { 25 25 Context::setRootContext(new Context(NULL)); 26 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances( 0);26 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 27 27 } 28 28 29 29 virtual void TearDown() 30 30 { 31 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances( 0);31 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 32 32 Context::setRootContext(NULL); 33 33 } -
code/branches/core7/test/core/object/IteratorTest.cc
r10530 r10535 35 35 { 36 36 Context::setRootContext(new Context(NULL)); 37 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances( 0);37 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 38 38 } 39 39 40 40 virtual void TearDown() 41 41 { 42 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances( 0);42 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 43 43 Context::setRootContext(NULL); 44 44 } -
code/branches/core7/test/core/object/ListableTest.cc
r10530 r10535 40 40 { 41 41 Context::setRootContext(new Context(NULL)); 42 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances( 0);42 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 43 43 } 44 44 45 45 virtual void TearDown() 46 46 { 47 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances( 0);47 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 48 48 Context::setRootContext(NULL); 49 49 } -
code/branches/core7/test/core/object/ObjectListIteratorTest.cc
r10530 r10535 27 27 { 28 28 Context::setRootContext(new Context(NULL)); 29 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances( 0);29 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 30 30 } 31 31 32 32 virtual void TearDown() 33 33 { 34 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances( 0);34 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); 35 35 Context::setRootContext(NULL); 36 36 }
Note: See TracChangeset
for help on using the changeset viewer.