1 2008-06-27 Sebastien Pouliot <sebastien@ximian.com>
3 * TestRegion.cs: Add test case for #402613 to verify Exclude.
4 Based on Jan Krajicek's code supplied inside the bug report.
6 2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
8 * TestPointConverter.cs: Add test cases to verify that no NRE
9 is thrown if culture is null in ConvertTo.
10 * TestSizeConverter.cs: Add test cases to verify that no NRE
11 is thrown if culture is null in ConvertTo.
13 2008-04-25 Sebastien Pouliot <sebastien@ximian.com>
15 * TestRegion.cs: Add test cases for #383878 to verify Intersect
16 with negative width & height and to check against the crash in
19 2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
21 * TestIcon.cs: Add test case for #366485.
23 2008-01-21 Gert Driesen <drieseng@users.sourceforge.net>
25 * TestGraphics.cs: Added test for bug #355141.
27 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
29 * GDIPlusTest.cs: Don't use internal Unit enum anymore.
31 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
33 * TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
36 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
38 * TestGraphics.cs: Add test case on TransformPoints for #349800.
40 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
42 * GDIPlusTest.cs : fix test build.
44 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
46 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
48 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
50 * TestBitmap.cs: XML serialization test case (#323246).
51 * TestImage.cs: XML serialization test case (#323246).
53 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
55 * Image.cs: Add test cases for the stream position when loading and
56 saving bitmaps and metafiles. Some of them are based on Gert Driesen
59 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
61 * TestGraphics.cs: Test against NRE in MultiplyTransform
63 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
65 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
66 now that #81572 is fixed.
68 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
70 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
72 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
74 * TextureBrushTest.cs: Added test cases for textures using alpha
77 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
79 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
81 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
83 * RegionNonRectTest.cs: Add test cases for combining empty paths and
84 regions with infinite regions.
86 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
88 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
90 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
92 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
93 methods. Add test case for drawing lines with a pen's width > 1.
95 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
97 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
98 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
99 the saved bitmap (used for debugging).
101 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
103 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
105 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
107 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
108 cases as it's not supported in libgdiplus.
110 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
112 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
113 Point or PointF arrays as destination points.
115 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
117 * TestGraphics.cs: Add test cases for the normal behaviour of
120 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
122 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
123 NULL. This match MS behavior as seen in (unfixed) bug #81709.
125 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
127 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
128 pointer correctly in 64bits architectures. Thanks to Zoltan.
130 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
132 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
133 GdipDrawImageRectRect (GraphicsUnit).
134 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
135 DrawImageUnscaledAndClipped (2.0).
136 * TestRectangle.cs: Add test cases for negative width/height. Fix some
137 test cases that were using RectangleF instead of Rectangle.
138 * TestRectangleF.cs: Add test cases for negative width/height.
140 2007-05-08 Everaldo Canuto <everaldo@simios.org>
142 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
143 it is a reproduction of bug #81572 that checks width for multiline
146 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
148 * TestColor.cs: Under Windows ensure we're getting the same values for
151 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
153 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
154 and it's parameter's validations.
156 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
158 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
159 reworked LockUnlockBitmap (e.g. add assert messages).
161 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
163 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
164 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
165 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
166 Format16bppGrayScale.
168 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
170 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
173 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
175 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
176 if in particular case (it doesn't). Added Categoty("Valgrind") to a
177 test know to leak due to the API design.
179 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
181 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
182 the data when using ImageLockMode.ReadOnly (this makes some results
183 random when using MS GDI+).
185 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
187 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
188 (without unlocking it first).
189 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
190 returns a named color and a unnamed color.
191 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
192 two additionnal test cases for LockBits, Double locks (exception) and
193 invalid ImageLockMode (no exception).
195 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
197 * TestColor.cs: Add a few more test cases for ==, != and Equals
199 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
201 * ColorConverter.cs: Add test case with a null CultureInfo for
203 * ColorTranslator.cs: Add test cases with known values for FromHtml
204 * TestColor.cs: Made some test clearer about what they do/check.
206 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
208 * TestFont.cs: Add test cases for GetHeight(Graphics) and
209 GetHeight(float) methods.
211 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
213 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
214 crash libgdiplus if it's not updated to the latest svn revision).
215 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
216 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
218 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
220 * TestFont.cs: Add a test for exception thrown when an unavailable font
221 style is requested. (Marked NotWorking due to being platform specific.)
223 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
225 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
226 available on the system.
228 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
230 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
231 the test cases are now working properly.
232 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
234 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
236 * TestImage.cs: Add test cases for loading invalid files as an Image.
238 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
240 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
241 * TestImage.cs: Add test cases for loading metafile as Image.
243 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
245 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
248 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
250 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
251 for TARGET_JVM with not supported method calls
253 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
255 * SystemFontsTest.cs: Add more tests cases including disposing the
256 font instance returned by the SystemFonts class.
258 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
260 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
261 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
263 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
265 * ColorConverter.cs: Rename fixture to match our styleguide.
266 * ColorTranslator.cs: Rename fixture to match our styleguide.
268 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
270 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
273 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
275 * TestRegion.cs: Add test cases for matrix operations on infinite
276 regions (result is always an infinite region). Add test cases for
277 scale and scale+translate on regions (to see that they do not trigger
278 a convertion into bitmap-based regions).
280 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
282 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
283 and for checking clip bounds after operation on world tranformations.
285 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
287 * TestGraphics.cs: Add test case for trailing spaces when calling
288 MeasureString. #80680
290 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
292 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
293 serialization, which "works" under 2.0 but not under 1.1.
294 * TestImage.cs: Add test case for XmlSerializer on Image type, which
295 "works" under 2.0 but not under 1.1.
297 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
299 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
300 which use a decoder-only codec.
302 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
304 * GDIPlusTest.cs: Add test cases for loading unexisting files in
305 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
306 for error code returned by GdipGetImageGraphicsContext for indexed
309 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
311 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
312 implementation leads to false conclusions. MS GDI+ upgrades the
313 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
314 possible to create a Graphics from them.
315 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
316 under MS 1.x with ArgumentNullException.
318 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
320 * TestBitmap.cs: Added test case to create multiple bitmaps from a
322 * TestIcon.cs: Added test cases to create multiple icons from a
323 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
325 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
327 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
328 coexists in the same icon file.
330 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
332 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
333 11x22, to test for non perfect match icon selection.
334 * TestImage.cs: Add test cases for locked/unlocked streams when using
335 GDI+ (e.g. Mono running on Windows).
337 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
339 * TestIcon.cs: Add test cases for XP (32bpp) icons.
341 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
343 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
344 GetHbitmap and FromHbitmap.
345 * TestIcon.cs: Add test cases for all constructors. Add test cases for
346 saving icons (all sizes). Add test cases for roundtripping icons using
349 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
351 * GDIPlusTest.cs: Add test case for loading an icon and playing with
353 * TestIcon.cs: Add test cases for different sizes of icons.
355 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
357 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
358 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
360 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
361 specific, ignored test case.
363 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
365 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
366 on Linux MS Sans Sarif is mapped to other available font.
368 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
370 * SystemFontsTest.cs: Added test for DefaultFont.
372 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
374 * TestBrushes.cs: Ensure that the unit tests are destructive on the
375 brushes (since you can change their color and dispose them). Now only
376 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
377 any other unit test that use Brushes.* executed after this one.
379 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
381 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
383 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
385 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
386 icons provided here behave differently than normal icons (can't be
389 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
391 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
392 names, currently not working), GetStandardValuesSupported and
393 GetStandardValues methods.
395 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
397 * TestGraphics.cs: Add new MeasureString test cases.
398 * TestRectangle.cs: Add unit tests for == and != operators. Update
399 tests to NUnit 2.2 syntax.
400 * TestRectangleF.cs: Add unit tests for == and != operators. Update
401 tests to NUnit 2.2 syntax.
403 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
405 * TestGraphics.cs: Ignore new test cases when font is null (not
406 available). Add pixel size compares to MeasureString_Bug76664.
408 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
410 * TestGraphics.cs: Added test case to measure strings, some aren't yet
411 working. Modified some to get better checks (e.g. Int32.MaxValue for
414 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
416 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
418 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
420 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
421 tests dynamically (when fonts aren't installed).
423 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
425 * TestGraphics.cs: Added test cases for bug #77699 (with and without
428 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
430 * TestStringFormat.cs: fix build for TARGET_JVM.
432 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
434 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
435 like handling bad ranges (start, length) and hotkey prefix handling.
437 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
439 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
440 GdipSetStringFormatTabStops functions.
441 * TestStringFormat.cs: Added a more complex test case for Clone.
443 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
445 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
446 StringFormat functions.
447 * TestGraphics.cs: Avoid test cases failure if the font object can't
448 be created during fixture's setup.
449 * TestStringFormat.cs: Increased coverage of the unit tests.
451 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
453 * TestGraphics.cs: Add test cases for MeasureString and
454 MeasureCharacterRanges methods.
456 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
458 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
459 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
462 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
464 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
465 test. The test is bad because sometimes it uses Size instead of SizeF.
467 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
469 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
471 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
473 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
474 * TestImageConverter.cs: Added a test case when value is null (should
475 return "(none)"). Uncommented and splitted all exception test cases
476 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
478 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
480 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
481 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
483 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
485 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
486 seems to work only when the destination format is 32 bits.
488 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
490 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
492 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
494 * TextureBrushTest.cs: More test cases when only a partial part of the
495 image is being used and for cloning the brush.
497 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
499 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
500 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
502 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
504 * ColorConverter.cs: Add a new test case for a color with a integer
505 part that is too large to convert into an int.
506 * ColorTranslator.cs: Add more test cases for FromHtml method.
508 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
510 * GDIPlusTest.cs: Fix ImageAttributes test case.
511 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
513 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
515 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
516 Added new test cases for ImageAttributes. Removed some assertion for
517 GpGraphicsPath (which returns different value on monobuild win32 bot
518 than my own machine, uninit field ?).
520 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
522 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
523 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
525 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
527 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
529 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
531 * GDIPlusTest.cs: Added more test cases for Matrix functions.
533 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
535 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
538 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
540 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
542 * TestFont.cs: Ignore test cases if we cannot get any font family
545 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
547 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
548 struct like it's currently defined inside SD).
550 2006-08-12 Duncan Mak <duncan@novell.com>
552 * GDIPlusTest.cs: Removed all the local PInvoke methods.
553 (DrawingOperations): New test for various draw and fill operations
556 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
558 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
559 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
560 executes under Windows (GDI+);
561 * TestFont.cs: Added more test cases for ToLogFont including one that
562 shows that LOGFONT only works properly when it's a class (not a struct)
564 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
566 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
567 PathGradientBrush to fix unit tests under Windows.
568 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
569 fail when using MS GDI+ (e.g. Mono on Windows).
571 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
573 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
574 Widen) and some new tests for Matrix related GDI+ functions.
576 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
578 * TestRegion.cs: Add test case for excluding a rectangle from an
581 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
583 * GDIPlusTest.cs: Avoid leaking during tests.
585 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
587 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
590 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
592 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
593 Pen related GDI+ calls.
595 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
597 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
598 fixes some unit test failures seen with Mono running on Windows).
600 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
602 * TestFont.cs: Remove asserts that are system dependant.
604 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
606 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
608 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
610 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
611 * TestImage.cs: Added checks to validate that the thumbnail's callback
614 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
616 * SolidBrushTest.cs: New test case using DrawLine.
618 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
620 * TestImage.cs: Add test cases for GetThumbnailImage.
622 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
624 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
626 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
628 * TestFont.cs: Expanded a test case to check for bug #78721 where the
629 LOGFONT structure must be initialized even if the ToLogFont call fails
631 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
633 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
634 add a comment on a commented one (MakeTransparent ;-)
636 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
638 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
640 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
642 * TestColor.cs: added 2 more tests for serialization and enabled one
643 that was not working.
645 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
647 * FontFamilyTest.cs: New. Unit tests for FontFamily.
648 * TestFont.cs: Added more test cases to Font.
650 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
652 * TestImageFormatConverter.cs: Added test cases for all well known
653 ImageFormat short and long names using ConvertFrom.
655 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
657 * TestColor.cs: Added test cases for serialization. Currently we can't
658 deserialize Color coming from MS serialization.
660 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
662 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
663 permission and test the [Get|From]Hrgn methods.
665 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
667 * TestBitmap.cs: new tests for the default format and the default file
670 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
672 * ColorConverter.cs: Split unworking test case from ConvertFrom into
673 a separate test case (marked as NotWorking).
674 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
675 probably never tested under Windows (and doesn't work there).
676 * TestFontConverter.cs: Split test case for CreateInstance to check
677 for ArgumentException (2.0) or NullReferenceException (1.x).
678 * TestPointConverter.cs: Split test case for CreateInstance to check
679 for ArgumentException (2.0) or NullReferenceException (1.x).
680 * TestRectangleConverter.cs: Split test case for CreateInstance to
681 check for ArgumentException (2.0) or NullReferenceException (1.x).
682 * TestSizeConverter.cs: Split test case for CreateInstance to check
683 for ArgumentException (2.0) or NullReferenceException (1.x).
684 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
685 check for InvalidCastException and NullReferenceException.
686 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
687 Empty and SizeF(0,0) don't share the same hash code.
689 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
691 * TestImageConverter.cs: Adjust test cases as there is an additional
692 properties under 2.0.
693 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
695 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
697 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
698 * TestFont.cs: Fix tests under Windows (CAS related);
699 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
701 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
703 * PenTest.cs: Added a test case where the brush supplied to the .ctor
704 is disposed before the pen is used. Based on a sample from Paddy joy.
706 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
708 * PenTest.cs: New. Unit tests for Pen.
710 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
712 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
714 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
716 * TestRegion.cs: Added a new test case for unioning a rectangle with
717 infinity and a new test case for GetRegionScans.
719 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
721 * TestGraphics.cs: Re-introduce the removed check :)
723 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
725 * TestGraphics.cs: Temporarily remove the checks for the transform in
726 containers. This allows libgdiplus to get better visual results until
727 the matrix issue is fixed correctly (instead of returning the "right"
728 matrix and displaying wrong data).
730 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
732 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
733 for Save and Restore methods.
735 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
737 * TestGraphics.cs: Added new test cases for DrawCurve methods.
739 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
741 * TestBitmap.cs: added tests for UnlockBits when the target is an
742 indexed image and a non-indexed one.
744 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
746 * TestGraphics.cs: Added new test cases for clipping. Some of them do
749 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
751 * TestGraphics.cs: Added new test cases for bug #77129 where we should
752 not draw or fill rectangle(s) with negative width or height. Converted
753 all test cases to UNIX line endings.
755 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
757 * TestGraphics.cs: Added new test cases translating matrix with
758 different MatrixOrder and for multiplying a non-invertible matrix.
760 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
762 * TestGraphics.cs: Add new test cases for clipping.
764 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
766 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
767 path-based (using bitmaps in libgdiplus) and for regions that had a
768 binary operations applied (i.e. using a path tree in libgdiplus).
769 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
770 binary operators (Union, Intersection, Complement, Exclude and Xor)
771 on path based regions (using bitmaps in libgdiplus).
773 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
775 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
776 the appropriate size on each system
778 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
780 * RegionNonRectTest.cs: Updated comments on a test that fails on both
781 1.x and 2.0 MS runtime.
782 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
785 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
786 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
787 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
788 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
789 added #ifdef for TARGET_JVM.
791 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
792 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
794 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
796 * RegionDataTest.cs: New. Unit tests for RegionData.
797 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
798 * TestRegion.cs: Added new test cases for empty region and IsInfinite
799 behaviour with multiple rectangles / path-rectangle regions.
801 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
803 * TestRegion.cs: Mark a test case as NotWorking as it caused a
806 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
808 * RegionCas.cs: New. CAS unit tests for Region.
809 * TestRegion.cs: Added test cases to check for expected exceptions.
811 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
813 * TestFont.cs: Added test for LogFont conversion
815 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
817 * TestPoint.cs: Test new methods for .Net 2.0
818 * TestPointF.cs Test new methods for .Net 2.0
819 * ColorConverter.cs: Fixes for .Net 2.0
820 * TestSizeF.cs: Test new methods for .Net 2.0
821 * TestSize.cs: Test new methods for .Net 2.0
823 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
825 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
826 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
829 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
831 * ColorConverter.cs: added testcases for ConvertFrom and
832 three digit notaion color.
834 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
836 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
837 of indexed (1- and 4-bit) Bitmaps.
838 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
840 2005-09-19 Miguel de Icaza <miguel@novell.com>
842 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
844 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
846 * BitmapCas.cs: New. CAS unit tests for Bitmap.
847 * GraphicsCas.cs: New. CAS unit tests for Graphics.
848 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
849 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
850 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
851 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
852 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
853 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
854 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
855 UnmanagedCode permission to all tests. This shows (when executed under
856 MS runtime) that S.D API is safe and doesn't requires high privileges
857 to run - even if we know that, deep down, this calls into GDI+.
859 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
861 * TestGraphics.cs: Adds default properties, properties set/get and save
862 and restore status test
864 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
866 * TestGraphics.cs: resets graphics object status before every SetClip test
868 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
870 * TestImageConverter.cs: Re-enabled GetProperties test.
871 * TestPointConverter.cs: same.
872 * TestRectangleConverter.cs: same.
873 * TestSizeConverter.cs: same.
875 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
877 * TestImagge.cs: File not found exception, related to fix r49744
878 * TestBimap.cs: File not found exception, related to fix r49744
880 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
882 * TestGraphics.cs: New test case, only clipping for now
884 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
886 * TestPointConverter.cs: Use Assert class instead of deriving from
887 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
888 * TestRectangleConverter.cs: same.
889 * TestSizeConverter.cs: same.
891 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
893 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
896 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
898 * TestPens.cs: Add test for Equals method
899 * TestBrushes.cs: Add test for Equals method
901 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
903 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
904 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
905 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
906 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
908 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
910 * TestRegion.cs: Adds many new cases for the new region implementation
912 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
914 * ColorConverter.cs: Mono now also throws ArgumentException when
915 color value is not between 0 and 255.
916 * TestColor.cs: Added tests for invalid color values.
917 * TestRectangleConverter.cs: Fixed tests for conversion to/from
918 string. Added tests that verify results using specific cultures.
920 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
922 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
923 tests using current culture.
924 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
927 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
929 * TestColor.cs: Added test for ToString() on uninitialized color.
930 * TestColorConverter.cs: Added tests for ColorConverter.
932 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
934 * TestRegion.cs: new cases for Combine and Intersect
936 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
938 * TestRectangle.cs: Add new test.
940 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
942 * ColorConverter.cs, ColorTranslator.cs: added
943 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
944 tests for convert to/from string
946 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
948 * Color.cs: many new testcases added
950 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
952 * Size.cs, SizeF.cs: GetHashCode and ToString tests
954 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
956 * TestRectangle.cs, TestRectangleF.cs: add new testcases
958 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
960 * TestPoint.cs: GetHashCode and ToString tests added
961 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
964 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
966 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
967 the original stack trace.
969 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
971 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
972 tests to use tolerance.
974 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
976 * TestColor.cs: Added tests for GetHue, GetBrightness
979 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
980 * TestRegion.cs: added new IsVisible cases
982 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
984 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
986 2004-06-17 Ravindra <rkumar@novell.com>
988 * graphicsUi.cs: Formatted and moved to
989 Samples/System.Drawing directory.
990 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
991 Samples/System.Drawing directory.
992 * hering.cs: Formatted and moved to Samples/General directory.
993 * BmpPaint.cs: Ficed, formatted and moved to
994 Samples/System.Drawing directory.
995 * font1.cs: Formatted and renamed to font.cs. Moved to
996 Samples/System.Drawing directory.
998 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
1000 * TestBitmap.cs: Corrected issues from my previous checkin.
1002 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
1004 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
1005 dependency on obsolete class, Assertion from NUnit.
1007 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1009 * TestImageConverter.cs: Removed dependency on obsolete class,
1010 Assertion from NUnit.
1012 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1014 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
1015 dependency on obsolete class, Assertion from NUnit.
1017 2004-05-27 Ravindra <rkumar@novell.com>
1019 * TestRectangleConverter.cs: Ignored the test that is failing
1020 because of bug #58435.
1021 * TestPointConverter.cs: Same.
1022 * TestSizeConverter.cs: Same.
1023 * TestImageConverter.cs: Same.
1025 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1027 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
1030 2004-05-26 Ravindra <rkumar@novell.com>
1032 * TestColor.cs: Added a test for testing ARGB values for all
1033 the static color properties.
1035 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1037 * TestIcon.cs: Added.
1038 * bitmaps/smiley.ico: Added.
1040 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1042 * TestImageFormatConverter.cs: Fixed issues with test case.
1044 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1046 * TestImageConverter.cs: Fixed issues with test case.
1048 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1050 * TestIconConverter.cs: Fixed issues with test case.
1052 2004-05-18 Ravindra <rkumar@novell.com>
1054 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1055 this under Test/System.Drawing.Drawing2D directory.
1057 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1059 * TestIconConverter.cs: Added.
1060 * bitmaps/VisualPng.ico: Added
1061 * bitmaps/VisualPng1.ico: Added
1063 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1065 * TestBitmap.cs: Modified method signature to static to be used in other file.
1066 * TestImageConverter.cs: Added.
1067 * TestImageFormatConverter.cs: Added
1069 2004-05-12 Jordi Mas <jordi@ximan.com>
1070 * TestBitmap.cs: added lockbitmap tests
1072 2004-05-07 Jordi Mas <jordi@ximan.com>
1073 * TestBitmap.cs: added rotation tests
1075 2004-04-23 Ravindra <rkumar@novell.com>
1077 * TestSystemPens.cs: Removed some unused exception variables.
1078 * TestRectangleConverter.cs: Removed culture dependent tests.
1079 * TestPointConverter.cs: Removed culture dependent tests.
1080 * TestSizeConverter.cs: Removed culture dependent tests.
1081 (These tests were not right because a constant culture specific string
1082 was being parsed by using current culture of the thread. It resulted in
1083 test failures when cultures do not match.)
1085 2004-04-22 Ravindra <rkumar@novell.com>
1087 * TestPointConverter.cs: Added.
1088 * TestSizeConverter.cs: Added.
1090 2004-04-22 Ravindra <rkumar@novell.com>
1092 * TestRectangleConverter.cs: Added.
1094 2004-04-21 Ravindra <rkumar@novell.com>
1096 * TestPens.cs: Added.
1098 2004-04-21 Ravindra <rkumar@novell.com>
1100 * TestBrushes.cs: Added.
1102 2004-04-16 Ravindra <rkumar@novell.com>
1104 * TestSystemPens.cs: Added.
1106 2004-03-13 Ravindra <rkumar@novell.com>
1108 * TestSystemBrushes.cs: Added test fail conditions.
1110 2004-03-12 Ravindra <rkumar@novell.com>
1112 * TestSystemBrushes.cs: Added.
1114 2004-03-17 Ravindra <rkumar@novell.com>
1115 * TestHatchBrush.cs: Added.
1117 2004-01-26 Ravindra <rkumar@novell.com>
1118 * TestPointF.cs: Added.
1119 * TestSize.cs: Added.
1122 2004-01-16 Ravindra <rkumar@novell.com>
1123 * BmpPaint.cs did not run on .NET.
1124 Modified to make it run on .NET. Specs say
1125 "Do not save an image to the same stream
1126 that was used to construct the image."
1128 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1129 * BmpPaint.cs modified
1131 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1132 * hering.cs save as Jpeg also
1134 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1137 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1140 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1141 * BmpPaint.cs ImageFormat specified for Save()
1144 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1147 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1149 * TestPoint.cs : Tests I've had in my node forever.