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


Hi,

i've been told yesterday that the usage of writer is severly restricted.
All versions since 3.5 are affected. There is a bug for it:
https://bugs.freedesktop.org/show_bug.cgi?id=55814

I wonder why we don't have any unit test for that part of code?

Another question is bug prioritization. That one is clearly a blocker for me, and belongs on ESC list of most critical bugs we have and should take care of.
May be we need a new category? How about "Most servere impact on customers"?

Anyway, to reproduce that one a trivial document with only two character is needed:

0
a

where

"0" is a variable "test" with the initial value 0
"a" is a section that should be hidden if the condition is met: "test EQ 1"

Changing the value of variable from 0 to 1 overrides currently the condition to "0",
leaving the section unhidden.

How can i create a unit test for that? Could you point me to some similar writer tests? I would expect that programmatic construction of such a document shouldn't be hard. Then change the variable from "0" to "1" and check that the section is removed from the
model, preserving the original condition.

Thanks
David


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.