Re: Inserting shapes in unittests

2021-02-17 Thread Regina Henschel
Hi Xisco, Xisco Fauli schrieb am 17.02.2021 um 15:49: Hello, Is there any reason why inserting shapes doesn't work in CppUnittests ? I got shapes inserted in Calc in scshapetest.cxx. See around #225, #322, #277, #503, #686, #746. There are different methods used. But I don't know whether th

Re: Inserting shapes in unittests

2021-02-17 Thread Xisco Fauli
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.libre

Inserting shapes in unittests

2021-02-17 Thread Xisco Fauli
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 i