diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-02-24 10:20:01 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-02-24 12:24:15 +0000 |
commit | 0629ebb23e8848b7b99913cac9ad07ac9e3fe670 (patch) | |
tree | adcdfbfd9905f225d30839e7d717a61861e6fec9 | |
parent | f12e547c42103a3b934b393b6b63c2b096bbd06e (diff) |
CppunitTest_chart2_export: re-enable test
It passes for me
Disabled in b4668f2c48db7 "disable the test" without giving
any reason why
Change-Id: I6a38e5e6f5da78df88ac805de058c3528bc1251c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147616
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r-- | chart2/qa/extras/chart2export.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx index f287577fb63a..cb205e1e1671 100644 --- a/chart2/qa/extras/chart2export.cxx +++ b/chart2/qa/extras/chart2export.cxx @@ -49,7 +49,7 @@ public: void testUpDownBars(); void testDoughnutChart(); void testDisplayUnits(); - // void testFdo74115WallGradientFill(); + void testFdo74115WallGradientFill(); void testFdo74115WallBitmapFill(); void testPieChartWallLineStyle(); void testBarChartRotation(); @@ -100,7 +100,7 @@ public: CPPUNIT_TEST(testUpDownBars); CPPUNIT_TEST(testDoughnutChart); CPPUNIT_TEST(testDisplayUnits); - // CPPUNIT_TEST(testFdo74115WallGradientFill); + CPPUNIT_TEST(testFdo74115WallGradientFill); CPPUNIT_TEST(testFdo74115WallBitmapFill); CPPUNIT_TEST(testPieChartWallLineStyle); CPPUNIT_TEST(testBarChartRotation); @@ -630,14 +630,14 @@ void Chart2ExportTest::testDisplayUnits() assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:valAx/c:dispUnits/c:builtInUnit", "val", "billions"); } -// void Chart2ExportTest::testFdo74115WallGradientFill() -// { -// load("/chart2/qa/extras/data/docx/", "fdo74115_WallGradientFill.docx"); -// xmlDocUniquePtr pXmlDoc = parseExport("word/charts/chart", "Office Open XML Text"); -// CPPUNIT_ASSERT(pXmlDoc); -// -// assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:spPr/a:gradFill"); -// } +void Chart2ExportTest::testFdo74115WallGradientFill() +{ + loadFromURL(u"docx/fdo74115_WallGradientFill.docx"); + xmlDocUniquePtr pXmlDoc = parseExport("word/charts/chart", "Office Open XML Text"); + CPPUNIT_ASSERT(pXmlDoc); + + assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:spPr/a:gradFill"); +} void Chart2ExportTest::testFdo74115WallBitmapFill() { |