wsd: test: print assertion message as well

Change-Id: I26854ed8ad16be53ea91bd728f2090180ff5775d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92382
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:
Ashod Nakashian 2020-04-16 11:54:26 -04:00 committed by Ashod Nakashian
parent 3a21c9475b
commit c2c854b22c

View file

@ -71,7 +71,8 @@ inline std::ostream& operator<<(std::ostream& os, const std::vector<char>& v)
{ \
if (!(condition)) \
{ \
std::cerr << "Assertion failure: " << (#condition) << std::endl; \
std::cerr << "Assertion failure: " << (message) << ". Condition: " << (#condition) \
<< std::endl; \
LOK_ASSERT_IMPL(condition); \
CPPUNIT_ASSERT_MESSAGE((message), (condition)); \
} \