[Libreoffice-commits] core.git: sw/qa
Miklos Vajna
vmiklos at collabora.co.uk
Fri Jul 31 06:07:53 PDT 2015
sw/qa/extras/uiwriter/uiwriter.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7cc7d5787c715e7782a3cfc3a882f2a2edfbd66a
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Jul 31 15:04:28 2015 +0200
CppunitTest_sw_uiwriter: fix which test is disabled to not break headless Mac
Based on a mini-dump from Norbert.
Change-Id: I9a9fee38b0472e1abfd797539cadd4a83af5f583
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 69da76a..bdf4a00 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -2117,7 +2117,6 @@ void SwUiWriterTest::testDde()
void SwUiWriterTest::testTdf89954()
{
-#ifndef MACOSX
SwDoc* pDoc = createDoc("tdf89954.odt");
SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();
pWrtShell->EndPara();
@@ -2133,11 +2132,11 @@ void SwUiWriterTest::testTdf89954()
// As a result, autocorrect did not turn the 't' input into 'T'.
OUString aExpected("Tes\xef\xbf\xb9t. Test.", 14, RTL_TEXTENCODING_UTF8);
CPPUNIT_ASSERT_EQUAL(aExpected, aNodeIndex.GetNode().GetTextNode()->GetText());
-#endif
}
void SwUiWriterTest::testTdf89720()
{
+#ifndef MACOSX
SwDoc* pDoc = createDoc("tdf89720.odt");
SwView* pView = pDoc->GetDocShell()->GetView();
SwPostItMgr* pPostItMgr = pView->GetPostItMgr();
@@ -2148,6 +2147,7 @@ void SwUiWriterTest::testTdf89720()
// resulting in unexpected dark color.
CPPUNIT_ASSERT(!pItem->pPostIt->TextRange());
}
+#endif
}
void SwUiWriterTest::testTdf88986()
More information about the Libreoffice-commits
mailing list