[Solved] Need help for unit test

Regina Henschel rb.henschel at t-online.de
Tue Mar 16 19:53:41 UTC 2021


Regina Henschel schrieb am 16.03.2021 um 02:58:
> Hi all,
> 
> and again I need help for making a unit test.
> 
> My idea for unit test for https://gerrit.libreoffice.org/c/core/+/112474 
> is to load a document with a custom shape in 3D mode. It has extrusion 
> direction "Extrusion Backwards", which means, that no side faces are 
> visible.
> Then I want let a DrawViewShell execute a request with 
> SID_EXTRUSION_DIRECTION. That should show a side face and I can examine 
> whether the BoundRect has the correct height.

I have now used svx::ExtrusionBar directly in customshapes.cxx in 
svx/qa/unit instead of DrawViewShell.

Kind regards
Regina


More information about the LibreOffice mailing list