Tip for debugging CppunitTest_sd_tiledrendering failure
ashnakash at gmail.com
Tue Nov 22 04:51:09 UTC 2016
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:
> (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).
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice