[Orxonox-commit 5696] r10356 - code/branches/core7/test/core/command
landauf at orxonox.net
landauf at orxonox.net
Sat Apr 11 23:21:56 CEST 2015
Author: landauf
Date: 2015-04-11 23:21:56 +0200 (Sat, 11 Apr 2015)
New Revision: 10356
Modified:
code/branches/core7/test/core/command/CommandTest.cc
Log:
fixed test
Modified: code/branches/core7/test/core/command/CommandTest.cc
===================================================================
--- code/branches/core7/test/core/command/CommandTest.cc 2015-04-11 20:46:40 UTC (rev 10355)
+++ code/branches/core7/test/core/command/CommandTest.cc 2015-04-11 21:21:56 UTC (rev 10356)
@@ -2,6 +2,7 @@
#include "core/command/ConsoleCommandIncludes.h"
#include "core/command/CommandExecutor.h"
#include "core/object/Destroyable.h"
+#include "core/module/ModuleInstance.h"
namespace orxonox
{
@@ -140,6 +141,8 @@
TEST(CommandTest, ModuleTest)
{
+ ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances();
+
test(0, 0, 0);
CommandExecutor::execute("test 0", false);
test(1, 0, 0);
More information about the Orxonox-commit
mailing list