Update utBaseProcess.cpp

pull/4705/head
Kim Kulling 2022-08-29 17:48:57 +02:00 committed by GitHub
parent e34becff62
commit 6539b8685f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

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
}