[Libreoffice-commits] core.git: sw/qa
Joren De Cuyper
jorendc at libreoffice.org
Sun May 10 12:05:11 PDT 2015
sw/qa/extras/ooxmlexport/ooxmlexport2.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c342295aa8269537494c603429abbec9259f997d
Author: Joren De Cuyper <jorendc at libreoffice.org>
Date: Sun May 10 19:06:32 2015 +0200
Imagedata test: test fill-attributes are not written at all
Change-Id: Iac7e3a14753ee0e0c6d64bda270043462fa3f20a
Reviewed-on: https://gerrit.libreoffice.org/15698
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Joren De Cuyper <jorendc at libreoffice.org>
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
index a14388d..224e546 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport2.cxx
@@ -1115,8 +1115,8 @@ DECLARE_OOXMLEXPORT_TEST(NoFillAttrInImagedata, "NoFillAttrInImagedata.docx")
if (!pXmlDoc)
return;
- assertXPath(pXmlDoc, "/w:document/w:body/w:p/w:r/mc:AlternateContent[2]/mc:Fallback/w:pict/v:rect/v:imagedata", "type", "");
- assertXPath(pXmlDoc, "/w:document/w:body/w:p/w:r/mc:AlternateContent[2]/mc:Fallback/w:pict/v:rect/v:imagedata", "color2", "");
+ assertXPathNoAttribute(pXmlDoc, "/w:document/w:body/w:p/w:r/mc:AlternateContent[2]/mc:Fallback/w:pict/v:rect/v:imagedata", "type");
+ assertXPathNoAttribute(pXmlDoc, "/w:document/w:body/w:p/w:r/mc:AlternateContent[2]/mc:Fallback/w:pict/v:rect/v:imagedata", "color2");
}
DECLARE_OOXMLEXPORT_TEST(testBnc837302, "bnc837302.docx")
More information about the Libreoffice-commits
mailing list