Sporadically failing CppunitTest_sc_vba_macro_test

Noel Grandin noelgrandin at gmail.com
Thu May 11 07:58:21 UTC 2023


On Thu, 11 May 2023 at 09:54, Stephan Bergmann <sbergman at redhat.com> wrote:

> Is it plausible that those macro executions trigger asynchronous
> operations that might only actually update the values (observed via
> rDoc.GetValue) some time after the executeMacro call has already returned?
>
>
Given the way our UI works, that is very likely to be the case.

I would suspect that putting a

   Scheduler::ProcessEventsToIdle

into UnoApiTest::executeMacro would be a good idea.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230511/96c61574/attachment.htm>


More information about the LibreOffice mailing list