diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-03-02 16:06:40 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-03-02 15:58:59 +0000 |
commit | c0ded57e60200725dfa11e8b9b3ec766145e7719 (patch) | |
tree | ef3de853024174dafbf8504a93a968350e28134e /chart2/qa | |
parent | 74cd34d54d16cb68fbaf1e8cb9844b1048491965 (diff) |
CppunitTest_chart2_export: re-enable and adapt test
Disable since 7bb87abc0cc7b "fix upDown bar export to OOXML
We should not really export it as this leads to wrong import into MSO."
Change-Id: Ifcbb1200177b3cbd4966971c67d692c41e26827f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148128
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'chart2/qa')
-rw-r--r-- | chart2/qa/extras/chart2export.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx index 1f0c110b9f0f..166f9ccdd5d8 100644 --- a/chart2/qa/extras/chart2export.cxx +++ b/chart2/qa/extras/chart2export.cxx @@ -510,13 +510,11 @@ CPPUNIT_TEST_FIXTURE(Chart2ExportTest, testAreaChartLoad) CPPUNIT_TEST_FIXTURE(Chart2ExportTest, testUpDownBars) { - /* - load("/chart2/qa/extras/data/docx/", "UpDownBars.docx"); + loadFromURL(u"docx/UpDownBars.docx"); save("Office Open XML Text"); xmlDocUniquePtr pXmlDoc = parseExport("word/charts/chart"); CPPUNIT_ASSERT(pXmlDoc); - assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:lineChart/c:upDownBars"); - */ + assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:lineChart/c:upDownBars", 0); } CPPUNIT_TEST_FIXTURE(Chart2ExportTest, testDoughnutChart) |