summaryrefslogtreecommitdiff
path: root/basebmp/test/cliptest.cxx
diff options
context:
space:
mode:
authorThorsten Behrens <thb@openoffice.org>2006-07-12 21:47:21 +0000
committerThorsten Behrens <thb@openoffice.org>2006-07-12 21:47:21 +0000
commit053fdb6c0d6862bb0110917edc5d31ff764fdea8 (patch)
treedb2254c2b97af75974ce067cad981cdf4bdf1772 /basebmp/test/cliptest.cxx
parent41aac5e01a735244839680528ae6245f1520ceee (diff)
#i65904# Fixed operator+=/-= on PackedPixelRowIterator (wrong overflow handling & forgot to handle negated cases); fixed typo for paletteformats (ignoring bit gravity); made drawMaskedBitmap() work for more cases; improved tests
Diffstat (limited to 'basebmp/test/cliptest.cxx')
-rw-r--r--basebmp/test/cliptest.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/basebmp/test/cliptest.cxx b/basebmp/test/cliptest.cxx
index cdf3fdf2b32f..38e6797c13c1 100644
--- a/basebmp/test/cliptest.cxx
+++ b/basebmp/test/cliptest.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cliptest.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: thb $ $Date: 2006-07-11 11:38:56 $
+ * last change: $Author: thb $ $Date: 2006-07-12 22:47:21 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -128,8 +128,8 @@ private:
DrawMode_PAINT,
mpClipMask );
const basegfx::B2IPoint aPt(0,10);
- CPPUNIT_ASSERT_MESSAGE("number of clipped pixel is not 28",
- countPixel( rDevice, rDevice->getPixel(aPt) ) == 121-28);
+ CPPUNIT_ASSERT_MESSAGE("number of clipped pixel is not 30",
+ countPixel( rDevice, rDevice->getPixel(aPt) ) == 121-30);
}
void implTestBmpClip(const BitmapDeviceSharedPtr& rDevice)
@@ -213,9 +213,6 @@ public:
aPoly.getB2DPolygon(0),
Color(0),
DrawMode_PAINT );
-
- std::ofstream output("clipmask.dump");
- debugDump( mpClipMask, output );
}
void testPixelClip()