Kaydet (Commit) e148a58b authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Miklos Vajna

extend test, so it checks the retireved graphic is as expected

Change-Id: I49f852681a5d3541da23d1d590cac14b6e4f8e6a
Reviewed-on: https://gerrit.libreoffice.org/53491Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst be48eb2e
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment