[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sw/qa

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 5 09:42:37 UTC 2019


 sw/qa/extras/uiwriter/uiwriter2.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit eaa76c324afe29f84f6eb30e68ca1ab3a1bf0f61
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Wed Jun 5 11:41:49 2019 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Jun 5 11:41:49 2019 +0200

    disable SwUiWriterTest2::testTdf122942 on Windows
    
    Change-Id: Ie885224f257916debec85ab4a42435ff606b0acd

diff --git a/sw/qa/extras/uiwriter/uiwriter2.cxx b/sw/qa/extras/uiwriter/uiwriter2.cxx
index 2da2640e7fcc..b78454a061b4 100644
--- a/sw/qa/extras/uiwriter/uiwriter2.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter2.cxx
@@ -434,6 +434,7 @@ void SwUiWriterTest2::testMixedFormFieldInsertion()
 void SwUiWriterTest2::testTdf122942()
 {
 #ifndef MACOSX
+#ifndef WNT
     load(DATA_DIRECTORY, "tdf122942.odt");
     SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get());
     SwWrtShell* pWrtShell = pTextDoc->GetDocShell()->GetWrtShell();
@@ -473,6 +474,7 @@ void SwUiWriterTest2::testTdf122942()
     const tools::Rectangle& rOutRect2 = pObject2->GetLastBoundRect();
     CPPUNIT_ASSERT(rOutRect2.Top() > rOutRect1.Top() && rOutRect2.Top() < rOutRect1.Bottom());
 #endif
+#endif
 }
 
 CPPUNIT_TEST_SUITE_REGISTRATION(SwUiWriterTest2);


More information about the Libreoffice-commits mailing list