diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2015-09-01 14:11:34 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-09-01 16:28:51 +0100 |
commit | 8ec9b87678c9fea437c5bdd623758d850fa8d309 (patch) | |
tree | 7aa4ae03489a2b05c51ee5fe6ca3412329b4c538 /vcl/qa/cppunit/BitmapTest.cxx | |
parent | 80eb87f3c9a8e650070f85cfbc796422ae6840a5 (diff) |
Modified CRC test in order to fix test failure on OSX
Change-Id: Ic3fa76557746242ca99e3ce63ea73ec1d2b11f50
Diffstat (limited to 'vcl/qa/cppunit/BitmapTest.cxx')
-rw-r--r-- | vcl/qa/cppunit/BitmapTest.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/qa/cppunit/BitmapTest.cxx b/vcl/qa/cppunit/BitmapTest.cxx index b5c121ac8f34..28dd9c2edfd4 100644 --- a/vcl/qa/cppunit/BitmapTest.cxx +++ b/vcl/qa/cppunit/BitmapTest.cxx @@ -173,6 +173,7 @@ void BitmapTest::testCRC() checkAndInsert(aCRCs, aBitmap, "white bitmap"); ScopedVclPtrInstance<VirtualDevice> aVDev; + aVDev->SetBackground(Wallpaper(COL_WHITE)); aVDev->SetOutputSizePixel(Size(1023, 759)); Bitmap aWhiteCheck = getAsBitmap(aVDev); CPPUNIT_ASSERT(aCRCs.find(aWhiteCheck.GetChecksum()) != aCRCs.end()); |