Changeset 10544 for code/branches/core7/test/core/command
- Timestamp:
- Jun 7, 2015, 3:24:55 PM (10 years ago)
- File:
- 
          - 1 edited
 
 
Legend:
- Unmodified
- Added
- Removed
- 
        code/branches/core7/test/core/command/CommandTest.ccr10535 r10544 140 140 virtual void SetUp() 141 141 { 142 new IdentifierManager(); 143 new ConsoleCommandManager(); 142 144 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::CONSOLE_COMMAND); 145 Context::setRootContext(new Context(NULL)); 143 146 Identifier::initConfigValues_s = false; // TODO: hack! 144 147 IdentifierManager::getInstance().createClassHierarchy(); … … 148 151 { 149 152 IdentifierManager::getInstance().destroyClassHierarchy(); 153 Context::destroyRootContext(); 150 154 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::CONSOLE_COMMAND); 155 delete &ConsoleCommandManager::getInstance(); 156 delete &IdentifierManager::getInstance(); 151 157 } 152 158 }; 
Note: See TracChangeset
          for help on using the changeset viewer.
      


 
            







