Howto unit test for LOOKUP with external reference

Regina Henschel rb.henschel at t-online.de
Mon Aug 4 07:08:37 UTC 2025


Hi Xisco,

Regina Henschel schrieb am 02.08.2025 um 01:37:
> Regina Henschel schrieb am 25.07.2025 um 11:18:
>> Hi all,
>>
>> this is about bug 167582. The fix itself is in 
>> https://gerrit.libreoffice.org/c/core/+/188304
>> But currently without unit test.
>
[..]> So the problem of writing a unit test is still unsolved.
> 

I think, I have now a solution for the unit test. I exchange the IRI 
that are contained in the LOOKUP parameters with the IRI of the current 
position of the file. At least that works locally. Jenkins is pending.

The test is currently in ScFiltersTest5. But I'm unhappy with that, 
because the test is not about filters. Xisco, do you have a suggestion 
where to put the test?

Kind regards,
Regina


More information about the LibreOffice mailing list