Re: How to use running slideshow in unit test?

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

 



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.

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

HTH,

-- Thorsten

Attachment: signature.asc
Description: PGP signature

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

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

  Powered by Linux