Inserting shapes in unittests

Xisco Fauli xiscofauli at libreoffice.org
Wed Feb 17 15:30:02 UTC 2021


Nevermind. The problem was in the KeyModifier. it's KEY_MOD1 and not
KEY_MOD2.

On 17/2/21 15:49, Xisco Fauli wrote:
> Hello,
>
> Is there any reason why inserting shapes doesn't work in CppUnittests ?
> In UItests, it's possible to use the KeyModifier 8192 (KEY_MOD2 ), see
> https://opengrok.libreoffice.org/xref/core/sw/qa/uitest/writer_tests7/tdf130629.py?r=f7c8535a,
> however, if I do the same in a CppUnittest, nothing is inserted. see
> https://gerrit.libreoffice.org/c/core/+/111072.
>
> Any idea why this is happening ?
>
> Cheers
>
-- 
Xisco Faulí
LibreOffice QA Team
IRC: x1sc0



More information about the LibreOffice mailing list