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/object/ContextTest.cc

    r10535 r10544  
    2323                virtual void SetUp()
    2424                {
     25                    new IdentifierManager();
     26                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
    2527                    Context::setRootContext(new Context(NULL));
    26                     ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
    2728                }
    2829
    2930                virtual void TearDown()
    3031                {
     32                    Context::destroyRootContext();
    3133                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
    32                     Context::setRootContext(NULL);
     34                    delete &IdentifierManager::getInstance();
    3335                }
    3436        };
Note: See TracChangeset for help on using the changeset viewer.