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:
parent
3a21c9475b
commit
c2c854b22c
1 changed files with 2 additions and 1 deletions
|
@ -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)); \
|
||||
} \
|
||||
|
|
Loading…
Reference in a new issue