Kaydet (Commit) 8bc4d119 authored tarafından Miklos Vajna's avatar Miklos Vajna

CppunitTest_sw_tiledrendering: disable the search test on non-Linux for now

Change-Id: Iae2de9b9ada2046beca29990a8abda09947d7b34
üst f17081ea
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment