Re: How to use running slideshow in unit test?

2020-05-15 Thread Regina Henschel
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 initia

Re: How to use running slideshow in unit test?

2020-05-14 Thread Thorsten Behrens
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() a

How to use running slideshow in unit test?

2020-04-19 Thread Regina Henschel
Hi all, to make a unit test for tdf#129898 (https://gerrit.libreoffice.org/c/core/+/92502), I would need a running slideshow in full screen mode, and then use mouse to paint something. How do I get a running slideshow? I have not found any test, which uses a running slideshow. I have tried