diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-02-12 16:04:58 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-02-12 16:43:06 +0000 |
commit | 49d7bdea17f6468b0c5c9f425f4432e2ad7e1ace (patch) | |
tree | debd11744617476d9dfa2add377359b15a43c88c /chart2/qa/extras/chart2dump/reference/axisgeometrytest/default_formated_axis.txt | |
parent | 8aff36d87f83fa2c86515f106c1e579b0903421a (diff) |
ChartDumpTest: A new chart test suite for a more sistematic testing
A hibrid of dumper tests (xmlDump) and simple CppUnit tests.
Advantages:
* Easy to add a new test case
** Add a new test file and generate the reference
** Similar to dumper tests
* Easy to find out the root of the problem when test fails
** Assertion is not coming somewhere from an XML file
** Assertion are placed in the code, so if you read and
understand that code, you can find out easier why the test fails.
** Similar to simple CppUnit tests.
* One test checks only one smaller part of the whole document
** e.g. legend, chart data, grid
Change-Id: I7bba5a37efcc62d6358c84acece91963243a914f
Reviewed-on: https://gerrit.libreoffice.org/34154
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'chart2/qa/extras/chart2dump/reference/axisgeometrytest/default_formated_axis.txt')
-rwxr-xr-x | chart2/qa/extras/chart2dump/reference/axisgeometrytest/default_formated_axis.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/chart2/qa/extras/chart2dump/reference/axisgeometrytest/default_formated_axis.txt b/chart2/qa/extras/chart2dump/reference/axisgeometrytest/default_formated_axis.txt new file mode 100755 index 000000000000..dcc57166c70d --- /dev/null +++ b/chart2/qa/extras/chart2dump/reference/axisgeometrytest/default_formated_axis.txt @@ -0,0 +1,38 @@ +/// CID/D=0:CS=0:Axis=0,0 +// aAxisPosition.X +3510 +// aAxisPosition.Y +7520 +// aAxisSize.Height +495 +// aAxisSize.Width +14438 +// sAxisTransformation +14439;0;35100;496;75200;0;1 +// nAxisGeometriesCount +4 +// sAxisLineDash +0;1;201;20;20 +// static_cast<sal_Int32>(aAxisLineColor) +0 +// nAxisLineWidth +0 +/// CID/D=0:CS=0:Axis=1,0 +// aAxisPosition.X +3360 +// aAxisPosition.Y +1588 +// aAxisSize.Height +5932 +// aAxisSize.Width +150 +// sAxisTransformation +151;0;33600;5933;15880;0;1 +// nAxisGeometriesCount +2 +// sAxisLineDash +0;1;201;20;20 +// static_cast<sal_Int32>(aAxisLineColor) +0 +// nAxisLineWidth +0 |