Re: How to make a unit test which involves a dialog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Xisco,

Xisco Fauli schrieb am 13-Oct-20 um 21:11:
Hi Regina,

oh, I didn't know you were on Windows. Unfortunately the logging is not
supported there, see
https://wiki.documentfoundation.org/Development/UITests#Unsupported_ui_items

OTOH, I can create the UItest for you once you submit the patch if you
want to avoid the hassle of switching to Linux and building LibreOffice
there.

This is a great offer, which I gladly accept. Many thanks for such support.

Kind regards
Regina


Regards

On 13/10/20 18:36, Regina Henschel wrote:
Hi Xisco,

Xisco Fauli schrieb am 13-Oct-20 um 16:43:
Hi Regina,

You can use a UItest for that.

Launch LibreOffice with LO_COLLECT_UIINFO="test.log"
instdir/program/scalc, follow the steps to reproduce the issue and you
will have the action log in instdir/uitest/test.log.

You have information on how to run uitests here:
https://wiki.documentfoundation.org/Development/UITests#Running_the_test


I can launch LibreOffice, I see the folder uitest, but I do not get a
file "test.log".
Might it be, that it works only on Linux? I work on Windows 10 with
Cygwin.

Kind regards
Regina

Regards

On 13/10/20 15:02, Regina Henschel wrote:
Hi all,

the patch for which I want to make a unit test is in
https://gerrit.libreoffice.org/c/core/+/104234

The error is produced, when you set a new width or height for a
horizontal or vertical line in the Position&Size dialog in Calc. So
how can I use the Position&Size dialog in a unit test? Is it possible
with C++?

Kind regards
Regina
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice


_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice


_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux