sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit f3a79ea8c3a2949845a14f323b9399a74ef3f607 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Tue Mar 4 10:12:20 2014 +0100 CppunitTest_sw_ooxmlsdrexport: make this failure a bit more readable Change-Id: Ia71f5ea712ad16d6eef3af1136613d38cd27b581 diff --git a/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx index a1c378b..d3e6f6b 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx @@ -201,7 +201,8 @@ DECLARE_OOXMLEXPORT_TEST(testDmlRectangleRelsize, "dml-rectangle-relsize.docx") { // This was around 19560, as we did not read wp14:pctHeight for // drawinglayer shapes and the fallback data was invalid. - CPPUNIT_ASSERT(getShape(1)->getSize().Height >= 20992); + OString aMessage("Height is only " + OString::number(getShape(1)->getSize().Height)); + CPPUNIT_ASSERT_MESSAGE(aMessage.getStr(), getShape(1)->getSize().Height >= 20992); // This was around 0: relative size of 0% was imported as 0, not "fall back to absolute size". CPPUNIT_ASSERT(getShape(2)->getSize().Height > 300); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits