[Libreoffice-commits] core.git: chart2/qa
Tamás Zolnai
tamas.zolnai at collabora.com
Fri Feb 24 17:15:09 UTC 2017
chart2/qa/extras/chart2dump/chart2dump.cxx | 3
chart2/qa/extras/chart2dump/data/minimal_legend_test.odp |binary
chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt | 32 ++++++++++
3 files changed, 34 insertions(+), 1 deletion(-)
New commits:
commit 4b8cb3e3b9c597108697f46bcc93045b06cc0633
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date: Fri Feb 24 15:43:54 2017 +0100
ChartDumpTest: Add a minimal test showing text size issue
Change-Id: Iea0f7f6cfaee546c3478b936053659b3ecd27e6c
Reviewed-on: https://gerrit.libreoffice.org/34617
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/chart2/qa/extras/chart2dump/chart2dump.cxx b/chart2/qa/extras/chart2dump/chart2dump.cxx
index 99515de..bd25d20 100755
--- a/chart2/qa/extras/chart2dump/chart2dump.cxx
+++ b/chart2/qa/extras/chart2dump/chart2dump.cxx
@@ -403,7 +403,8 @@ DECLARE_DUMP_TEST(LegendTest, Chart2DumpTest, false)
"legend_on_top.odp",
"many_legend_entries.odp",
"custom_legend_position.odp",
- "multiple_categories.odp"
+ "multiple_categories.odp",
+ "minimal_legend_test.odp"
};
for (const OUString& aTestFile : aTestFiles)
diff --git a/chart2/qa/extras/chart2dump/data/minimal_legend_test.odp b/chart2/qa/extras/chart2dump/data/minimal_legend_test.odp
new file mode 100755
index 0000000..63911f1
Binary files /dev/null and b/chart2/qa/extras/chart2dump/data/minimal_legend_test.odp differ
diff --git a/chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt b/chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt
new file mode 100755
index 0000000..00f666c
--- /dev/null
+++ b/chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt
@@ -0,0 +1,32 @@
+// aLegendPosition.X
+15382
+// aLegendPosition.Y
+4235
+// aLegendSize.Width
+2404
+// aLegendSize.Height
+545
+// nLegendEntryCount
+1
+// aLegendEntryPosition.X
+15498
+// aLegendEntryPosition.Y
+4402
+// aLegendEntrySize.Height
+211
+// aLegendEntrySize.Width
+800
+// aLegendEntryTransformation
+801;0;15498;0;212;4402;0;0;1
+// xLegendEntryContainer->getCount()
+3
+// sEntryGeomShapeType
+com.sun.star.drawing.LineShape
+// static_cast<sal_Int32>(aEntryGeomColor)
+7512015
+// sEntryGeomShapeType
+com.sun.star.drawing.PolyPolygonShape
+// static_cast<sal_Int32>(aEntryGeomColor)
+17798
+// xLegendEntryText->getString()
+Inkjet
More information about the Libreoffice-commits
mailing list