summaryrefslogtreecommitdiff
path: root/test/UnitTiffLoad.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-03-14wsd: test assertion macrosAshod Nakashian1-2/+2
Because the new-style tests are intrustive, the exception that CppUnit throws on assertion failures is caught and processed with the application logic, which is far from ideal, because it's very difficult to find the cause of failure. What we'd like is a way to control what happens when an test assertion fails, such that we can properly log/print the failure, and even break in the debugger. The new macros allow us to control the behavior at compile-time and have added flexibility. For now, they log an assertion failure before invoking the CPPUNIT macro, and support a compile-time directive to assert, which is useful for breaking in the debugger. Change-Id: If464ba246e3ec747f31496a4215cb73ef735dfaf Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87625 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2019-09-16UnitTiffLoad: remove not needed config.h includeMiklos Vajna1-12/+7
And also others, pointed out by IWYU. Finally, it's not needed to force-enable HTTPS after all, it seems. Change-Id: I4d9984d2485b1519bd5a9cc44834735e09a87058
2019-09-12Convert TIFF load testcase to a new-style oneMiklos Vajna1-0/+64
This was originally added in commit c2c7982e5e49bb698342df1f9eaf7a2e50fd43eb (Add TIFF load testcase, 2019-07-04), and still fails without the core.git fix. Change-Id: I798b82ea8212dfeafc162e4b73f6fff707ac3de2