Tip for debugging CppunitTest_sd_tiledrendering failure

Ashod Nakashian ashnakash at gmail.com
Tue Nov 22 04:51:09 UTC 2016


Hi Khaled,

On Mon, Nov 21, 2016 at 7:19 PM, Khaled Hosny <khaledhosny at eglug.org> wrote:

> I’m having a failure on Linux in this test, I can reproduce it locally
> but I have no idea how to debug it:
> http://ci.libreoffice.org/job/lo_gerrit/2956/Config=linux_
> gcc_release_64/console
>
> (for https://gerrit.libreoffice.org/#/c/31053/).
>
> The test apparently checks if a mouse event at a certain position does
> something, and since I’m changing how line spacing is calculated it
> might have caused some vertical shift. But I don’t understand the code
> of the test that much and don’t know where to start, any tips?
>
>
It's a hit-test. Basically, it simulates a mouse click (by invoking the
relevant API) and validates that the cursor position is updated as a result.

I guess you need to rework the test to take into account the new spacing so
the mouse would end up in the text-edit control. Line 355 looks relevant.

>From 'git blame' Miklos is the author (CC-ed).



> Regards,
> Khaled
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20161121/12de7191/attachment.html>


More information about the LibreOffice mailing list