GoogleTestAdapter icon indicating copy to clipboard operation
GoogleTestAdapter copied to clipboard

Throwing test: wrong crash detection #110

Open edenroz opened this issue 1 year ago • 0 comments

I have a test that handles a throwed excecption but the exception seems not handled, maybe it's because Isolator++.

The adapter wrongly detect my PASSED tests as FAILED and prints the message "!! This test has probably CRASHED !!"

Raw output of google test follows

[==========] Running 3 tests from 2 test cases. [----------] Global test environment set-up. [----------] 2 tests from TestLPR_COMMOD_IM_IntegrityTilesModelOffset [ RUN ] TestLPR_COMMOD_IM_IntegrityTilesModelOffset.When_Clean_Expect_CallTo_LxR_xxxMOD_IM_SecFeatSimulationModel_clean [ OK ] TestLPR_COMMOD_IM_IntegrityTilesModelOffset.When_Clean_Expect_CallTo_LxR_xxxMOD_IM_SecFeatSimulationModel_clean (363 ms) [ RUN ] TestLPR_COMMOD_IM_IntegrityTilesModelOffset.When_Clean_Expect_CallTo_LPR_COMMOD_IM_IntegrityTilesModel_Clean [ OK ] TestLPR_COMMOD_IM_IntegrityTilesModelOffset.When_Clean_Expect_CallTo_LPR_COMMOD_IM_IntegrityTilesModel_Clean (44 ms) [----------] 2 tests from TestLPR_COMMOD_IM_IntegrityTilesModelOffset (413 ms total)

[----------] 1 test from TestMbuLKIntaglioRefl [ RUN ] TestMbuLKIntaglioRefl.When_Ctor_Expect_CallTo_AddModel

edenroz avatar Apr 08 '24 09:04 edenroz