Update utBaseProcess.cpp
parent
e34becff62
commit
6539b8685f
|
@ -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
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue