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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 19 09:41:21 UTC 2018


 sw/qa/extras/odfimport/data/fdo79269.odt        |binary
 sw/qa/extras/odfimport/data/fdo79269_header.odt |binary
 sw/qa/extras/odfimport/odfimport.cxx            |    4 ++--
 3 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 86bae8b3a27541bc4e9539254266f477c04930e7
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Dec 13 17:32:29 2018 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Dec 19 10:40:58 2018 +0100

    Fix typo in test
    
    It passed "make check" on Linux
    
    Change-Id: I7c7f3f39b6858d81a7e29d2df8e6703f77b6653c
    Reviewed-on: https://gerrit.libreoffice.org/65389
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/qa/extras/odfimport/data/fdo79269.odt b/sw/qa/extras/odfimport/data/fdo79269.odt
index 2e3bf1e80985..638293600025 100644
Binary files a/sw/qa/extras/odfimport/data/fdo79269.odt and b/sw/qa/extras/odfimport/data/fdo79269.odt differ
diff --git a/sw/qa/extras/odfimport/data/fdo79269_header.odt b/sw/qa/extras/odfimport/data/fdo79269_header.odt
index 6f1a839ecb89..8a9702d7fc17 100644
Binary files a/sw/qa/extras/odfimport/data/fdo79269_header.odt and b/sw/qa/extras/odfimport/data/fdo79269_header.odt differ
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx
index 160f72028f51..05c565554e1c 100644
--- a/sw/qa/extras/odfimport/odfimport.cxx
+++ b/sw/qa/extras/odfimport/odfimport.cxx
@@ -398,7 +398,7 @@ DECLARE_ODFIMPORT_TEST(testFdo79269, "fdo79269.odt")
     CPPUNIT_ASSERT_EQUAL(false, getProperty<bool>(xPropSet, "FirstIsShared"));
 
     uno::Reference<text::XTextRange> xFooter1 = getProperty< uno::Reference<text::XTextRange> >(xPropSet, "FooterTextFirst");
-    CPPUNIT_ASSERT_EQUAL(OUString("forst"), xFooter1->getString());
+    CPPUNIT_ASSERT_EQUAL(OUString("first"), xFooter1->getString());
     uno::Reference<text::XTextRange> xFooter = getProperty< uno::Reference<text::XTextRange> >(xPropSet, "FooterText");
     CPPUNIT_ASSERT_EQUAL(OUString("second"), xFooter->getString());
 }
@@ -415,7 +415,7 @@ DECLARE_ODFIMPORT_TEST(testFdo79269_header, "fdo79269_header.odt")
     CPPUNIT_ASSERT_EQUAL(false, getProperty<bool>(xPropSet, "FirstIsShared"));
 
     uno::Reference<text::XTextRange> xFooter1 = getProperty< uno::Reference<text::XTextRange> >(xPropSet, "HeaderTextFirst");
-    CPPUNIT_ASSERT_EQUAL(OUString("forst"), xFooter1->getString());
+    CPPUNIT_ASSERT_EQUAL(OUString("first"), xFooter1->getString());
     uno::Reference<text::XTextRange> xFooter = getProperty< uno::Reference<text::XTextRange> >(xPropSet, "HeaderText");
     CPPUNIT_ASSERT_EQUAL(OUString("second"), xFooter->getString());
 }


More information about the Libreoffice-commits mailing list