From 35c4abc1b209b40a936c62bdff0b055856851ef1 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 19 Oct 2021 12:55:18 +0300 Subject: Bump tolerance from 30 to 40 to make this test pass on my Mac Assuming that the original 30 was just an arbitrary number that happened to work on the developer's machine, and for reasons a slightly larger tolerance is needed on mine. Change-Id: I08fe883dbe2eb88b7903019a71b689b539b085a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123810 Tested-by: Jenkins Reviewed-by: Regina Henschel Reviewed-by: Tor Lillqvist Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126476 --- sc/qa/unit/scshapetest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sc/qa/unit/scshapetest.cxx b/sc/qa/unit/scshapetest.cxx index 5586cdb954f2..cc5a04ea63e4 100644 --- a/sc/qa/unit/scshapetest.cxx +++ b/sc/qa/unit/scshapetest.cxx @@ -245,7 +245,7 @@ void ScShapeTest::testTdf144242_OpenBezier_noSwapWH() pObj = lcl_getSdrObjectWithAssert(rDoc2, 0); tools::Rectangle aSnapRect(pObj->GetSnapRect()); // Without fix in place width and height were swapped - lcl_AssertRectEqualWithTolerance("Reload: wrong pos and size", aExpectRect, aSnapRect, 30); + lcl_AssertRectEqualWithTolerance("Reload: wrong pos and size", aExpectRect, aSnapRect, 40); pDocSh->DoClose(); } @@ -285,7 +285,7 @@ void ScShapeTest::testTdf144242_Line_noSwapWH() pObj = lcl_getSdrObjectWithAssert(rDoc2, 0); tools::Rectangle aSnapRect(pObj->GetSnapRect()); // Without fix in place width and height were swapped - lcl_AssertRectEqualWithTolerance("Reload: wrong pos and size", aExpectRect, aSnapRect, 30); + lcl_AssertRectEqualWithTolerance("Reload: wrong pos and size", aExpectRect, aSnapRect, 40); pDocSh->DoClose(); } -- cgit