Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 4, 2015, 9:12:21 PM (9 years ago)
Author:
landauf
Message:

merged branch core7 back to trunk

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/test/core/object/ObjectListIteratorTest.cc

    r9659 r10624  
    55#include "core/object/Listable.h"
    66#include "core/CoreIncludes.h"
     7#include "core/module/ModuleInstance.h"
    78
    89namespace orxonox
     
    1718        };
    1819
     20        RegisterClassNoArgs(ListableTest);
     21
    1922        // Fixture
    2023        class ObjectListIteratorTest : public ::testing::Test
     
    2326                virtual void SetUp()
    2427                {
     28                    new IdentifierManager();
     29                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
    2530                    Context::setRootContext(new Context(NULL));
    2631                }
     
    2833                virtual void TearDown()
    2934                {
    30                     Context::setRootContext(NULL);
     35                    Context::destroyRootContext();
     36                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER);
     37                    delete &IdentifierManager::getInstance();
    3138                }
    3239        };
Note: See TracChangeset for help on using the changeset viewer.