https://bugs.documentfoundation.org/show_bug.cgi?id=90290
--- Comment #12 from Tor Lillqvist <[email protected]> --- Brent: The line number and file name in messages about failed unit tests come (in the examples in the initial comment) from where the CPPUNIT_FAIL macro is called. So if CPPUNIT_FAIL is moved into some function that is called from multiple places, the message no longer gives the true line number and source file to identify which test actually fails. Thus it might be useful if there was another macro, CPPUNIT_FAIL_AT(message, file, line), and such a function (the checkFormula() in Markus's comment) would then take also file name and line number, which would be passed on to CPPUNIT_FAIL. CPPUNIT_FAIL (and other macros starting with "CPPUNIT_") are from a separate piece of software called cppunit. As it happens, it's the LibreOffice developers (Markus in particular, I think) that are the upstream nowadays of that software, so we can easily amend its API as we see useful, and release a new version. Brent, you could even suggest such a patch to cppunit. (I am not sure what the correct procedure for that is, do we even have gerrit for that, too?) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
