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

2020-10-14 Thread Xisco Fauli
Hi, On 13/10/20 23:13, Regina Henschel wrote: > This is a great offer, which I gladly accept. Many thanks for such > support. UItest submitted to gerrit: https://gerrit.libreoffice.org/c/core/+/104277 -- Xisco FaulĂ­ LibreOffice QA Team IRC: x1sc0

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

2020-10-14 Thread Miklos Vajna
Hi Regina, On Tue, Oct 13, 2020 at 03:02:33PM +0200, Regina Henschel wrote: > 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

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

2020-10-13 Thread Regina Henschel
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

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

2020-10-13 Thread Xisco Fauli
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

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

2020-10-13 Thread Regina Henschel
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

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

2020-10-13 Thread Xisco Fauli
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:

How to make a unit test which involves a dialog

2020-10-13 Thread Regina Henschel
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 dialog in Calc. So how can I use the Position dialog in a unit test? Is it