diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-16 02:55:40 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-16 02:55:40 +0200 |
commit | 5e239836009390a5f2b4ee4d6dfd42b6032f7cc4 (patch) | |
tree | 92dadb758895073f00d6e1f17a2be18fb1d4cead | |
parent | f9f53c4a8c9e1cd2fa1a9f48576b09f1bfd023ae (diff) |
add test for tdf#90533
Change-Id: I3a045598d2883290bdc8fa09ea8377059249ad5f
-rw-r--r-- | chart2/qa/extras/chart2export.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx index b60c1e4f8dc1..40143938ef35 100644 --- a/chart2/qa/extras/chart2export.cxx +++ b/chart2/qa/extras/chart2export.cxx @@ -83,6 +83,7 @@ public: void testAutoTitleDelXLSX(); void testDispBlanksAsXLSX(); void testMarkerColorXLSX(); + void testRoundedCornersXLSX(); CPPUNIT_TEST_SUITE(Chart2ExportTest); CPPUNIT_TEST(test); @@ -131,6 +132,7 @@ public: CPPUNIT_TEST(testAutoTitleDelXLSX); CPPUNIT_TEST(testDispBlanksAsXLSX); CPPUNIT_TEST(testMarkerColorXLSX); + CPPUNIT_TEST(testRoundedCornersXLSX); CPPUNIT_TEST_SUITE_END(); protected: @@ -1229,6 +1231,14 @@ void Chart2ExportTest::testMarkerColorXLSX() assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:scatterChart/c:ser/c:marker/c:spPr/a:solidFill/a:srgbClr", "val", "92d050"); } +void Chart2ExportTest::testRoundedCornersXLSX() +{ + load("/chart2/qa/extras/data/xlsx/", "markerColor.xlsx"); + xmlDocPtr pXmlDoc = parseExport("xl/charts/chart", "Calc Office Open XML"); + CPPUNIT_ASSERT(pXmlDoc); + assertXPath(pXmlDoc, "/c:chartSpace/c:roundedCorners", "val", "0"); +} + CPPUNIT_TEST_SUITE_REGISTRATION(Chart2ExportTest); CPPUNIT_PLUGIN_IMPLEMENT(); |