[Libreoffice-commits] core.git: sw/qa

Muthu Subramanian sumuthu at collabora.com
Fri Nov 15 03:10:21 PST 2013


 sw/qa/extras/ooxmlexport/ooxmlexport.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 98e7faeeb59e2fc13681bfc3896016b64a81d665
Author: Muthu Subramanian <sumuthu at collabora.com>
Date:   Fri Nov 15 16:47:09 2013 +0530

    fdo#71581: Fix unit test cases.

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 30f7115..13c0bf1 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -1648,7 +1648,7 @@ DECLARE_OOXML_TEST(testVMLData, "TestVMLData.docx")
     // The problem was exporter was exporting vml data for shape in w:rPr element.
     // vml data shoud not come under w:rPr element.
     xmlDocPtr pXmlDoc = parseExport("word/header1.xml");
-    CPPUNIT_ASSERT(getXPath(pXmlDoc, "/w:hdr/w:p/w:r/w:pict/v:shape", "stroked").match("f"));
+    CPPUNIT_ASSERT(getXPath(pXmlDoc, "/w:hdr/w:p/w:r/w:pict/v:rect", "stroked").match("f"));
 }
 
 DECLARE_OOXML_TEST(testImageData, "image_data.docx")
@@ -1656,7 +1656,7 @@ DECLARE_OOXML_TEST(testImageData, "image_data.docx")
     // The problem was exporter was exporting v:imagedata data for shape in w:pict as v:fill w element.
 
     xmlDocPtr pXmlDoc = parseExport("word/header1.xml");
-    CPPUNIT_ASSERT(getXPath(pXmlDoc, "/w:hdr/w:p/w:r/w:pict/v:shape/v:imagedata", "detectmouseclick").match("t"));
+    CPPUNIT_ASSERT(getXPath(pXmlDoc, "/w:hdr/w:p/w:r/w:pict/v:rect/v:imagedata", "detectmouseclick").match("t"));
 }
 
 DECLARE_OOXML_TEST(testImageCrop, "ImageCrop.docx")


More information about the Libreoffice-commits mailing list