[Libreoffice-commits] core.git: sw/qa
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 21 06:37:39 UTC 2021
sw/qa/extras/ooxmlexport/ooxmlexport3.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 8286014d9d3b96cd69e462a19d666488f66a89c9
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue Jul 20 20:17:32 2021 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Jul 21 08:37:00 2021 +0200
CppunitTest_sw_ooxmlexport3: 1 removal of DECLARE_OOXMLEXPORT_EXPORTONLY_TEST
It shows that this is doable, but it also shows that we probably need
some kind of loadAndSave() oneliner before a mass-conversion.
Change-Id: Ia37423a2d84b4a155cfd5fa57b14b11f25fdd3eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119291
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
index e7daad0b0240..30bc65297c09 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
@@ -155,8 +155,12 @@ DECLARE_OOXMLEXPORT_TEST(testCharacterBorder, "charborder.odt")
}
}
-DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testStyleInheritance, "style-inheritance.docx")
+CPPUNIT_TEST_FIXTURE(Test, testStyleInheritance)
{
+ load(mpTestDocumentPath, "style-inheritance.docx");
+ save("Office Open XML Text", maTempFile);
+ mbExported = true;
+
// Check that now styleId's are more like what MSO produces
xmlDocUniquePtr pXmlStyles = parseExport("word/styles.xml");
// the 1st style always must be Normal
More information about the Libreoffice-commits
mailing list