sw/qa/extras/ooxmlexport/ooxmlexport5.cxx | 6 ------ sw/qa/extras/ooxmlexport/ooxmlexport6.cxx | 18 ------------------ 2 files changed, 24 deletions(-)
New commits: commit f4340c64608581ac5539dd3733cd758c66b5965d Author: Noel Grandin <[email protected]> AuthorDate: Tue Dec 9 20:04:44 2025 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Wed Dec 10 09:50:43 2025 +0100 skipValidation not needed here anymore Change-Id: I588f9194f11749c0fcf94f0fc8c9c9148284317e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195332 Reviewed-by: Noel Grandin <[email protected]> Tested-by: Jenkins diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx index eda09dcc49ce..eb62bd953a71 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx @@ -30,9 +30,6 @@ CPPUNIT_TEST_FIXTURE(Test, testFDO76248) { createSwDoc("FDO76248.docx"); - //FIXME: validation error in OOXML export: Errors: 6 - skipValidation(); - save(TestFilter::DOCX); xmlDocUniquePtr pXmlDoc = parseExport(u"word/document.xml"_ustr); // In two cases the a:graphicData elements had no children, which is invalid. @@ -209,9 +206,6 @@ CPPUNIT_TEST_FIXTURE(Test, testFDO76587 ) { createSwDoc("fdo76587.docx"); - //FIXME: validation error in OOXML export: Errors: 1 - skipValidation(); - save(TestFilter::DOCX); xmlDocUniquePtr pXmlDoc = parseExport(u"word/styles.xml"_ustr); assertXPath(pXmlDoc, "/w:styles/w:style[8]/w:pPr/w:spacing", "line", u"240"); diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx index 1aa0c02104ff..5a156d05f1ae 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport6.cxx @@ -554,9 +554,6 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf132514) DECLARE_OOXMLEXPORT_TEST(testTdf153891, "tdf153891.docx") { - // FIXME: validation error in OOXML export: Errors: 1 - skipValidation(); - // This document simply crashed the importer. } @@ -739,9 +736,6 @@ CPPUNIT_TEST_FIXTURE(Test, testBehinddoc) { createSwDoc("behinddoc.docx"); - // FIXME: validation error in OOXML export: Errors: 1 - skipValidation(); - save(TestFilter::DOCX); xmlDocUniquePtr pXmlDoc = parseExport(u"word/document.xml"_ustr); // This was "0", shape was in the foreground. @@ -793,9 +787,6 @@ CPPUNIT_TEST_FIXTURE(Test, testFdo70942) { createSwDoc("fdo70942.docx"); - // FIXME: validation error in OOXML export: Errors: 2 - skipValidation(); - save(TestFilter::DOCX); xmlDocUniquePtr pXmlDoc = parseExport(u"word/document.xml"_ustr); assertXPath(pXmlDoc, "/w:document/w:body/w:p[1]/w:r[1]/mc:AlternateContent/mc:Choice/w:drawing/wp:anchor/a:graphic/a:graphicData/wps:wsp/wps:spPr/a:prstGeom", @@ -932,9 +923,6 @@ CPPUNIT_TEST_FIXTURE(Test, testFDO73546) { createSwDoc("FDO73546.docx"); - // FIXME: validation error in OOXML export: Errors: 8 - skipValidation(); - save(TestFilter::DOCX); xmlDocUniquePtr pXmlDoc = parseExport(u"word/header2.xml"_ustr); assertXPath(pXmlDoc, "/w:hdr/w:p[1]/w:r[3]/mc:AlternateContent/mc:Choice/w:drawing/wp:anchor", "distL",u"0"); @@ -1050,9 +1038,6 @@ CPPUNIT_TEST_FIXTURE(Test, testOuterShdw) { createSwDoc("testOuterShdw.docx"); - // FIXME: validation error in OOXML export: Errors: 3 - skipValidation(); - saveAndReload(TestFilter::DOCX); xmlDocUniquePtr pXmlDoc = parseExport(u"word/document.xml"_ustr); assertXPath(pXmlDoc, "//mc:AlternateContent[1]/mc:Choice[1]/w:drawing[1]/wp:anchor[1]/a:graphic[1]/a:graphicData[1]/wps:wsp[1]/wps:spPr[1]/a:effectLst[1]/a:outerShdw[1]", "dist", u"1041400"); @@ -1062,9 +1047,6 @@ CPPUNIT_TEST_FIXTURE(Test, testExtentValue) { createSwDoc("fdo74605.docx"); - // FIXME: validation error in OOXML export: Errors: 45 - skipValidation(); - save(TestFilter::DOCX); xmlDocUniquePtr pXmlDoc = parseExport(u"word/document.xml"_ustr); sal_Int32 nX = getXPath(pXmlDoc, "/w:document/w:body/w:p[2]/w:r[1]/mc:AlternateContent[1]/mc:Choice[1]/w:drawing[1]/wp:anchor[1]/wp:extent", "cx").toInt32();
