Re: How to use running slideshow in unit test?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thorsten,

Thorsten Behrens schrieb am 14-May-20 um 23:28:
Hi Regina,

better late than never -

Regina Henschel wrote:
xPresentation2->start();
CPPUNIT_ASSERT(xPresentation2->isRunning());

But the assertion fails.

Many slideshow activities happen timer-based, that also includes the
initial start.

I'd stick a Scheduler::ProcessEventsToIdle() after the start() call,
and see how far that gets you.

Unfortunately that does not work. The assertion still fails.


It _might_ turn out that in the end, a subsequent or uitest might be
more suitable to what you'd need here...

I've never done anything like this before. Are there any examples or instructions, maybe regarding slideshow?

Kind regards
Regina
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux