Explorar o código

Update utBaseProcess.cpp

Kim Kulling %!s(int64=3) %!d(string=hai) anos
pai
achega
6539b8685f
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      test/unit/Common/utBaseProcess.cpp

+ 5 - 0
test/unit/Common/utBaseProcess.cpp

@@ -101,5 +101,10 @@ TEST_F( BaseProcessTest, constructTest ) {
 TEST_F( BaseProcessTest, executeOnSceneTest ) {
     TestingBaseProcess process;
     process.ExecuteOnScene(nullptr);
+#ifdef DEBUG
     EXPECT_TRUE(BaseProcessTest::handlerWasCalled());
+#else
+    EXPECT_FALSE(BaseProcessTest::handlerWasCalled());
+#endif
+
 }