Changeset 10481 for code/branches/core7/test/core/object
- Timestamp:
- May 25, 2015, 9:40:11 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
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 } -
code/branches/core7/test/core/object/ContextTest.cc
r10395 r10481 3 3 #include "core/class/OrxonoxClass.h" 4 4 #include "core/CoreIncludes.h" 5 #include "core/module/ModuleInstance.h" 5 6 6 7 namespace orxonox … … 23 24 { 24 25 Context::setRootContext(new Context(NULL)); 26 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 25 27 } 26 28 27 29 virtual void TearDown() 28 30 { 31 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 29 32 Context::setRootContext(NULL); 30 33 } -
code/branches/core7/test/core/object/IteratorTest.cc
r10395 r10481 6 6 #include "core/class/OrxonoxInterface.h" 7 7 #include "core/CoreIncludes.h" 8 #include "core/module/ModuleInstance.h" 8 9 9 10 namespace orxonox … … 34 35 { 35 36 Context::setRootContext(new Context(NULL)); 37 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 36 38 } 37 39 38 40 virtual void TearDown() 39 41 { 42 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 40 43 Context::setRootContext(NULL); 41 44 } -
code/branches/core7/test/core/object/ListableTest.cc
r10395 r10481 2 2 #include "core/object/Listable.h" 3 3 #include "core/CoreIncludes.h" 4 #include "core/module/ModuleInstance.h" 4 5 5 6 namespace orxonox … … 39 40 { 40 41 Context::setRootContext(new Context(NULL)); 42 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 41 43 } 42 44 43 45 virtual void TearDown() 44 46 { 47 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 45 48 Context::setRootContext(NULL); 46 49 } -
code/branches/core7/test/core/object/ObjectListIteratorTest.cc
r10395 r10481 5 5 #include "core/object/Listable.h" 6 6 #include "core/CoreIncludes.h" 7 #include "core/module/ModuleInstance.h" 7 8 8 9 namespace orxonox … … 26 27 { 27 28 Context::setRootContext(new Context(NULL)); 29 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 28 30 } 29 31 30 32 virtual void TearDown() 31 33 { 34 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 32 35 Context::setRootContext(NULL); 33 36 }
Note: See TracChangeset
for help on using the changeset viewer.