summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-04 13:55:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-04 14:08:29 +0100
commit3cfa4f26616411caf5c9c6c91ccd5ded7e10b035 (patch)
tree4184317b4544af194b3a6db3b9f7ee71a0e967f9 /basebmp
parentffa8892c5a929ac121fc7b1020d8f6b5b3cf45be (diff)
bmpmasktest was little-endian only
Change-Id: Icf362281c54509211b08c8bf5e29a0e31d9eb835
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/test/bmpmasktest.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basebmp/test/bmpmasktest.cxx b/basebmp/test/bmpmasktest.cxx
index 4b643072f7ec..f8b20a5a4bda 100644
--- a/basebmp/test/bmpmasktest.cxx
+++ b/basebmp/test/bmpmasktest.cxx
@@ -206,11 +206,11 @@ public:
DrawMode::Paint );
CPPUNIT_ASSERT_MESSAGE( "output not cleared to white",
- xOutput->getPixelData( basegfx::B2IPoint( 0, 0 ) ) == 0xffffff );
+ xOutput->getPixel( basegfx::B2IPoint( 0, 0 ) ) == Color(0xffffff) );
CPPUNIT_ASSERT_MESSAGE( "bitmap not drawn",
- xOutput->getPixelData( basegfx::B2IPoint( 2, 2 ) ) == 0x808080 );
+ xOutput->getPixel( basegfx::B2IPoint( 2, 2 ) ) == Color(0x808080) );
CPPUNIT_ASSERT_MESSAGE( "mask not applied",
- xOutput->getPixelData( basegfx::B2IPoint( 6, 6 ) ) == 0xffffff );
+ xOutput->getPixel( basegfx::B2IPoint( 6, 6 ) ) == Color(0xffffff) );
}
// Change the following lines only, if you add, remove or rename