summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 07:24:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 08:40:31 +0200
commit6ba14f83add039d0df133febfcf7199c99f8d936 (patch)
treed0e8b1d624f263c5dcfe7c03639110cfc9d95b4e
parentc8053f5a5629c04defd813b061f0d59d6bf15f88 (diff)
Revert "enable test for all platforms"
This reverts commit b294a94861289c322a26edb6b83f0d329575639d, which keeps failing frequently for Gerrit Jenkins Windows builds now, e.g., <https://ci.libreoffice.org/job/gerrit_windows/125864/> C:/cygwin/home/tdf/jenkins/workspace/gerrit_windows@2/sw/qa/extras/layout/layout2.cxx:1950:testTdf124261::TestBody equality assertion failed - Expected: 1721 - Actual : 3472 Change-Id: I681274df98f2246312539ba5d0dfcde7e7ba4826 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133718 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--sw/qa/extras/layout/layout2.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/qa/extras/layout/layout2.cxx b/sw/qa/extras/layout/layout2.cxx
index 7453dac90b0e..f88fbdc94f71 100644
--- a/sw/qa/extras/layout/layout2.cxx
+++ b/sw/qa/extras/layout/layout2.cxx
@@ -1920,6 +1920,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter2, testUserFieldTypeLanguage)
CPPUNIT_TEST_FIXTURE(SwLayoutWriter2, testTdf124261)
{
+#if !defined(_WIN32)
// Make sure that pressing a key in a btlr cell frame causes an immediate, correct repaint.
SwDoc* pDoc = createSwDoc(DATA_DIRECTORY, "tdf124261.docx");
SwRootFrame* pLayout = pDoc->getIDocumentLayoutAccess().GetCurrentLayout();
@@ -1948,6 +1949,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter2, testTdf124261)
SwTextFrame* pTextFrame = static_cast<SwTextFrame*>(pFrame);
SwRect aRect = pTextFrame->GetPaintSwRect();
CPPUNIT_ASSERT_EQUAL(pTextFrame->getFrameArea().Top(), aRect.Top());
+#endif
}
CPPUNIT_PLUGIN_IMPLEMENT();