[Libreoffice-commits] core.git: sw/qa

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 9 17:25:55 UTC 2019


 sw/qa/extras/rtfexport/rtfexport4.cxx |    2 +-
 sw/qa/extras/rtfimport/rtfimport.cxx  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3d50afb8c91bdb2e01391c05171815e75dd1e3f3
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Fri Aug 9 13:49:16 2019 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Aug 9 19:24:45 2019 +0200

    sw qa: fix typos in rtfimport/export tests
    
    This doesn't matter in practice, since both tests inherit from the local
    "Test" class, which has the correct filter name; it was just misleading.
    
    Change-Id: Ie5f2e0a89a31b56abc200a1270b4b65e870fb459
    Reviewed-on: https://gerrit.libreoffice.org/77198
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
    Tested-by: Jenkins

diff --git a/sw/qa/extras/rtfexport/rtfexport4.cxx b/sw/qa/extras/rtfexport/rtfexport4.cxx
index 1a261892661e..6ed155ca807a 100644
--- a/sw/qa/extras/rtfexport/rtfexport4.cxx
+++ b/sw/qa/extras/rtfexport/rtfexport4.cxx
@@ -152,7 +152,7 @@ DECLARE_RTFEXPORT_TEST(testBtlrCell, "btlr-cell.rtf")
     CPPUNIT_ASSERT_EQUAL(text::WritingMode2::TB_RL, getProperty<sal_Int16>(xC1, "WritingMode"));
 }
 
-DECLARE_OOXMLEXPORT_EXPORTONLY_TEST(testTbrlFrame, "tbrl-frame.odt")
+DECLARE_RTFEXPORT_TEST(testTbrlFrame, "tbrl-frame.odt")
 {
     uno::Reference<beans::XPropertySet> xShape(getShape(1), uno::UNO_QUERY);
     auto nActual = getProperty<sal_Int16>(xShape, "WritingMode");
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx
index 0bcea620da8d..bf2ce97f1745 100644
--- a/sw/qa/extras/rtfimport/rtfimport.cxx
+++ b/sw/qa/extras/rtfimport/rtfimport.cxx
@@ -313,7 +313,7 @@ DECLARE_RTFIMPORT_TEST(testFdo45190, "fdo45190.rtf")
                          getProperty<sal_Int32>(getParagraph(2), "ParaFirstLineIndent"));
 }
 
-DECLARE_OOXMLIMPORT_TEST(testTdf59699, "tdf59699.rtf")
+DECLARE_RTFIMPORT_TEST(testTdf59699, "tdf59699.rtf")
 {
     // This resulted in a lang.IndexOutOfBoundsException: the referenced graphic data wasn't imported.
     uno::Reference<beans::XPropertySet> xImage(getShape(1), uno::UNO_QUERY);


More information about the Libreoffice-commits mailing list