Re: [Libreoffice] unit test concept for draw/impress

2012-01-19 Thread Markus Mohrhard
Hey, I finally found some time finishing the test. It now uses a character based comparison of the exported file and the reference file ( we can switch to a xml based diff later ). I enabled the test in the subsequenttest and hope that Stephan's tinderbox complains if I did something terribly

Re: [Libreoffice] unit test concept for draw/impress

2012-01-13 Thread Caolán McNamara
On Fri, 2012-01-13 at 06:10 +0100, Markus Mohrhard wrote: 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. How about pdf ? which has the advantage that all the apps can print to pdf, so can

Re: [Libreoffice] unit test concept for draw/impress

2012-01-13 Thread Michael Meeks
On Fri, 2012-01-13 at 06:10 +0100, Markus Mohrhard wrote: I finally found some time working on a unit test concept for draw/impress as promised to Thorsten in Paris. (see [1]) Looks lovely :-) The attached patch enables the new test concept in sd. The test is based on calc's

Re: [Libreoffice] unit test concept for draw/impress

2012-01-13 Thread Thorsten Behrens
Caolan McNamara wrote: How about pdf ? which has the advantage that all the apps can print to pdf, so can be generic across apps ? Well, I had proposed svg, because they're much easier to diff - I had something in mind like sdext/source/pdfimport/test/testdocs/makefile.mk (and disabling glyph

Re: [Libreoffice] unit test concept for draw/impress

2012-01-13 Thread Markus Mohrhard
Hello Caolan, 2012/1/13 Caolán McNamara caol...@redhat.com: On Fri, 2012-01-13 at 06:10 +0100, Markus Mohrhard wrote: 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. How about pdf ? which

Re: [Libreoffice] unit test concept for draw/impress

2012-01-13 Thread Cor Nouws
Hi Markus, Markus Mohrhard wrote (13-01-12 06:10) I finally found some time working on a unit test concept for draw/impress as promised to Thorsten in Paris. (see [1]) [...] No useful technical comment from me here, just a \\0// ! -- - Cor - http://nl.libreoffice.org

[Libreoffice] unit test concept for draw/impress

2012-01-12 Thread Markus Mohrhard
Hey, I finally found some time working on a unit test concept for draw/impress as promised to Thorsten in Paris. (see [1]) 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 steps. We take a import file (e.g.