Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2015, 9:40:11 PM (9 years ago)
Author:
landauf
Message:

StaticallyInitializedIdentifier is now responsible to register and unregister the assigned identifier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/test/core/object/ClassFactoryTest.cc

    r9649 r10481  
    33#include "core/BaseObject.h"
    44#include "core/object/Context.h"
     5#include "core/module/ModuleInstance.h"
    56
    67namespace orxonox
     
    1516                {
    1617                    Context::setRootContext(new Context(NULL));
     18                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances();
    1719                }
    1820
    1921                virtual void TearDown()
    2022                {
     23                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances();
    2124                    Context::setRootContext(NULL);
    2225                }
Note: See TracChangeset for help on using the changeset viewer.