1 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
3 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
4 reworked LockUnlockBitmap (e.g. add assert messages).
6 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
8 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
9 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
10 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
13 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
15 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
18 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
20 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
21 if in particular case (it doesn't). Added Categoty("Valgrind") to a
22 test know to leak due to the API design.
24 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
26 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
27 the data when using ImageLockMode.ReadOnly (this makes some results
28 random when using MS GDI+).
30 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
32 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
33 (without unlocking it first).
34 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
35 returns a named color and a unnamed color.
36 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
37 two additionnal test cases for LockBits, Double locks (exception) and
38 invalid ImageLockMode (no exception).
40 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
42 * TestColor.cs: Add a few more test cases for ==, != and Equals
44 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
46 * ColorConverter.cs: Add test case with a null CultureInfo for
48 * ColorTranslator.cs: Add test cases with known values for FromHtml
49 * TestColor.cs: Made some test clearer about what they do/check.
51 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
53 * TestFont.cs: Add test cases for GetHeight(Graphics) and
54 GetHeight(float) methods.
56 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
58 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
59 crash libgdiplus if it's not updated to the latest svn revision).
60 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
61 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
63 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
65 * TestFont.cs: Add a test for exception thrown when an unavailable font
66 style is requested. (Marked NotWorking due to being platform specific.)
68 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
70 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
71 available on the system.
73 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
75 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
76 the test cases are now working properly.
77 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
79 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
81 * TestImage.cs: Add test cases for loading invalid files as an Image.
83 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
85 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
86 * TestImage.cs: Add test cases for loading metafile as Image.
88 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
90 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
93 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
95 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
96 for TARGET_JVM with not supported method calls
98 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
100 * SystemFontsTest.cs: Add more tests cases including disposing the
101 font instance returned by the SystemFonts class.
103 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
105 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
106 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
108 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
110 * ColorConverter.cs: Rename fixture to match our styleguide.
111 * ColorTranslator.cs: Rename fixture to match our styleguide.
113 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
115 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
118 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
120 * TestRegion.cs: Add test cases for matrix operations on infinite
121 regions (result is always an infinite region). Add test cases for
122 scale and scale+translate on regions (to see that they do not trigger
123 a convertion into bitmap-based regions).
125 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
127 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
128 and for checking clip bounds after operation on world tranformations.
130 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
132 * TestGraphics.cs: Add test case for trailing spaces when calling
133 MeasureString. #80680
135 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
137 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
138 serialization, which "works" under 2.0 but not under 1.1.
139 * TestImage.cs: Add test case for XmlSerializer on Image type, which
140 "works" under 2.0 but not under 1.1.
142 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
144 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
145 which use a decoder-only codec.
147 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
149 * GDIPlusTest.cs: Add test cases for loading unexisting files in
150 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
151 for error code returned by GdipGetImageGraphicsContext for indexed
154 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
156 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
157 implementation leads to false conclusions. MS GDI+ upgrades the
158 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
159 possible to create a Graphics from them.
160 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
161 under MS 1.x with ArgumentNullException.
163 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
165 * TestBitmap.cs: Added test case to create multiple bitmaps from a
167 * TestIcon.cs: Added test cases to create multiple icons from a
168 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
170 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
172 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
173 coexists in the same icon file.
175 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
177 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
178 11x22, to test for non perfect match icon selection.
179 * TestImage.cs: Add test cases for locked/unlocked streams when using
180 GDI+ (e.g. Mono running on Windows).
182 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
184 * TestIcon.cs: Add test cases for XP (32bpp) icons.
186 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
188 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
189 GetHbitmap and FromHbitmap.
190 * TestIcon.cs: Add test cases for all constructors. Add test cases for
191 saving icons (all sizes). Add test cases for roundtripping icons using
194 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
196 * GDIPlusTest.cs: Add test case for loading an icon and playing with
198 * TestIcon.cs: Add test cases for different sizes of icons.
200 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
202 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
203 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
205 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
206 specific, ignored test case.
208 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
210 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
211 on Linux MS Sans Sarif is mapped to other available font.
213 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
215 * SystemFontsTest.cs: Added test for DefaultFont.
217 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
219 * TestBrushes.cs: Ensure that the unit tests are destructive on the
220 brushes (since you can change their color and dispose them). Now only
221 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
222 any other unit test that use Brushes.* executed after this one.
224 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
226 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
228 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
230 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
231 icons provided here behave differently than normal icons (can't be
234 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
236 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
237 names, currently not working), GetStandardValuesSupported and
238 GetStandardValues methods.
240 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
242 * TestGraphics.cs: Add new MeasureString test cases.
243 * TestRectangle.cs: Add unit tests for == and != operators. Update
244 tests to NUnit 2.2 syntax.
245 * TestRectangleF.cs: Add unit tests for == and != operators. Update
246 tests to NUnit 2.2 syntax.
248 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
250 * TestGraphics.cs: Ignore new test cases when font is null (not
251 available). Add pixel size compares to MeasureString_Bug76664.
253 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
255 * TestGraphics.cs: Added test case to measure strings, some aren't yet
256 working. Modified some to get better checks (e.g. Int32.MaxValue for
259 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
261 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
263 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
265 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
266 tests dynamically (when fonts aren't installed).
268 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
270 * TestGraphics.cs: Added test cases for bug #77699 (with and without
273 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
275 * TestStringFormat.cs: fix build for TARGET_JVM.
277 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
279 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
280 like handling bad ranges (start, length) and hotkey prefix handling.
282 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
284 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
285 GdipSetStringFormatTabStops functions.
286 * TestStringFormat.cs: Added a more complex test case for Clone.
288 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
290 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
291 StringFormat functions.
292 * TestGraphics.cs: Avoid test cases failure if the font object can't
293 be created during fixture's setup.
294 * TestStringFormat.cs: Increased coverage of the unit tests.
296 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
298 * TestGraphics.cs: Add test cases for MeasureString and
299 MeasureCharacterRanges methods.
301 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
303 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
304 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
307 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
309 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
310 test. The test is bad because sometimes it uses Size instead of SizeF.
312 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
314 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
316 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
318 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
319 * TestImageConverter.cs: Added a test case when value is null (should
320 return "(none)"). Uncommented and splitted all exception test cases
321 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
323 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
325 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
326 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
328 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
330 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
331 seems to work only when the destination format is 32 bits.
333 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
335 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
337 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
339 * TextureBrushTest.cs: More test cases when only a partial part of the
340 image is being used and for cloning the brush.
342 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
344 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
345 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
347 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
349 * ColorConverter.cs: Add a new test case for a color with a integer
350 part that is too large to convert into an int.
351 * ColorTranslator.cs: Add more test cases for FromHtml method.
353 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
355 * GDIPlusTest.cs: Fix ImageAttributes test case.
356 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
358 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
360 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
361 Added new test cases for ImageAttributes. Removed some assertion for
362 GpGraphicsPath (which returns different value on monobuild win32 bot
363 than my own machine, uninit field ?).
365 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
367 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
368 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
370 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
372 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
374 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
376 * GDIPlusTest.cs: Added more test cases for Matrix functions.
378 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
380 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
383 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
385 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
387 * TestFont.cs: Ignore test cases if we cannot get any font family
390 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
392 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
393 struct like it's currently defined inside SD).
395 2006-08-12 Duncan Mak <duncan@novell.com>
397 * GDIPlusTest.cs: Removed all the local PInvoke methods.
398 (DrawingOperations): New test for various draw and fill operations
401 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
403 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
404 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
405 executes under Windows (GDI+);
406 * TestFont.cs: Added more test cases for ToLogFont including one that
407 shows that LOGFONT only works properly when it's a class (not a struct)
409 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
411 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
412 PathGradientBrush to fix unit tests under Windows.
413 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
414 fail when using MS GDI+ (e.g. Mono on Windows).
416 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
418 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
419 Widen) and some new tests for Matrix related GDI+ functions.
421 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
423 * TestRegion.cs: Add test case for excluding a rectangle from an
426 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
428 * GDIPlusTest.cs: Avoid leaking during tests.
430 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
432 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
435 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
437 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
438 Pen related GDI+ calls.
440 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
442 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
443 fixes some unit test failures seen with Mono running on Windows).
445 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
447 * TestFont.cs: Remove asserts that are system dependant.
449 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
451 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
453 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
455 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
456 * TestImage.cs: Added checks to validate that the thumbnail's callback
459 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
461 * SolidBrushTest.cs: New test case using DrawLine.
463 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
465 * TestImage.cs: Add test cases for GetThumbnailImage.
467 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
469 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
471 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
473 * TestFont.cs: Expanded a test case to check for bug #78721 where the
474 LOGFONT structure must be initialized even if the ToLogFont call fails
476 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
478 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
479 add a comment on a commented one (MakeTransparent ;-)
481 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
483 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
485 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
487 * TestColor.cs: added 2 more tests for serialization and enabled one
488 that was not working.
490 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
492 * FontFamilyTest.cs: New. Unit tests for FontFamily.
493 * TestFont.cs: Added more test cases to Font.
495 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
497 * TestImageFormatConverter.cs: Added test cases for all well known
498 ImageFormat short and long names using ConvertFrom.
500 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
502 * TestColor.cs: Added test cases for serialization. Currently we can't
503 deserialize Color coming from MS serialization.
505 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
507 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
508 permission and test the [Get|From]Hrgn methods.
510 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
512 * TestBitmap.cs: new tests for the default format and the default file
515 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
517 * ColorConverter.cs: Split unworking test case from ConvertFrom into
518 a separate test case (marked as NotWorking).
519 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
520 probably never tested under Windows (and doesn't work there).
521 * TestFontConverter.cs: Split test case for CreateInstance to check
522 for ArgumentException (2.0) or NullReferenceException (1.x).
523 * TestPointConverter.cs: Split test case for CreateInstance to check
524 for ArgumentException (2.0) or NullReferenceException (1.x).
525 * TestRectangleConverter.cs: Split test case for CreateInstance to
526 check for ArgumentException (2.0) or NullReferenceException (1.x).
527 * TestSizeConverter.cs: Split test case for CreateInstance to check
528 for ArgumentException (2.0) or NullReferenceException (1.x).
529 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
530 check for InvalidCastException and NullReferenceException.
531 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
532 Empty and SizeF(0,0) don't share the same hash code.
534 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
536 * TestImageConverter.cs: Adjust test cases as there is an additional
537 properties under 2.0.
538 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
540 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
542 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
543 * TestFont.cs: Fix tests under Windows (CAS related);
544 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
546 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
548 * PenTest.cs: Added a test case where the brush supplied to the .ctor
549 is disposed before the pen is used. Based on a sample from Paddy joy.
551 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
553 * PenTest.cs: New. Unit tests for Pen.
555 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
557 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
559 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
561 * TestRegion.cs: Added a new test case for unioning a rectangle with
562 infinity and a new test case for GetRegionScans.
564 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
566 * TestGraphics.cs: Re-introduce the removed check :)
568 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
570 * TestGraphics.cs: Temporarily remove the checks for the transform in
571 containers. This allows libgdiplus to get better visual results until
572 the matrix issue is fixed correctly (instead of returning the "right"
573 matrix and displaying wrong data).
575 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
577 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
578 for Save and Restore methods.
580 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
582 * TestGraphics.cs: Added new test cases for DrawCurve methods.
584 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
586 * TestBitmap.cs: added tests for UnlockBits when the target is an
587 indexed image and a non-indexed one.
589 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
591 * TestGraphics.cs: Added new test cases for clipping. Some of them do
594 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
596 * TestGraphics.cs: Added new test cases for bug #77129 where we should
597 not draw or fill rectangle(s) with negative width or height. Converted
598 all test cases to UNIX line endings.
600 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
602 * TestGraphics.cs: Added new test cases translating matrix with
603 different MatrixOrder and for multiplying a non-invertible matrix.
605 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
607 * TestGraphics.cs: Add new test cases for clipping.
609 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
611 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
612 path-based (using bitmaps in libgdiplus) and for regions that had a
613 binary operations applied (i.e. using a path tree in libgdiplus).
614 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
615 binary operators (Union, Intersection, Complement, Exclude and Xor)
616 on path based regions (using bitmaps in libgdiplus).
618 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
620 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
621 the appropriate size on each system
623 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
625 * RegionNonRectTest.cs: Updated comments on a test that fails on both
626 1.x and 2.0 MS runtime.
627 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
630 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
631 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
632 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
633 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
634 added #ifdef for TARGET_JVM.
636 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
637 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
639 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
641 * RegionDataTest.cs: New. Unit tests for RegionData.
642 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
643 * TestRegion.cs: Added new test cases for empty region and IsInfinite
644 behaviour with multiple rectangles / path-rectangle regions.
646 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
648 * TestRegion.cs: Mark a test case as NotWorking as it caused a
651 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
653 * RegionCas.cs: New. CAS unit tests for Region.
654 * TestRegion.cs: Added test cases to check for expected exceptions.
656 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
658 * TestFont.cs: Added test for LogFont conversion
660 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
662 * TestPoint.cs: Test new methods for .Net 2.0
663 * TestPointF.cs Test new methods for .Net 2.0
664 * ColorConverter.cs: Fixes for .Net 2.0
665 * TestSizeF.cs: Test new methods for .Net 2.0
666 * TestSize.cs: Test new methods for .Net 2.0
668 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
670 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
671 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
674 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
676 * ColorConverter.cs: added testcases for ConvertFrom and
677 three digit notaion color.
679 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
681 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
682 of indexed (1- and 4-bit) Bitmaps.
683 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
685 2005-09-19 Miguel de Icaza <miguel@novell.com>
687 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
689 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
691 * BitmapCas.cs: New. CAS unit tests for Bitmap.
692 * GraphicsCas.cs: New. CAS unit tests for Graphics.
693 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
694 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
695 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
696 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
697 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
698 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
699 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
700 UnmanagedCode permission to all tests. This shows (when executed under
701 MS runtime) that S.D API is safe and doesn't requires high privileges
702 to run - even if we know that, deep down, this calls into GDI+.
704 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
706 * TestGraphics.cs: Adds default properties, properties set/get and save
707 and restore status test
709 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
711 * TestGraphics.cs: resets graphics object status before every SetClip test
713 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
715 * TestImageConverter.cs: Re-enabled GetProperties test.
716 * TestPointConverter.cs: same.
717 * TestRectangleConverter.cs: same.
718 * TestSizeConverter.cs: same.
720 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
722 * TestImagge.cs: File not found exception, related to fix r49744
723 * TestBimap.cs: File not found exception, related to fix r49744
725 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
727 * TestGraphics.cs: New test case, only clipping for now
729 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
731 * TestPointConverter.cs: Use Assert class instead of deriving from
732 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
733 * TestRectangleConverter.cs: same.
734 * TestSizeConverter.cs: same.
736 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
738 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
741 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
743 * TestPens.cs: Add test for Equals method
744 * TestBrushes.cs: Add test for Equals method
746 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
748 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
749 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
750 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
751 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
753 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
755 * TestRegion.cs: Adds many new cases for the new region implementation
757 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
759 * ColorConverter.cs: Mono now also throws ArgumentException when
760 color value is not between 0 and 255.
761 * TestColor.cs: Added tests for invalid color values.
762 * TestRectangleConverter.cs: Fixed tests for conversion to/from
763 string. Added tests that verify results using specific cultures.
765 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
767 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
768 tests using current culture.
769 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
772 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
774 * TestColor.cs: Added test for ToString() on uninitialized color.
775 * TestColorConverter.cs: Added tests for ColorConverter.
777 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
779 * TestRegion.cs: new cases for Combine and Intersect
781 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
783 * TestRectangle.cs: Add new test.
785 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
787 * ColorConverter.cs, ColorTranslator.cs: added
788 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
789 tests for convert to/from string
791 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
793 * Color.cs: many new testcases added
795 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
797 * Size.cs, SizeF.cs: GetHashCode and ToString tests
799 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
801 * TestRectangle.cs, TestRectangleF.cs: add new testcases
803 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
805 * TestPoint.cs: GetHashCode and ToString tests added
806 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
809 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
811 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
812 the original stack trace.
814 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
816 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
817 tests to use tolerance.
819 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
821 * TestColor.cs: Added tests for GetHue, GetBrightness
824 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
825 * TestRegion.cs: added new IsVisible cases
827 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
829 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
831 2004-06-17 Ravindra <rkumar@novell.com>
833 * graphicsUi.cs: Formatted and moved to
834 Samples/System.Drawing directory.
835 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
836 Samples/System.Drawing directory.
837 * hering.cs: Formatted and moved to Samples/General directory.
838 * BmpPaint.cs: Ficed, formatted and moved to
839 Samples/System.Drawing directory.
840 * font1.cs: Formatted and renamed to font.cs. Moved to
841 Samples/System.Drawing directory.
843 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
845 * TestBitmap.cs: Corrected issues from my previous checkin.
847 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
849 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
850 dependency on obsolete class, Assertion from NUnit.
852 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
854 * TestImageConverter.cs: Removed dependency on obsolete class,
855 Assertion from NUnit.
857 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
859 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
860 dependency on obsolete class, Assertion from NUnit.
862 2004-05-27 Ravindra <rkumar@novell.com>
864 * TestRectangleConverter.cs: Ignored the test that is failing
865 because of bug #58435.
866 * TestPointConverter.cs: Same.
867 * TestSizeConverter.cs: Same.
868 * TestImageConverter.cs: Same.
870 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
872 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
875 2004-05-26 Ravindra <rkumar@novell.com>
877 * TestColor.cs: Added a test for testing ARGB values for all
878 the static color properties.
880 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
882 * TestIcon.cs: Added.
883 * bitmaps/smiley.ico: Added.
885 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
887 * TestImageFormatConverter.cs: Fixed issues with test case.
889 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
891 * TestImageConverter.cs: Fixed issues with test case.
893 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
895 * TestIconConverter.cs: Fixed issues with test case.
897 2004-05-18 Ravindra <rkumar@novell.com>
899 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
900 this under Test/System.Drawing.Drawing2D directory.
902 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
904 * TestIconConverter.cs: Added.
905 * bitmaps/VisualPng.ico: Added
906 * bitmaps/VisualPng1.ico: Added
908 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
910 * TestBitmap.cs: Modified method signature to static to be used in other file.
911 * TestImageConverter.cs: Added.
912 * TestImageFormatConverter.cs: Added
914 2004-05-12 Jordi Mas <jordi@ximan.com>
915 * TestBitmap.cs: added lockbitmap tests
917 2004-05-07 Jordi Mas <jordi@ximan.com>
918 * TestBitmap.cs: added rotation tests
920 2004-04-23 Ravindra <rkumar@novell.com>
922 * TestSystemPens.cs: Removed some unused exception variables.
923 * TestRectangleConverter.cs: Removed culture dependent tests.
924 * TestPointConverter.cs: Removed culture dependent tests.
925 * TestSizeConverter.cs: Removed culture dependent tests.
926 (These tests were not right because a constant culture specific string
927 was being parsed by using current culture of the thread. It resulted in
928 test failures when cultures do not match.)
930 2004-04-22 Ravindra <rkumar@novell.com>
932 * TestPointConverter.cs: Added.
933 * TestSizeConverter.cs: Added.
935 2004-04-22 Ravindra <rkumar@novell.com>
937 * TestRectangleConverter.cs: Added.
939 2004-04-21 Ravindra <rkumar@novell.com>
941 * TestPens.cs: Added.
943 2004-04-21 Ravindra <rkumar@novell.com>
945 * TestBrushes.cs: Added.
947 2004-04-16 Ravindra <rkumar@novell.com>
949 * TestSystemPens.cs: Added.
951 2004-03-13 Ravindra <rkumar@novell.com>
953 * TestSystemBrushes.cs: Added test fail conditions.
955 2004-03-12 Ravindra <rkumar@novell.com>
957 * TestSystemBrushes.cs: Added.
959 2004-03-17 Ravindra <rkumar@novell.com>
960 * TestHatchBrush.cs: Added.
962 2004-01-26 Ravindra <rkumar@novell.com>
963 * TestPointF.cs: Added.
964 * TestSize.cs: Added.
967 2004-01-16 Ravindra <rkumar@novell.com>
968 * BmpPaint.cs did not run on .NET.
969 Modified to make it run on .NET. Specs say
970 "Do not save an image to the same stream
971 that was used to construct the image."
973 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
974 * BmpPaint.cs modified
976 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
977 * hering.cs save as Jpeg also
979 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
982 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
985 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
986 * BmpPaint.cs ImageFormat specified for Save()
989 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
992 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
994 * TestPoint.cs : Tests I've had in my node forever.