From 74659d0174a516d4ed5095e386f925de51121e76 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 2 Dec 2014 13:47:19 +0100 Subject: CPPUNIT_ASSERT_EQUAL Change-Id: I846ff9cc1bc1e4e449542ebe04a4dc322cee821e --- vcl/qa/cppunit/outdev.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vcl/qa/cppunit') diff --git a/vcl/qa/cppunit/outdev.cxx b/vcl/qa/cppunit/outdev.cxx index de02ffc04f37..4ae34700c2f2 100644 --- a/vcl/qa/cppunit/outdev.cxx +++ b/vcl/qa/cppunit/outdev.cxx @@ -56,10 +56,10 @@ void VclOutdevTest::testVirtualDevice() } #endif - CPPUNIT_ASSERT(aVDev.GetPixel(Point(0,0)) == COL_WHITE); - CPPUNIT_ASSERT(aVDev.GetPixel(Point(1,2)) == COL_GREEN); - CPPUNIT_ASSERT(aVDev.GetPixel(Point(31,30)) == COL_RED); - CPPUNIT_ASSERT(aVDev.GetPixel(Point(30,31)) == COL_WHITE); + CPPUNIT_ASSERT_EQUAL(COL_WHITE, aVDev.GetPixel(Point(0,0)).GetColor()); + CPPUNIT_ASSERT_EQUAL(COL_GREEN, aVDev.GetPixel(Point(1,2)).GetColor()); + CPPUNIT_ASSERT_EQUAL(COL_RED, aVDev.GetPixel(Point(31,30)).GetColor()); + CPPUNIT_ASSERT_EQUAL(COL_WHITE, aVDev.GetPixel(Point(30,31)).GetColor()); // Gotcha: y and x swap for BitmapReadAccess: deep joy. Bitmap::ScopedReadAccess pAcc(aBmp); -- cgit