[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sc/qa

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Mar 7 08:54:08 UTC 2016


 sc/qa/unit/copy_paste_test.cxx  |    4 ++--
 sc/qa/unit/data/xls/chartx2.xls |binary
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a202c48c6ceeb45ce1cdaaba02ff76eaa3077c68
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Mar 6 16:38:37 2016 +0100

    don't use same file in two tests
    
    Change-Id: I853e5390cf5c3f6fe8ac8e00a876ed021c35a766
    Reviewed-on: https://gerrit.libreoffice.org/22954
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Reviewed-on: https://gerrit.libreoffice.org/22960
    Reviewed-by: Chris Sherlock <chris.sherlock79 at gmail.com>

diff --git a/sc/qa/unit/copy_paste_test.cxx b/sc/qa/unit/copy_paste_test.cxx
index 73259e6..70a5b8f 100644
--- a/sc/qa/unit/copy_paste_test.cxx
+++ b/sc/qa/unit/copy_paste_test.cxx
@@ -53,8 +53,8 @@ void ScCopyPasteTest::testCopyPasteXLS()
     CPPUNIT_ASSERT( xTargetFrame.is() );
 
     // 1. Open the document
-    ScDocShellRef xDocSh = loadDoc("chartx.", XLS);
-    CPPUNIT_ASSERT_MESSAGE("Failed to load chartx.xls.", xDocSh.Is());
+    ScDocShellRef xDocSh = loadDoc("chartx2.", XLS);
+    CPPUNIT_ASSERT_MESSAGE("Failed to load chartx2.xls.", xDocSh.Is());
 
     uno::Reference< frame::XModel2 > xModel2 ( xDocSh->GetModel(), UNO_QUERY );
     CPPUNIT_ASSERT( xModel2.is() );
diff --git a/sc/qa/unit/data/xls/chartx2.xls b/sc/qa/unit/data/xls/chartx2.xls
new file mode 100644
index 0000000..2294c15
Binary files /dev/null and b/sc/qa/unit/data/xls/chartx2.xls differ


More information about the Libreoffice-commits mailing list