summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-07-31 15:04:28 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-31 15:07:04 +0200
commit7cc7d5787c715e7782a3cfc3a882f2a2edfbd66a (patch)
tree251b6aa858b8be8e32b490288cc74c57a4abcf00 /sw/qa
parent168bf78980691229c1831ad19f098167a09e1dd5 (diff)
CppunitTest_sw_uiwriter: fix which test is disabled to not break headless Mac
Based on a mini-dump from Norbert. Change-Id: I9a9fee38b0472e1abfd797539cadd4a83af5f583
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 69da76acdc92..bdf4a003057a 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()