[Libreoffice-commits] core.git: sw/qa
Miklos Vajna
vmiklos at collabora.co.uk
Thu May 21 03:30:03 PDT 2015
sw/qa/extras/tiledrendering/tiledrendering.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit d9ba19147d6261469407a50bad4c9a04927fb166
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Thu May 21 11:29:04 2015 +0100
CppunitTest_sw_tiledrendering: disable the search test on non-Linux for now
Change-Id: Iae2de9b9ada2046beca29990a8abda09947d7b34
diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index 3ba4dbd..2990d9a 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -237,6 +237,7 @@ void lcl_search()
void SwTiledRenderingTest::testSearch()
{
+#if !defined(WNT) && !defined(MACOSX)
SwXTextDocument* pXTextDocument = createDoc("search.odt");
SwWrtShell* pWrtShell = pXTextDocument->GetDocShell()->GetWrtShell();
size_t nNode = pWrtShell->getShellCrsr(false)->Start()->nNode.GetNode().GetIndex();
@@ -260,6 +261,7 @@ void SwTiledRenderingTest::testSearch()
CPPUNIT_ASSERT(!pWrtShell->GetDrawView()->GetTextEditObject());
nActual = pWrtShell->getShellCrsr(false)->Start()->nNode.GetNode().GetIndex();
CPPUNIT_ASSERT_EQUAL(nNode + 7, nActual);
+#endif
}
CPPUNIT_TEST_SUITE_REGISTRATION(SwTiledRenderingTest);
More information about the Libreoffice-commits
mailing list