summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-04-26 15:54:58 +0900
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-05-02 14:08:39 +0200
commite148a58b6d60d2f2587ce264e0f5f1fb73879231 (patch)
tree44f66369b588c5fcb89dc8502637b984bc557259 /sw
parentbe48eb2e82a3d8891ee84145567e2b89884f1fd6 (diff)
extend test, so it checks the retireved graphic is as expected
Change-Id: I49f852681a5d3541da23d1d590cac14b6e4f8e6a Reviewed-on: https://gerrit.libreoffice.org/53491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport4.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx
index f51d918c721e..6232c9f8e7ee 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx
@@ -183,6 +183,9 @@ DECLARE_OOXMLEXPORT_TEST(testTextBoxPictureFill, "textbox_picturefill.docx")
CPPUNIT_ASSERT(xGraphic.is());
Graphic aGraphic(xGraphic);
CPPUNIT_ASSERT(aGraphic);
+ CPPUNIT_ASSERT(aGraphic.GetSizeBytes() > 0L);
+ CPPUNIT_ASSERT_EQUAL(447L, aGraphic.GetSizePixel().Width());
+ CPPUNIT_ASSERT_EQUAL(528L, aGraphic.GetSizePixel().Height());
}
DECLARE_OOXMLEXPORT_TEST(testFDO73034, "FDO73034.docx")