diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-22 03:25:28 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-22 05:05:00 +0200 |
commit | a1d2c88124058a98b25d725927462ee734f71d85 (patch) | |
tree | 6aa8673c5d4b1e908f0d0bb3b787e3aa0d08bd64 /chart2/qa/extras/xshape/chart2xshape.cxx | |
parent | d005413c2e3d1a22a6560cea504aba6f011794e0 (diff) |
add test case for property mapping
Change-Id: Ib8630d15f40b00c8620eeb1c79d5d9f00d07ef49
Diffstat (limited to 'chart2/qa/extras/xshape/chart2xshape.cxx')
-rw-r--r-- | chart2/qa/extras/xshape/chart2xshape.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chart2/qa/extras/xshape/chart2xshape.cxx b/chart2/qa/extras/xshape/chart2xshape.cxx index d46df46ae4cc..0099eefa32a1 100644 --- a/chart2/qa/extras/xshape/chart2xshape.cxx +++ b/chart2/qa/extras/xshape/chart2xshape.cxx @@ -28,9 +28,11 @@ class Chart2XShapeTest : public ChartTest public: void testFdo75075(); + void testPropertyMappingBarChart(); CPPUNIT_TEST_SUITE(Chart2XShapeTest); CPPUNIT_TEST(testFdo75075); + CPPUNIT_TEST(testPropertyMappingBarChart); CPPUNIT_TEST_SUITE_END(); private: @@ -79,6 +81,12 @@ void Chart2XShapeTest::testFdo75075() compareAgainstReference("fdo75075.xml"); } +void Chart2XShapeTest::testPropertyMappingBarChart() +{ + load("chart2/qa/extras/xshape/data/ods/", "property-mapping-bar.ods"); + compareAgainstReference("property-mapping-bar.xml", true); +} + CPPUNIT_TEST_SUITE_REGISTRATION(Chart2XShapeTest); CPPUNIT_PLUGIN_IMPLEMENT(); |