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/IdentifierSimpleClassHierarchyTest.cc

    r10535 r10544  
    5151                virtual void SetUp()
    5252                {
     53                    new IdentifierManager();
    5354                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
     55                    Context::setRootContext(new Context(NULL));
    5456                    Identifier::initConfigValues_s = false; // TODO: hack!
    5557                    IdentifierManager::getInstance().createClassHierarchy();
     
    5961                {
    6062                    IdentifierManager::getInstance().destroyClassHierarchy();
     63                    Context::destroyRootContext();
    6164                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
     65                    delete &IdentifierManager::getInstance();
    6266                }
    6367        };
Note: See TracChangeset for help on using the changeset viewer.