sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 2 +- sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit 265c7d62364ab2382491367f66fc14b95681a5a7 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Tue Oct 15 17:20:00 2013 +0200 sw: enable (most of) CppunitTest_sw_ooxmlimport/export on Mac This used to be problematic due to the flashing windows, but it was stated recently that we already have those anyway due to e.g. gengal. It turns out all our DOCX filter tests pass just fine on Mac, except one checksum test -- make *that* an exception instead. Change-Id: Id5e620a33b9b05f154e4072a8a49f335837079ea diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx index 0f8486d..5230635 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx @@ -124,7 +124,7 @@ public: void testCharHighlight(); CPPUNIT_TEST_SUITE(Test); -#if !defined(MACOSX) && !defined(WNT) +#if !defined(WNT) CPPUNIT_TEST(run); #endif CPPUNIT_TEST_SUITE_END(); diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index 2239540..1f7e831 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -141,7 +141,7 @@ public: void testFdo43093(); CPPUNIT_TEST_SUITE(Test); -#if !defined(MACOSX) && !defined(WNT) +#if !defined(WNT) CPPUNIT_TEST(run); #endif CPPUNIT_TEST_SUITE_END(); @@ -808,6 +808,7 @@ void Test::testN775899() void Test::testN777345() { +#if !defined(MACOSX) // The problem was that v:imagedata inside v:rect was ignored. uno::Reference<document::XEmbeddedObjectSupplier2> xSupplier(getShape(1), uno::UNO_QUERY); uno::Reference<graphic::XGraphic> xGraphic = xSupplier->getReplacementGraphic(); @@ -815,6 +816,7 @@ void Test::testN777345() // If this changes later, feel free to update it, but make sure it's not // the checksum of a white/transparent placeholder rectangle. CPPUNIT_ASSERT_EQUAL(sal_uLong(2529763117U), aGraphic.GetChecksum()); +#endif } void Test::testN777337() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits