[Libreoffice] unit test concept for draw/impress
markus.mohrhard at googlemail.com
Thu Jan 12 21:10:45 PST 2012
I finally found some time working on a unit test concept for
draw/impress as promised to Thorsten in Paris. (see )
The attached patch enables the new test concept in sd. The test is
based on calc's filters-test concept but needs to do some additional
We take a import file (e.g. an ppt file) and import it into impress,
and in the next step export it to svg. The advantage of the svg file
is that it represents the visual representation extremely good and we
ca easily compare it againts an reference svg file. I hope that this
approach allows us to easily find changes that break features and
change the visual representation of files.
I listed some advantages and disadvantages of this concept in my
commit message. Please feel free to comment my idea.
I have not yet implemented the last step, comparing the exported file
to a reference file but that should be a minor problem. Use the
attached patch to enable the and check my idea. The current test
should take sd/qa/unit/data/a.pptx and export it to
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 714 bytes
Desc: not available
More information about the LibreOffice