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


Hello,

I would like to create a unittest for tdf#130515 [1] which was recently
fixed by Noel.

The problem was that the displayed string in the form was '12:12'
instead of '12:12:00PM' when the time format was set to 'HH:MM:SS PM'.

Is there any way to check the resulting string in a unittest?

I tried with document.getDrawPage()[0].TextRange.String but it returns
"". OTOH, document.getDrawPage()[0].Control.Text return 12:12, which
doesn't get the format applied.

I couldn't find any existing test checking this either.

Thanks in advance

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=130515

-- 
Xisco Faulí
LibreOffice QA Team
IRC: x1sc0



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.