[Libreoffice-commits] core.git: Branch 'feature/emfplusprimitiveparser' - emfio/qa

Armin Le Grand Armin.Le.Grand at cib.de
Thu Jul 13 10:34:33 UTC 2017


 emfio/qa/cppunit/emf/EmfImportTest.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 527b165e9b1b62961b0109cb0f03d1ac0f7b75f4
Author: Armin Le Grand <Armin.Le.Grand at cib.de>
Date:   Mon Jun 26 10:08:00 2017 +0200

    emfplus: corrections for UnitTest in vcl
    
    The CppunitTest_vcl_filters_test was not working due
    to a wmf file now being loadable. This leaded to better
    check errors on stream and react on it in test code.
    Hrad to find since that test - for whatever reason - is
    not executed on win. Also need to check result of
    EmfReader. Added emfio to test's module list. Corrected
    path error for unit test
    
    Change-Id: Iea2b835408e919a8456e8f178cbfc782885ffebb

diff --git a/emfio/qa/cppunit/emf/EmfImportTest.cxx b/emfio/qa/cppunit/emf/EmfImportTest.cxx
index ccef93ce673f..63b6eb51c2d7 100644
--- a/emfio/qa/cppunit/emf/EmfImportTest.cxx
+++ b/emfio/qa/cppunit/emf/EmfImportTest.cxx
@@ -83,7 +83,7 @@ void Test::checkRectPrimitive(Primitive2DSequence& rPrimitive)
 
 void Test::testWorking()
 {
-    Primitive2DSequence aSequenceRect = parseEmf("/emfio/qa/cppunit/data/fdo79679-2.emf");
+    Primitive2DSequence aSequenceRect = parseEmf("/emfio/qa/cppunit/emf/data/fdo79679-2.emf");
     CPPUNIT_ASSERT_EQUAL(1, (int) aSequenceRect.getLength());
     checkRectPrimitive(aSequenceRect);
 }


More information about the Libreoffice-commits mailing list