[Libreoffice-commits] core.git: chart2/qa

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sat Sep 26 07:57:15 UTC 2020


 chart2/qa/extras/chart2export.cxx |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 8630468b07942cb6ee9bb234a5f8c5d955480422
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Sep 25 17:30:47 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Sep 26 09:56:32 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I76287ff3309c78283947886882456a01cdc01725
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103463
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx
index 49edb53991fe..e9d154d4ade1 100644
--- a/chart2/qa/extras/chart2export.cxx
+++ b/chart2/qa/extras/chart2export.cxx
@@ -94,8 +94,8 @@ public:
     void testChartTitlePropertiesColorFillDOCX();
     void testChartTitlePropertiesGradientFillDOCX();
     void testChartTitlePropertiesBitmapFillDOCX();
-    void testColorGradientWithTransparancyDOCX();
-    void testColorGradientWithTransparancyODS();
+    void testColorGradientWithTransparencyDOCX();
+    void testColorGradientWithTransparencyODS();
     void testColorGradientStopXLSX();
     void testRadialColorGradientDOCX();
     void testBarChartDataPointPropDOCX();
@@ -236,8 +236,8 @@ public:
     CPPUNIT_TEST(testChartTitlePropertiesColorFillDOCX);
     CPPUNIT_TEST(testChartTitlePropertiesGradientFillDOCX);
     CPPUNIT_TEST(testChartTitlePropertiesBitmapFillDOCX);
-    CPPUNIT_TEST(testColorGradientWithTransparancyDOCX);
-    CPPUNIT_TEST(testColorGradientWithTransparancyODS);
+    CPPUNIT_TEST(testColorGradientWithTransparencyDOCX);
+    CPPUNIT_TEST(testColorGradientWithTransparencyODS);
     CPPUNIT_TEST(testColorGradientStopXLSX);
     CPPUNIT_TEST(testRadialColorGradientDOCX);
     CPPUNIT_TEST(testBarChartDataPointPropDOCX);
@@ -1335,10 +1335,10 @@ void Chart2ExportTest::testChartTitlePropertiesBitmapFillDOCX()
     assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:title/c:spPr/a:ln/a:noFill", 1);
 }
 
-void Chart2ExportTest::testColorGradientWithTransparancyDOCX()
+void Chart2ExportTest::testColorGradientWithTransparencyDOCX()
 {
     // Test color gradient (two color) with gradient transparency
-    load("/chart2/qa/extras/data/docx/", "testColorGradientWithTransparancy.docx");
+    load("/chart2/qa/extras/data/docx/", "testColorGradientWithTransparency.docx");
     xmlDocUniquePtr pXmlDoc = parseExport("word/charts/chart", "Office Open XML Text");
     CPPUNIT_ASSERT(pXmlDoc);
     // Test the transparency of the first color
@@ -1347,10 +1347,10 @@ void Chart2ExportTest::testColorGradientWithTransparancyDOCX()
     assertXPath(pXmlDoc, "/c:chartSpace/c:chart/c:plotArea/c:barChart/c:ser/c:spPr/a:gradFill/a:gsLst/a:gs[2]/a:srgbClr/a:alpha", "val", "90196");
 }
 
-void Chart2ExportTest::testColorGradientWithTransparancyODS()
+void Chart2ExportTest::testColorGradientWithTransparencyODS()
 {
     // Test color gradient (two color) with simple transparency
-    load("/chart2/qa/extras/data/ods/", "testColorGradientWithTransparancy.ods");
+    load("/chart2/qa/extras/data/ods/", "testColorGradientWithTransparency.ods");
     xmlDocUniquePtr pXmlDoc = parseExport("xl/charts/chart", "Calc Office Open XML");
     CPPUNIT_ASSERT(pXmlDoc);
     // Test the transparency of the first color
diff --git a/chart2/qa/extras/data/docx/testColorGradientWithTransparancy.docx b/chart2/qa/extras/data/docx/testColorGradientWithTransparency.docx
similarity index 100%
rename from chart2/qa/extras/data/docx/testColorGradientWithTransparancy.docx
rename to chart2/qa/extras/data/docx/testColorGradientWithTransparency.docx
diff --git a/chart2/qa/extras/data/ods/testColorGradientWithTransparancy.ods b/chart2/qa/extras/data/ods/testColorGradientWithTransparency.ods
similarity index 100%
rename from chart2/qa/extras/data/ods/testColorGradientWithTransparancy.ods
rename to chart2/qa/extras/data/ods/testColorGradientWithTransparency.ods


More information about the Libreoffice-commits mailing list