[Libreoffice-commits] core.git: sw/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 8 16:32:44 UTC 2020
sw/qa/extras/ooxmlexport/ooxmlexport11.cxx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 1dc133c6994833dadd91e20d0a7c9ebc22bc0e61
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Tue Sep 8 13:07:12 2020 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Tue Sep 8 18:32:03 2020 +0200
sw_ooxmlexport11: DECLARE_OOXMLIMPORT_TEST -> DECLARE_OOXMLEXPORT_TEST
Change-Id: Ibd0fac93fccce6c9e1da02794f880bb73c2433d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102242
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
index c36b399f4352..6cdecfd2c258 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport11.cxx
@@ -330,7 +330,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf115719, "tdf115719.docx")
CPPUNIT_ASSERT_EQUAL(2, getPages());
}
-DECLARE_OOXMLIMPORT_TEST(testTdf115719b, "tdf115719b.docx")
+DECLARE_OOXMLEXPORT_TEST(testTdf115719b, "tdf115719b.docx")
{
// This is similar to testTdf115719, but here the left textbox is not aligned "from left, by
// 0cm" but simply aligned to left, which is a different codepath.
@@ -832,7 +832,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf118521_marginsLR, "tdf118521_marginsLR.docx")
CPPUNIT_ASSERT_EQUAL(sal_Int32(882), getProperty<sal_Int32>(getParagraph(2), "ParaFirstLineIndent"));
}
-DECLARE_OOXMLIMPORT_TEST(testTdf104797, "tdf104797.docx")
+DECLARE_OOXMLEXPORT_TEST(testTdf104797, "tdf104797.docx")
{
// check moveFrom and moveTo
CPPUNIT_ASSERT_EQUAL( OUString( "Will this sentence be duplicated?" ), getParagraph( 1 )->getString());
@@ -1289,7 +1289,7 @@ DECLARE_OOXMLEXPORT_TEST(testTdf123189_tableBackground, "table-black_fill.docx")
CPPUNIT_ASSERT_EQUAL(COL_TRANSPARENT, Color(getProperty<sal_uInt32>(xCell, "BackColor")));
}
-DECLARE_OOXMLIMPORT_TEST(testTdf116084, "tdf116084.docx")
+DECLARE_OOXMLEXPORT_TEST(testTdf116084, "tdf116084.docx")
{
// tracked line is not a single text portion: w:del is recognized within w:ins
CPPUNIT_ASSERT_EQUAL( OUString( "" ), getRun( getParagraph( 1 ), 1 )->getString());
@@ -1297,7 +1297,7 @@ DECLARE_OOXMLIMPORT_TEST(testTdf116084, "tdf116084.docx")
CPPUNIT_ASSERT_EQUAL( OUString( "There should be a better start to this. " ), getRun( getParagraph( 1 ), 2 )->getString());
}
-DECLARE_OOXMLIMPORT_TEST(testTdf121176, "tdf121176.docx")
+DECLARE_OOXMLEXPORT_TEST(testTdf121176, "tdf121176.docx")
{
// w:del is imported correctly when it is in a same size w:ins
CPPUNIT_ASSERT_EQUAL( OUString( "" ), getRun( getParagraph( 1 ), 1 )->getString());
@@ -1305,7 +1305,7 @@ DECLARE_OOXMLIMPORT_TEST(testTdf121176, "tdf121176.docx")
CPPUNIT_ASSERT_EQUAL( OUString( "must" ), getRun( getParagraph( 1 ), 2 )->getString());
}
-DECLARE_OOXMLIMPORT_TEST(testTdf123054, "tdf123054.docx")
+DECLARE_OOXMLEXPORT_TEST(testTdf123054, "tdf123054.docx")
{
CPPUNIT_ASSERT_EQUAL(OUString("No Spacing"),
getProperty<OUString>(getParagraph(20), "ParaStyleName"));
More information about the Libreoffice-commits
mailing list