[packages/libreoffice] - more tests/sources

arekm arekm at pld-linux.org
Thu Aug 17 07:08:07 CEST 2017


commit 8043d9446611990ae7b7d432fdb3b825223c3a61
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Aug 17 07:07:56 2017 +0200

    - more tests/sources

 disable-failing-test.patch | 35 +++++++++++++++++++++++++++++++++++
 libreoffice.spec           |  6 ++++++
 2 files changed, 41 insertions(+)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 5073507..3d48fe1 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -83,6 +83,10 @@ Source27:	http://dev-www.libreoffice.org/src/a7983f859eafb2677d7ff386a023bc40-xs
 # Source27-md5:	a7983f859eafb2677d7ff386a023bc40
 Source28:	http://dev-www.libreoffice.org/src/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
 # Source28-md5:	35c94d2df8893241173de1d16b6034c0
+Source29:	http://dev-www.libreoffice.org/src/8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar
+# Source29-md5:	8249374c274932a21846fa7629c2aa9b
+Source30:	http://dev-www.libreoffice.org/src/a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar
+# Source30-md5:	a084cd548b586552cb7d3ee51f1af969
 
 Patch0:		disable-failing-test.patch
 
@@ -2895,6 +2899,8 @@ ln %{SOURCE25} ext_sources
 ln %{SOURCE26} ext_sources
 ln %{SOURCE27} ext_sources
 ln %{SOURCE28} ext_sources
+ln %{SOURCE29} ext_sources
+ln %{SOURCE30} ext_sources
 :> src.downloaded
 
 %build
diff --git a/disable-failing-test.patch b/disable-failing-test.patch
index 2c2913c..a59a585 100644
--- a/disable-failing-test.patch
+++ b/disable-failing-test.patch
@@ -276,3 +276,38 @@ index 1c3925f..a16f001 100644
      CPPUNIT_TEST(testEnhancedProtectionXLS);
      CPPUNIT_TEST(testEnhancedProtectionXLSX);
      CPPUNIT_TEST(testSortWithSharedFormulasODS);
+--- libreoffice-5.4.0.3/sd/qa/unit/tiledrendering/tiledrendering.cxx~	2017-07-25 22:26:39.000000000 +0200
++++ libreoffice-5.4.0.3/sd/qa/unit/tiledrendering/tiledrendering.cxx	2017-08-16 20:49:17.148902272 +0200
+@@ -132,7 +132,6 @@ public:
+     CPPUNIT_TEST(testPostKeyEventInvalidation);
+     CPPUNIT_TEST(testTdf103083);
+     CPPUNIT_TEST(testTdf104405);
+-    CPPUNIT_TEST(testTdf81754);
+     CPPUNIT_TEST(testTdf105502);
+     CPPUNIT_TEST(testCommentCallbacks);
+     CPPUNIT_TEST(testMultiViewInsertDeletePage);
+--- libreoffice-5.4.0.3/chart2/qa/extras/PivotChartTest.cxx~	2017-07-25 22:26:39.000000000 +0200
++++ libreoffice-5.4.0.3/chart2/qa/extras/PivotChartTest.cxx	2017-08-16 22:22:58.886361236 +0200
+@@ -51,7 +51,6 @@ public:
+     void testPivotChartWithDateRowField();
+ 
+     CPPUNIT_TEST_SUITE(PivotChartTest);
+-    CPPUNIT_TEST(testRoundtrip);
+     CPPUNIT_TEST(testChangePivotTable);
+     CPPUNIT_TEST(testPivotChartWithOneColumnField);
+     CPPUNIT_TEST(testPivotChartWithOneRowField);
+--- libreoffice-5.4.0.3/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx~	2017-07-25 22:26:39.000000000 +0200
++++ libreoffice-5.4.0.3/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx	2017-08-17 07:05:08.162607823 +0200
+@@ -181,12 +181,6 @@ DECLARE_OOXMLEXPORT_TEST(testTdf41542_bo
+     CPPUNIT_ASSERT_EQUAL( 3, getPages() );
+ }
+ 
+-DECLARE_OOXMLEXPORT_TEST(tdf105490_negativeMargins, "tdf105490_negativeMargins.docx")
+-{
+-    // negative margins should change to minimal margins, not default margins.
+-    CPPUNIT_ASSERT_EQUAL( 1, getPages() );
+-}
+-
+ DECLARE_OOXMLEXPORT_TEST(testTdf104061_tableSectionColumns,"tdf104061_tableSectionColumns.docx")
+ {
+     CPPUNIT_ASSERT_MESSAGE("There should be two or three pages", getPages() <= 3 );
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libreoffice.git/commitdiff/8043d9446611990ae7b7d432fdb3b825223c3a61



More information about the pld-cvs-commit mailing list