summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-04-19 17:09:23 +0900
committerTomaž Vajngerl <quikee@gmail.com>2019-04-19 11:53:28 +0200
commiteaaaad0e21edb27edaa865eee03696f007cd8010 (patch)
treecdc93931dd03c6cec8e9c43dc113c920203edad2
parent368f20001c0d152f48575335757e3c3c3b7e5750 (diff)
testAlphaVirtualDevice increase delta to 6
Change-Id: Ia771aff267005b32364c441c41be22160009e4e3 Reviewed-on: https://gerrit.libreoffice.org/70970 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r--vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx8
1 files changed, 4 insertions, 4 deletions
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