Unittest for tdf#130515
xiscofauli at libreoffice.org
Tue Mar 3 14:17:35 UTC 2020
I would like to create a unittest for tdf#130515  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().TextRange.String but it returns
"". OTOH, document.getDrawPage().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
LibreOffice QA Team
More information about the LibreOffice