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/Module_chart2.mk | |
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/Module_chart2.mk')
-rw-r--r-- | chart2/Module_chart2.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/Module_chart2.mk b/chart2/Module_chart2.mk index 705321f02eb1..0061c0aabb91 100644 --- a/chart2/Module_chart2.mk +++ b/chart2/Module_chart2.mk @@ -33,6 +33,7 @@ $(eval $(call gb_Module_add_slowcheck_targets,chart2,\ CppunitTest_chart2_export \ CppunitTest_chart2_import \ CppunitTest_chart2_trendcalculators \ + CppunitTest_chart2_dump \ )) ifeq ($(ENABLE_CHART_TESTS),TRUE) |