related tdf#123636: fix unit test for tinderbox
Change-Id: Ia7dc9879aeaa978d1cb1b0573fb69bd63bd5d4e0
Reviewed-on: https://gerrit.libreoffice.org/71278
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx
index 41c04f5..5bf1702 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport13.cxx
@@ -98,7 +98,7 @@
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Number of Pages", 2, getPages() );
xmlDocPtr pDump = parseLayoutDump();
assertXPath(pDump, "/root/page[1]/body/txt[3]", "Last line on page 1");
assertXPath(pDump, "/root/page[1]/body/txt[3]/Text[1]", "Portion", "Last line on page 1");
}
DECLARE_OOXMLEXPORT_TEST(testTdf123636_newlinePageBreak4, "tdf123636_newlinePageBreak4.docx")
@@ -109,7 +109,7 @@
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Number of Pages", 2, getPages() );
xmlDocPtr pDump = parseLayoutDump();
assertXPath(pDump, "/root/page[2]/body/txt[1]", "");
assertXPath(pDump, "/root/page[2]/body/txt[1]/Text", 0);
}
DECLARE_OOXMLEXPORT_TEST(tdf123912_protectedForm, "tdf123912_protectedForm.odt")