[Libreoffice] [PATCH] Fix and enable more unit tests in sal/qa/rtl

Theo van Klaveren theo.van.klaveren at gmail.com
Thu Mar 17 06:50:54 PDT 2011


Hello again,

More unit test hacking. Only the ones that work are enabled.

Some questions that are coming up:

 - Some unit tests contain .xsce files that seem to be used to tell told the
old unit testing framework that the test is expected to segfault. This does
not seem to work with cppunittester?
 - The math test fails in a way that is unexpected. The test checks that
double -> string -> double conversion works, and expects 1.#INF to result in
1.#INF. The API docs agree, but the result is INF.

This set of patches, and unless otherwise noted all future patches from me,
are contributed under dual LGPLv3/MPL.

Kind regards,
 - Theo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110317/37a892cf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-the-qa-rtl-rtl_crc32-test-compile-again.patch
Type: text/x-patch
Size: 1460 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110317/37a892cf/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Make-the-qa-rtl-rtl_cipher-unit-test-compile-again.patch
Type: text/x-patch
Size: 14366 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110317/37a892cf/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Make-the-qa-rtl-rtl_doublelock-test-compile-again.patch
Type: text/x-patch
Size: 4694 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110317/37a892cf/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Make-the-qa-rtl-rtl_locale-test-compile-again.patch
Type: text/x-patch
Size: 8257 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110317/37a892cf/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Make-the-qa-rtl-rtl_logfile-test-compile-again.patch
Type: text/x-patch
Size: 3957 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110317/37a892cf/attachment-0013.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Make-the-qa-rtl-rtl_math-test-compile-again.patch
Type: text/x-patch
Size: 13667 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110317/37a892cf/attachment-0014.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Make-the-qa-rtl-rtl_ostring-test-compile-again.patch
Type: text/x-patch
Size: 10456 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110317/37a892cf/attachment-0015.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Remove-some-now-unneeded-files.patch
Type: text/x-patch
Size: 1605 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110317/37a892cf/attachment-0016.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-Enable-newly-converted-unit-tests-that-work.patch
Type: text/x-patch
Size: 1209 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110317/37a892cf/attachment-0017.bin>


More information about the LibreOffice mailing list