summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@collabora.com>2013-11-15 16:47:09 +0530
committerMuthu Subramanian <sumuthu@collabora.com>2013-11-15 16:48:10 +0530
commit98e7faeeb59e2fc13681bfc3896016b64a81d665 (patch)
treeded3b245ca016ab4b48fb79a6d86d5f302db33c1 /sw
parenta3886c529cefdc0cb3db8ca27b3ea02f456c0470 (diff)
fdo#71581: Fix unit test cases.
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 30f711547391..13c0bf1cbd18 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")