diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-02-24 15:43:54 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-02-24 17:14:43 +0000 |
commit | 4b8cb3e3b9c597108697f46bcc93045b06cc0633 (patch) | |
tree | a588fff502e66ec3d214c238d077a11f7bb0894a /chart2/qa | |
parent | 653a3c259905a1d05b471423821bc83da7f9ef20 (diff) |
ChartDumpTest: Add a minimal test showing text size issue
Change-Id: Iea0f7f6cfaee546c3478b936053659b3ecd27e6c
Reviewed-on: https://gerrit.libreoffice.org/34617
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'chart2/qa')
-rwxr-xr-x | chart2/qa/extras/chart2dump/chart2dump.cxx | 3 | ||||
-rwxr-xr-x | chart2/qa/extras/chart2dump/data/minimal_legend_test.odp | bin | 0 -> 18253 bytes | |||
-rwxr-xr-x | chart2/qa/extras/chart2dump/reference/legendtest/minimal_legend_test.txt | 32 |
3 files changed, 34 insertions, 1 deletions
diff --git a/chart2/qa/extras/chart2dump/chart2dump.cxx b/chart2/qa/extras/chart2dump/chart2dump.cxx index 99515defe227..bd25d20f97c9 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 Binary files differnew file mode 100755 index 000000000000..63911f119c90 --- /dev/null +++ b/chart2/qa/extras/chart2dump/data/minimal_legend_test.odp 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 000000000000..00f666c05d50 --- /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 |