Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

fixed tests

File:
1 edited

Legend:

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

    r10535 r10544  
    142142                virtual void SetUp()
    143143                {
     144                    new IdentifierManager();
    144145                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
     146                    Context::setRootContext(new Context(NULL));
    145147                    Identifier::initConfigValues_s = false; // TODO: hack!
    146148                    IdentifierManager::getInstance().createClassHierarchy();
     
    150152                {
    151153                    IdentifierManager::getInstance().destroyClassHierarchy();
     154                    Context::destroyRootContext();
    152155                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
     156                    delete &IdentifierManager::getInstance();
    153157                }
    154158        };
Note: See TracChangeset for help on using the changeset viewer.