Update utBaseProcess.cpp

This commit is contained in:
Kim Kulling
2022-08-29 17:48:57 +02:00
committed by GitHub
parent e34becff62
commit 6539b8685f

View File

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