[Libreoffice-commits] core.git: vcl/qa

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 19 09:54:06 UTC 2019


 vcl/qa/cppunit/bitmaprender/BitmapRenderTest.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit eaaaad0e21edb27edaa865eee03696f007cd8010
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Fri Apr 19 17:09:23 2019 +0900
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Fri Apr 19 11:53:28 2019 +0200

    testAlphaVirtualDevice increase delta to 6
    
    Change-Id: Ia771aff267005b32364c441c41be22160009e4e3
    Reviewed-on: https://gerrit.libreoffice.org/70970
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

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


More information about the Libreoffice-commits mailing list