Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Thu, 2011-03-17 at 14:50 +0100, Theo van Klaveren wrote:
Hello again,

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

Looks good, pushed, thanks for these.

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?

Sounds sort of dubious to have tests that expect to segfault :-),
crashes that are supposed to crash would be probably tricky to get cross
platform friendly. I'm unconvinced that the .xsce files are useful to
us.

 - 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.

Might have to poke back through the implementation of this and see what
changes might have happened since the test was written to see if the
code changed for a good reason or a bad one to see if its now a bug into
impl+docs or a bug in the test.

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.