export validation testing in unit tests

Markus Mohrhard markus.mohrhard at googlemail.com
Thu Mar 13 06:58:24 PDT 2014


Hey,


On Thu, Mar 6, 2014 at 4:51 PM, Markus Mohrhard <
markus.mohrhard at googlemail.com> wrote:

> Hey,
>
> so this is mostly for our tinderbox maintainers and people working on ODF
> and OOXML export filters.
>
> I recently added OOXML export validation to calc's export test and plan to
> do the same for ODF soon. If you build with --with-export-validation the
> code for this feature will be enabled.
>
> Additionally you need officeotron [1] and a script similar to the one that
> I attach in your path. The script should just forward the parameter to
> officeotron and deal with the java parts.
>
> It would be nice to enable this feature on some tinderboxes to prevent
> validation errors in the future.
>
> I plan to add the same support for odf validator during the weekend and
> enable it in writer.
>
> Regards,
> Markus
>
> [1] https://code.google.com/p/officeotron/
>

ODF export validation has been added as well. Mainly for calc right now but
is supported in all our export tests. Sadly using it outside of calc still
shows that we have a number of validation errors so we need some further
work before we can enable it everywhere.

We use odf validator [2] right now for the export validation and assume a
script similar to the attached one in the path with the name odfvalidator.

It would be nice to enable it similar to the OOXML validation on some
tinderboxes.

Regards,
Markus

[2] http://incubator.apache.org/odftoolkit/conformance/ODFValidator.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140313/708ac7ef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: odfvalidator
Type: application/octet-stream
Size: 370 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140313/708ac7ef/attachment.obj>


More information about the LibreOffice mailing list