GSOC More and Better Tests Weekly Update

Adam Seskunas adamseskunas at gmail.com
Tue Aug 13 21:14:24 UTC 2024


Hello,

This week I've continued to write tests from the Missing Unit test list.
Its been a little bit of a challenge to find bug reports that are good
candidates to write tests for. One issue is that after spending a non
insignificant amount of time building LO in order to reproduce a bug, the
bug is not reproducible. It can be impossible to figure out why this is,
and can easily become a time sink. And so my strategy is to have multiple
LO builds, in that way I can work on one bug, while building for another
bug reproduction and just look into the next bug report on the candidate
list I have compiled.

This week I've written two new tests
Test for tdf131288
https://gerrit.libreoffice.org/c/core/+/171605
Test for tdf160301
https://gerrit.libreoffice.org/c/core/+/171840

I've also spent some time working on finishing a test for tdf157484
https://gerrit.libreoffice.org/c/core/+/170864

The problem here is that
SvtSecurityOptions::EOption::DocWarnKeepDocVersionInfo is not removing the
Document Version Information in the test. When testing this out in the GUI,
with the test document, everything works as it should. It has to do with
how the document is saved in the GUI vs how its saved in the test. I've
done some debugging, but have yet to come up with a definitive answer.

That's all for this week,
Adam Seskunas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240813/c13238ac/attachment.htm>


More information about the LibreOffice mailing list