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

    r10535 r10544  
    4949                virtual void SetUp()
    5050                {
     51                    new IdentifierManager();
    5152                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
     53                    Context::setRootContext(new Context(NULL));
    5254                    Identifier::initConfigValues_s = false; // TODO: hack!
    5355                    IdentifierManager::getInstance().createClassHierarchy();
     
    5759                {
    5860                    IdentifierManager::getInstance().destroyClassHierarchy();
     61                    Context::destroyRootContext();
    5962                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
     63                    delete &IdentifierManager::getInstance();
    6064                }
    6165        };
Note: See TracChangeset for help on using the changeset viewer.