Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2015, 3:24:55 PM (9 years ago)
Author:
landauf
Message:

fixed tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/test/core/class/IdentifierNestedClassHierarchyTest.cc

    r10535 r10544  
    109109                virtual void SetUp()
    110110                {
     111                    new IdentifierManager();
    111112                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
     113                    Context::setRootContext(new Context(NULL));
    112114                    Identifier::initConfigValues_s = false; // TODO: hack!
    113115                    IdentifierManager::getInstance().createClassHierarchy();
     
    117119                {
    118120                    IdentifierManager::getInstance().destroyClassHierarchy();
     121                    Context::destroyRootContext();
    119122                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
     123                    delete &IdentifierManager::getInstance();
    120124                }
    121125        };
Note: See TracChangeset for help on using the changeset viewer.