diff options
author | Andras Timar <andras.timar@collabora.com> | 2015-05-27 21:49:44 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-05-27 21:48:31 +0000 |
commit | 312cab50e057a85cbfd773e928eda3aadd69060c (patch) | |
tree | bad0c5aee7f489e8cfb8d21d9e8dac8fd1b19a45 /chart2/qa/extras/xshape/chart2xshape.cxx | |
parent | 4cbd012869f87f68fa5f50e528fda81fcbb8609e (diff) |
unit test for pie chart label inside placement for the best fit case
Change-Id: I7e6f8383ead96f585915afb119b8ee460967c0bc
related: tdf#90839
Reviewed-on: https://gerrit.libreoffice.org/15934
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'chart2/qa/extras/xshape/chart2xshape.cxx')
-rw-r--r-- | chart2/qa/extras/xshape/chart2xshape.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chart2/qa/extras/xshape/chart2xshape.cxx b/chart2/qa/extras/xshape/chart2xshape.cxx index 143fe6172404..f48cdc945289 100644 --- a/chart2/qa/extras/xshape/chart2xshape.cxx +++ b/chart2/qa/extras/xshape/chart2xshape.cxx @@ -29,10 +29,12 @@ public: void testFdo75075(); void testPropertyMappingBarChart(); + void testPieChartLabels1(); CPPUNIT_TEST_SUITE(Chart2XShapeTest); CPPUNIT_TEST(testFdo75075); CPPUNIT_TEST(testPropertyMappingBarChart); + CPPUNIT_TEST(testPieChartLabels1); CPPUNIT_TEST_SUITE_END(); private: @@ -87,6 +89,13 @@ void Chart2XShapeTest::testPropertyMappingBarChart() compareAgainstReference("property-mapping-bar.xml"); } +void Chart2XShapeTest::testPieChartLabels1() +{ + // inside placement for the best fit case + load("chart2/qa/extras/xshape/data/xlsx/", "tdf90839-1.xlsx"); + compareAgainstReference("tdf90839-1.xml"); +} + CPPUNIT_TEST_SUITE_REGISTRATION(Chart2XShapeTest); CPPUNIT_PLUGIN_IMPLEMENT(); |