Re: Struggling with LayerTabBar in unit test

2018-09-24 Thread Regina Henschel
Hi Stephan, hi Michael, thank you. I have wondered about DLLPUBLIC, but never ask about it. Another piece learned. I will try the SD_DLLPUBLIC approach. First I need to know, whether my idea for a test will work at all. Second step can be to find a better integration of the test. Kind rega

Re: Struggling with LayerTabBar in unit test

2018-09-24 Thread Stephan Bergmann
On 24/09/2018 14:24, Regina Henschel wrote: void SdMiscTest::testTdf119956() {     sd::DrawDocShellRef xDocShRef = Load(m_directories.getURLFromSrc("/sd/qa/unit/data/tdf119956.odg"), ODG);     CPPUNIT_ASSERT_MESSAGE( "Failed to load file.", xDocShRef.is());     sd::DrawViewShell* pDrawViewS

Re: Struggling with LayerTabBar in unit test

2018-09-24 Thread Michael Stahl
On 24/09/2018 14:24, Regina Henschel wrote: void SdMiscTest::testTdf119956() {     sd::DrawDocShellRef xDocShRef = Load(m_directories.getURLFromSrc("/sd/qa/unit/data/tdf119956.odg"), ODG); okay, so you want to load an existing document...     CPPUNIT_ASSERT_MESSAGE( "Failed to load file."