diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-07-05 11:32:06 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-07-05 11:37:41 +0200 |
commit | dd1a82e5beac21fc5fa455bffa2c8e48f9adfe3f (patch) | |
tree | 161f3d6408888dbd84e6f40d1c8fc97b9bad342d /sw | |
parent | 483a36f49230f53b291ba1307c8a3ffcc24a3b12 (diff) |
rtfimport test: add message with the value found on top of expected
Change-Id: Ic17d66bd2b9f4cc4124b13ef7c962649d83ee60c
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 05d618bab10f..ea2393100842 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -898,8 +898,11 @@ DECLARE_RTFIMPORT_TEST(testFdo52989, "fdo52989.rtf") { // Same as n#192129, but for JPEG files. uno::Reference<drawing::XShape> xShape(getShape(1), uno::UNO_QUERY); + OString aMessage("xShape->getSize().Width() = "); + aMessage += OString::number(xShape->getSize().Width); + // This was 2, should be 423 (or 369?). - CPPUNIT_ASSERT(xShape->getSize().Width >= 369); + CPPUNIT_ASSERT_MESSAGE(aMessage.getStr(), xShape->getSize().Width >= 369); } DECLARE_RTFIMPORT_TEST(testFdo48442, "fdo48442.rtf") |