sw/qa/extras/ooxmlexport/ooxmlexport9.cxx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
New commits: commit faedeac991ca9bf29bfbe7ffeaecd08e1d143d6f Author: Xisco Fauli <[email protected]> AuthorDate: Thu Nov 20 12:29:57 2025 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Fri Nov 21 08:48:49 2025 +0100 sw_ooxmlexport9: do not skip DOCX export validation Change-Id: I3a5fee517f19305a6ca5cf3828c525fdc4c73722 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194264 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx index 6b8239d6f4dd..4573185b0a5d 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx @@ -34,7 +34,7 @@ class Test : public SwModelTestBase { public: - Test() : SwModelTestBase(u"/sw/qa/extras/ooxmlexport/data/"_ustr, /*bSkipValidation*/ true) {} + Test() : SwModelTestBase(u"/sw/qa/extras/ooxmlexport/data/"_ustr) {} }; class DocmTest : public SwModelTestBase @@ -169,6 +169,9 @@ DECLARE_OOXMLEXPORT_TEST(testTdf95031, "tdf95031.docx") DECLARE_OOXMLEXPORT_TEST(testTdf106690, "tdf106690.docx") { + // FIXME: validation error in OOXML export: Errors: 1 + skipValidation(); + // This was 0, numbering rules with automatic spacing meant 0 // before/autospacing for all text nodes, even for ones at the start/end of // a numbered text node block. @@ -553,6 +556,10 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf97648_relativeWidth) createSwDoc("tdf97648_relativeWidth.docx"); verify(); + + // FIXME: validation error in OOXML export: Errors: 8 + skipValidation(); + saveAndReload(TestFilter::DOCX); verify(/*bIsExport*/ true); } @@ -574,6 +581,9 @@ DECLARE_OOXMLEXPORT_TEST(testTdf144362, "tdf144362.odt") DECLARE_OOXMLEXPORT_TEST(testTdf104061_tableSectionColumns,"tdf104061_tableSectionColumns.docx") { + // FIXME: validation error in OOXML export: Errors: 7 + skipValidation(); + CPPUNIT_ASSERT_MESSAGE("There should be two or three pages", getPages() <= 3 ); //tdf#95114 - follow style is Text Body - DOCX test
