From eaaaad0e21edb27edaa865eee03696f007cd8010 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Fri, 19 Apr 2019 17:09:23 +0900 Subject: testAlphaVirtualDevice increase delta to 6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia771aff267005b32364c441c41be22160009e4e3 Reviewed-on: https://gerrit.libreoffice.org/70970 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vcl/qa/cppunit/bitmaprender') diff --git a/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx b/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx index cfb1143f3e02..c20c99c883af 100644 --- a/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx +++ b/vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx @@ -194,7 +194,7 @@ void BitmapRenderTest::testAlphaVirtualDevice() // Oh no.. what we input is not the same as what we get out! CPPUNIT_ASSERT_EQUAL(Color(0x002Cff44), aColor); #elif defined _WIN32 - CPPUNIT_ASSERT_LESS(3, deltaColor(Color(0x0022ff55), aColor)); + CPPUNIT_ASSERT_LESS(6, deltaColor(Color(0x0022ff55), aColor)); #else CPPUNIT_ASSERT_EQUAL(Color(0x0022ff55), aColor); #endif @@ -209,7 +209,7 @@ void BitmapRenderTest::testAlphaVirtualDevice() // Oh no.. what we input is not the same as what we get out! CPPUNIT_ASSERT_EQUAL(Color(0x002Cff44), aColor); #elif defined _WIN32 - CPPUNIT_ASSERT_LESS(3, deltaColor(Color(0x0022ff55), aColor)); + CPPUNIT_ASSERT_LESS(6, deltaColor(Color(0x0022ff55), aColor)); #else CPPUNIT_ASSERT_EQUAL(Color(0x0022ff55), aColor); #endif @@ -223,7 +223,7 @@ void BitmapRenderTest::testAlphaVirtualDevice() // Oh no.. what we input is not the same as what we get out! CPPUNIT_ASSERT_EQUAL(Color(0x342CFF44), aColor); #elif defined _WIN32 - CPPUNIT_ASSERT_LESS(3, deltaColor(Color(0x4422FF55), aColor)); + CPPUNIT_ASSERT_LESS(6, deltaColor(Color(0x4422FF55), aColor)); #else CPPUNIT_ASSERT_EQUAL(Color(0x4422FF55), aColor); #endif @@ -238,7 +238,7 @@ void BitmapRenderTest::testAlphaVirtualDevice() // Oh no.. what we input is not the same as what we get out! CPPUNIT_ASSERT_EQUAL(Color(0x342CFF44), aColor); #elif defined _WIN32 - CPPUNIT_ASSERT_LESS(3, deltaColor(Color(0x4422FF55), aColor)); + CPPUNIT_ASSERT_LESS(6, deltaColor(Color(0x4422FF55), aColor)); #else CPPUNIT_ASSERT_EQUAL(Color(0x4422FF55), aColor); #endif -- cgit