https://bz.apache.org/ooo/show_bug.cgi?id=128489
--- Comment #2 from Regina Henschel <[email protected]> --- (In reply to Marcus from comment #1) > @Regina: > Thank your for your patch. Do you have also some tips how to test the > patched code? Manually testing is easy. Take the example file from gerrit or from the LO bug and open it in current AOO and then in the patched one. The file contains extruded shapes with depth position 0, 0.5 and 1. The shapes are rotated by 90deg around the x-axis so that the extrusion becomes visible. The length of the extrusion should be the same. The position of the extrusion should be different. I don't know how automatic testing is done for AOO. For the text with Cppunit in LO I have examined the bound rectangle of the shapes. In case depth position 0.5 the bound rectangle has height 0 in the unpatched Office, in case depth position 1 the bound rectangle has the same position as for position 0 in the unpatched Office. Test looks then, that the bound rectangle is correct. You can see the Cppunit test code in https://gerrit.libreoffice.org/c/core/+/123997. In case you can use it, you can of cause take all of it under Apache License 2.0 too. I will attach the file and a screenshot, how it should look. -- You are receiving this mail because: You are the assignee for the issue.
