[Libreoffice-commits] core.git: Branch 'private/swe/libreoffice-5-2+backports' - sw/qa
Tamas Bunth
tamas.bunth at collabora.co.uk
Mon Dec 18 15:56:02 UTC 2017
sw/qa/extras/ooxmlexport/data/parasplit-on-section-border.odt |binary
sw/qa/extras/ooxmlexport/ooxmlexport11.cxx | 6 +++---
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 78ee96864ff96acb5ccb24d4123002c0488bfb86
Author: Tamas Bunth <tamas.bunth at collabora.co.uk>
Date: Fri Dec 15 11:56:21 2017 +0100
sw: Modifiy paragraph-split unit test to also..
..assert that no section break is inserted after the paragraph which had
to be split and which contains a section break between its parts.
Change-Id: I5bf2f313202c1dcc2acdf66b2457152b8d44be81
Reviewed-on: https://gerrit.libreoffice.org/46525
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96 at gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/46594
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/sw/qa/extras/ooxmlexport/data/parasplit-on-section-border.odt b/sw/qa/extras/ooxmlexport/data/parasplit-on-section-border.odt
index 1d0b96f8bb96..8a6e4aeb4704 100644
Binary files a/sw/qa/extras/ooxmlexport/data/parasplit-on-section-border.odt and b/sw/qa/extras/ooxmlexport/data/parasplit-on-section-border.odt differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
index 60701a264805..4da51b6b87a1 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
@@ -106,10 +106,10 @@ DECLARE_OOXMLEXPORT_TEST(testParagraphSplitOnSectionBorder, "parasplit-on-sectio
if(!pXmlDoc)
return;
- // Test document has only one paragraph. After splitting, it should contain
- // two of them.
+ // Test document has only two paragraphs. After splitting, it should contain
+ // three of them.
assertXPath(pXmlDoc, "//w:sectPr", 2);
- assertXPath(pXmlDoc, "//w:p", 2);
+ assertXPath(pXmlDoc, "//w:p", 3);
}
DECLARE_OOXMLEXPORT_TEST(testTdf44832_testSectionWithDifferentHeader, "tdf44832_section_new_header.odt")
More information about the Libreoffice-commits
mailing list