diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-06-22 18:10:16 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-07-15 11:01:30 +0200 |
commit | 762c52346f8e6a6b91fe1c758494b2c152361e73 (patch) | |
tree | 9665eec030fb7b82f83915f841f74a5886c49ab4 /emfio/qa | |
parent | 34a0cb059c2bcfa62afe1dbd775cb69f637e130d (diff) |
emfplus: finetuning, UnitTest, not active by default
Change-Id: Ie085ad2610a306c7f9c44551114041d0950d1af5
Diffstat (limited to 'emfio/qa')
-rw-r--r-- | emfio/qa/cppunit/EmfImportTest.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/emfio/qa/cppunit/EmfImportTest.cxx b/emfio/qa/cppunit/EmfImportTest.cxx index f315fc8937d0..ccef93ce673f 100644 --- a/emfio/qa/cppunit/EmfImportTest.cxx +++ b/emfio/qa/cppunit/EmfImportTest.cxx @@ -63,8 +63,9 @@ Primitive2DSequence Test::parseEmf(const char* aSource) Sequence<sal_Int8> aData(pBuffer.get(), nSize + 1); Reference<XInputStream> aInputStream(new comphelper::SequenceInputStream(aData)); + css::uno::Sequence< css::beans::PropertyValue > aEmptyValues; - return xEmfParser->getDecomposition(aInputStream, aPath); + return xEmfParser->getDecomposition(aInputStream, aPath, aEmptyValues); } void Test::checkRectPrimitive(Primitive2DSequence& rPrimitive) @@ -74,16 +75,10 @@ void Test::checkRectPrimitive(Primitive2DSequence& rPrimitive) CPPUNIT_ASSERT (pDocument); - // emfio: add examples + // emfio: add examples (later) // assertXPath(pDocument, "/primitive2D/transform/polypolygoncolor", "color", "#00cc00"); // rect background color // assertXPath(pDocument, "/primitive2D/transform/polypolygoncolor", "height", "100"); // rect background height // assertXPath(pDocument, "/primitive2D/transform/polypolygoncolor", "width", "100"); // rect background width - // assertXPath(pDocument, "/primitive2D/transform/polypolygoncolor", "minx", "10"); - // assertXPath(pDocument, "/primitive2D/transform/polypolygoncolor", "miny", "10"); - // assertXPath(pDocument, "/primitive2D/transform/polypolygoncolor", "maxx", "110"); - // assertXPath(pDocument, "/primitive2D/transform/polypolygoncolor", "maxy", "110"); - // assertXPath(pDocument, "/primitive2D/transform/polypolygonstroke/line", "color", "#ff0000"); // rect stroke color - // assertXPath(pDocument, "/primitive2D/transform/polypolygonstroke/line", "width", "3"); // rect stroke width } void Test::testWorking() |