[cppunit] aborting the test case for failing condition

Michael Stahl mstahl at redhat.com
Mon Jan 8 12:42:07 UTC 2018


On 04.01.2018 17:30, malerviertel at arcor.de wrote:
> we are missing some fatal aborting assertions, i.e. the equivalents of all current comparisons, but causing an (immediate) abort. Sometimes the continuation of following tests makes no sense ...
> 
> I could imagine the use of CPPUNIT_FAIL(message) for these situations, but hesitate to start a new development as long as the lack isn't confirmed.

just #include <assert.h> and use assert(), no need for anything extra in
CppUnit if you want that.


More information about the LibreOffice mailing list