[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sw/qa
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Thu Apr 25 10:50:37 UTC 2019
sw/qa/extras/uiwriter/uiwriter2.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit a835ffa3945a393e0d58705f50682c6e635e9f8a
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Thu Apr 25 12:49:54 2019 +0200
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Apr 25 12:49:54 2019 +0200
disable SwUiWriterTest2::testTdf122942 on Mac
Change-Id: I1c7e1ea5b3ba5fa8b6969081b0df4eba48af327c
diff --git a/sw/qa/extras/uiwriter/uiwriter2.cxx b/sw/qa/extras/uiwriter/uiwriter2.cxx
index a5b74cc8265b..2da2640e7fcc 100644
--- a/sw/qa/extras/uiwriter/uiwriter2.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter2.cxx
@@ -433,6 +433,7 @@ void SwUiWriterTest2::testMixedFormFieldInsertion()
void SwUiWriterTest2::testTdf122942()
{
+#ifndef MACOSX
load(DATA_DIRECTORY, "tdf122942.odt");
SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get());
SwWrtShell* pWrtShell = pTextDoc->GetDocShell()->GetWrtShell();
@@ -471,6 +472,7 @@ void SwUiWriterTest2::testTdf122942()
CPPUNIT_ASSERT(pObject2);
const tools::Rectangle& rOutRect2 = pObject2->GetLastBoundRect();
CPPUNIT_ASSERT(rOutRect2.Top() > rOutRect1.Top() && rOutRect2.Top() < rOutRect1.Bottom());
+#endif
}
CPPUNIT_TEST_SUITE_REGISTRATION(SwUiWriterTest2);
More information about the Libreoffice-commits
mailing list