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

    r10535 r10544  
    3434                virtual void SetUp()
    3535                {
     36                    new IdentifierManager();
     37                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
    3638                    Context::setRootContext(new Context(NULL));
    37                     ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
    3839                }
    3940
    4041                virtual void TearDown()
    4142                {
     43                    Context::destroyRootContext();
    4244                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
    43                     Context::setRootContext(NULL);
     45                    delete &IdentifierManager::getInstance();
    4446                }
    4547        };
Note: See TracChangeset for help on using the changeset viewer.