Changeset 10405 for code/branches/core7
- Timestamp:
- Apr 26, 2015, 8:49:32 PM (10 years ago)
- Location:
- code/branches/core7
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/class/Identifier.cc
r10403 r10405 225 225 void Identifier::reset() 226 226 { 227 if (this->factory_ != NULL) // TODO: should reset ALL identifiers, but currently the calls to inheritsFrom<>() are not reproducible 228 this->directParents_.clear(); 227 this->directParents_.clear(); 229 228 this->parents_.clear(); 230 229 this->directChildren_.clear(); -
code/branches/core7/test/core/class/IdentifierClassHierarchyTest.cc
r10403 r10405 143 143 { 144 144 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 145 ModuleInstance::setCurrentModuleInstance(new ModuleInstance()); // overwrite ModuleInstance because the old one is now loaded and shouln't be used anymore. TODO: better solution?146 145 Identifier::initConfigValues_s = false; // TODO: hack! 147 146 IdentifierManager::getInstance().createClassHierarchy(); … … 151 150 { 152 151 IdentifierManager::getInstance().destroyClassHierarchy(); 152 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 153 153 } 154 154 }; -
code/branches/core7/test/core/class/IdentifierExternalClassHierarchyTest.cc
r10403 r10405 50 50 { 51 51 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 52 ModuleInstance::setCurrentModuleInstance(new ModuleInstance()); // overwrite ModuleInstance because the old one is now loaded and shouln't be used anymore. TODO: better solution?53 52 Identifier::initConfigValues_s = false; // TODO: hack! 54 53 IdentifierManager::getInstance().createClassHierarchy(); … … 58 57 { 59 58 IdentifierManager::getInstance().destroyClassHierarchy(); 59 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 60 60 } 61 61 }; -
code/branches/core7/test/core/class/IdentifierNestedClassHierarchyTest.cc
r10403 r10405 110 110 { 111 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 112 Identifier::initConfigValues_s = false; // TODO: hack! 114 113 IdentifierManager::getInstance().createClassHierarchy(); … … 118 117 { 119 118 IdentifierManager::getInstance().destroyClassHierarchy(); 119 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 120 120 } 121 121 }; -
code/branches/core7/test/core/class/IdentifierSimpleClassHierarchyTest.cc
r10403 r10405 52 52 { 53 53 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 54 ModuleInstance::setCurrentModuleInstance(new ModuleInstance()); // overwrite ModuleInstance because the old one is now loaded and shouln't be used anymore. TODO: better solution?55 54 Identifier::initConfigValues_s = false; // TODO: hack! 56 55 IdentifierManager::getInstance().createClassHierarchy(); … … 60 59 { 61 60 IdentifierManager::getInstance().destroyClassHierarchy(); 61 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 62 62 } 63 63 }; -
code/branches/core7/test/core/class/SubclassIdentifierTest.cc
r10403 r10405 32 32 { 33 33 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 34 ModuleInstance::setCurrentModuleInstance(new ModuleInstance()); // overwrite ModuleInstance because the old one is now loaded and shouln't be used anymore. TODO: better solution?35 34 Identifier::initConfigValues_s = false; // TODO: hack! 36 35 IdentifierManager::getInstance().createClassHierarchy(); … … 44 43 45 44 IdentifierManager::getInstance().destroyClassHierarchy(); 45 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 46 46 } 47 47 }; -
code/branches/core7/test/core/class/SuperTest.cc
r10403 r10405 73 73 { 74 74 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 75 ModuleInstance::setCurrentModuleInstance(new ModuleInstance()); // overwrite ModuleInstance because the old one is now loaded and shouln't be used anymore. TODO: better solution?76 75 Identifier::initConfigValues_s = false; // TODO: hack! 77 76 IdentifierManager::getInstance().createClassHierarchy(); … … 85 84 86 85 IdentifierManager::getInstance().destroyClassHierarchy(); 86 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 87 87 } 88 88 }; -
code/branches/core7/test/core/command/CommandTest.cc
r10403 r10405 141 141 { 142 142 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(); 143 ModuleInstance::setCurrentModuleInstance(new ModuleInstance()); // overwrite ModuleInstance because the old one is now loaded and shouln't be used anymore. TODO: better solution?144 143 Identifier::initConfigValues_s = false; // TODO: hack! 145 144 IdentifierManager::getInstance().createClassHierarchy(); … … 149 148 { 150 149 IdentifierManager::getInstance().destroyClassHierarchy(); 150 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(); 151 151 } 152 152 };
Note: See TracChangeset
for help on using the changeset viewer.