2
0
Kim Kulling 3 жил өмнө
parent
commit
6539b8685f

+ 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
+
 }