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

    r10395 r10481  
    33#include "core/class/OrxonoxClass.h"
    44#include "core/CoreIncludes.h"
     5#include "core/module/ModuleInstance.h"
    56
    67namespace orxonox
     
    2324                {
    2425                    Context::setRootContext(new Context(NULL));
     26                    ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances();
    2527                }
    2628
    2729                virtual void TearDown()
    2830                {
     31                    ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances();
    2932                    Context::setRootContext(NULL);
    3033                }
Note: See TracChangeset for help on using the changeset viewer.