diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-05-12 02:54:19 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-05-12 20:04:48 +0200 |
commit | ceac38106de4f2657e854d5e1d657d6df9321032 (patch) | |
tree | 52c15df40a9a6adf9e3f3d72cd6832da6407bb96 /chart2/qa | |
parent | 1573315ec978b7f53a8babeb7ad44e104896209e (diff) |
add test to make sure only one x axis is non-deleted in exported doc
Change-Id: I8172015668cc43b4383276f2cd20cce4b0704277
Diffstat (limited to 'chart2/qa')
-rw-r--r-- | chart2/qa/extras/chart2export.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx index 7e4491c37083..d90cb648ce13 100644 --- a/chart2/qa/extras/chart2export.cxx +++ b/chart2/qa/extras/chart2export.cxx @@ -1457,6 +1457,7 @@ void Chart2ExportTest::testMultipleAxisXLSX() assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:scatterChart[1]/c:ser", 1); assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:scatterChart[2]/c:ser", 1); assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:valAx", 4); + assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:valAx/c:delete[@val='1']", 1); } CPPUNIT_TEST_SUITE_REGISTRATION(Chart2ExportTest); |