Kaydet (Commit) eaa76c32 authored tarafından Andras Timar's avatar Andras Timar

disable SwUiWriterTest2::testTdf122942 on Windows

Change-Id: Ie885224f257916debec85ab4a42435ff606b0acd
üst de2fe039
...@@ -434,6 +434,7 @@ void SwUiWriterTest2::testMixedFormFieldInsertion() ...@@ -434,6 +434,7 @@ void SwUiWriterTest2::testMixedFormFieldInsertion()
void SwUiWriterTest2::testTdf122942() void SwUiWriterTest2::testTdf122942()
{ {
#ifndef MACOSX #ifndef MACOSX
#ifndef WNT
load(DATA_DIRECTORY, "tdf122942.odt"); load(DATA_DIRECTORY, "tdf122942.odt");
SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get()); SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument*>(mxComponent.get());
SwWrtShell* pWrtShell = pTextDoc->GetDocShell()->GetWrtShell(); SwWrtShell* pWrtShell = pTextDoc->GetDocShell()->GetWrtShell();
...@@ -473,6 +474,7 @@ void SwUiWriterTest2::testTdf122942() ...@@ -473,6 +474,7 @@ void SwUiWriterTest2::testTdf122942()
const tools::Rectangle& rOutRect2 = pObject2->GetLastBoundRect(); const tools::Rectangle& rOutRect2 = pObject2->GetLastBoundRect();
CPPUNIT_ASSERT(rOutRect2.Top() > rOutRect1.Top() && rOutRect2.Top() < rOutRect1.Bottom()); CPPUNIT_ASSERT(rOutRect2.Top() > rOutRect1.Top() && rOutRect2.Top() < rOutRect1.Bottom());
#endif #endif
#endif
} }
CPPUNIT_TEST_SUITE_REGISTRATION(SwUiWriterTest2); CPPUNIT_TEST_SUITE_REGISTRATION(SwUiWriterTest2);
......
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