1 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
3 * GDIPlusTest.cs : fix test build.
5 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
7 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
9 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
11 * TestBitmap.cs: XML serialization test case (#323246).
12 * TestImage.cs: XML serialization test case (#323246).
14 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
16 * Image.cs: Add test cases for the stream position when loading and
17 saving bitmaps and metafiles. Some of them are based on Gert Driesen
20 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
22 * TestGraphics.cs: Test against NRE in MultiplyTransform
24 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
26 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
27 now that #81572 is fixed.
29 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
31 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
33 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
35 * TextureBrushTest.cs: Added test cases for textures using alpha
38 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
40 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
42 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
44 * RegionNonRectTest.cs: Add test cases for combining empty paths and
45 regions with infinite regions.
47 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
49 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
51 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
53 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
54 methods. Add test case for drawing lines with a pen's width > 1.
56 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
58 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
59 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
60 the saved bitmap (used for debugging).
62 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
64 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
66 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
68 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
69 cases as it's not supported in libgdiplus.
71 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
73 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
74 Point or PointF arrays as destination points.
76 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
78 * TestGraphics.cs: Add test cases for the normal behaviour of
81 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
83 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
84 NULL. This match MS behavior as seen in (unfixed) bug #81709.
86 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
88 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
89 pointer correctly in 64bits architectures. Thanks to Zoltan.
91 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
93 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
94 GdipDrawImageRectRect (GraphicsUnit).
95 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
96 DrawImageUnscaledAndClipped (2.0).
97 * TestRectangle.cs: Add test cases for negative width/height. Fix some
98 test cases that were using RectangleF instead of Rectangle.
99 * TestRectangleF.cs: Add test cases for negative width/height.
101 2007-05-08 Everaldo Canuto <everaldo@simios.org>
103 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
104 it is a reproduction of bug #81572 that checks width for multiline
107 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
109 * TestColor.cs: Under Windows ensure we're getting the same values for
112 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
114 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
115 and it's parameter's validations.
117 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
119 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
120 reworked LockUnlockBitmap (e.g. add assert messages).
122 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
124 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
125 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
126 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
127 Format16bppGrayScale.
129 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
131 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
134 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
136 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
137 if in particular case (it doesn't). Added Categoty("Valgrind") to a
138 test know to leak due to the API design.
140 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
142 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
143 the data when using ImageLockMode.ReadOnly (this makes some results
144 random when using MS GDI+).
146 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
148 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
149 (without unlocking it first).
150 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
151 returns a named color and a unnamed color.
152 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
153 two additionnal test cases for LockBits, Double locks (exception) and
154 invalid ImageLockMode (no exception).
156 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
158 * TestColor.cs: Add a few more test cases for ==, != and Equals
160 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
162 * ColorConverter.cs: Add test case with a null CultureInfo for
164 * ColorTranslator.cs: Add test cases with known values for FromHtml
165 * TestColor.cs: Made some test clearer about what they do/check.
167 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
169 * TestFont.cs: Add test cases for GetHeight(Graphics) and
170 GetHeight(float) methods.
172 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
174 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
175 crash libgdiplus if it's not updated to the latest svn revision).
176 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
177 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
179 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
181 * TestFont.cs: Add a test for exception thrown when an unavailable font
182 style is requested. (Marked NotWorking due to being platform specific.)
184 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
186 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
187 available on the system.
189 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
191 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
192 the test cases are now working properly.
193 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
195 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
197 * TestImage.cs: Add test cases for loading invalid files as an Image.
199 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
201 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
202 * TestImage.cs: Add test cases for loading metafile as Image.
204 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
206 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
209 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
211 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
212 for TARGET_JVM with not supported method calls
214 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
216 * SystemFontsTest.cs: Add more tests cases including disposing the
217 font instance returned by the SystemFonts class.
219 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
221 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
222 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
224 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
226 * ColorConverter.cs: Rename fixture to match our styleguide.
227 * ColorTranslator.cs: Rename fixture to match our styleguide.
229 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
231 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
234 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
236 * TestRegion.cs: Add test cases for matrix operations on infinite
237 regions (result is always an infinite region). Add test cases for
238 scale and scale+translate on regions (to see that they do not trigger
239 a convertion into bitmap-based regions).
241 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
243 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
244 and for checking clip bounds after operation on world tranformations.
246 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
248 * TestGraphics.cs: Add test case for trailing spaces when calling
249 MeasureString. #80680
251 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
253 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
254 serialization, which "works" under 2.0 but not under 1.1.
255 * TestImage.cs: Add test case for XmlSerializer on Image type, which
256 "works" under 2.0 but not under 1.1.
258 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
260 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
261 which use a decoder-only codec.
263 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
265 * GDIPlusTest.cs: Add test cases for loading unexisting files in
266 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
267 for error code returned by GdipGetImageGraphicsContext for indexed
270 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
272 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
273 implementation leads to false conclusions. MS GDI+ upgrades the
274 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
275 possible to create a Graphics from them.
276 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
277 under MS 1.x with ArgumentNullException.
279 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
281 * TestBitmap.cs: Added test case to create multiple bitmaps from a
283 * TestIcon.cs: Added test cases to create multiple icons from a
284 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
286 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
288 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
289 coexists in the same icon file.
291 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
293 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
294 11x22, to test for non perfect match icon selection.
295 * TestImage.cs: Add test cases for locked/unlocked streams when using
296 GDI+ (e.g. Mono running on Windows).
298 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
300 * TestIcon.cs: Add test cases for XP (32bpp) icons.
302 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
304 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
305 GetHbitmap and FromHbitmap.
306 * TestIcon.cs: Add test cases for all constructors. Add test cases for
307 saving icons (all sizes). Add test cases for roundtripping icons using
310 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
312 * GDIPlusTest.cs: Add test case for loading an icon and playing with
314 * TestIcon.cs: Add test cases for different sizes of icons.
316 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
318 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
319 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
321 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
322 specific, ignored test case.
324 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
326 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
327 on Linux MS Sans Sarif is mapped to other available font.
329 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
331 * SystemFontsTest.cs: Added test for DefaultFont.
333 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
335 * TestBrushes.cs: Ensure that the unit tests are destructive on the
336 brushes (since you can change their color and dispose them). Now only
337 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
338 any other unit test that use Brushes.* executed after this one.
340 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
342 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
344 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
346 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
347 icons provided here behave differently than normal icons (can't be
350 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
352 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
353 names, currently not working), GetStandardValuesSupported and
354 GetStandardValues methods.
356 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
358 * TestGraphics.cs: Add new MeasureString test cases.
359 * TestRectangle.cs: Add unit tests for == and != operators. Update
360 tests to NUnit 2.2 syntax.
361 * TestRectangleF.cs: Add unit tests for == and != operators. Update
362 tests to NUnit 2.2 syntax.
364 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
366 * TestGraphics.cs: Ignore new test cases when font is null (not
367 available). Add pixel size compares to MeasureString_Bug76664.
369 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
371 * TestGraphics.cs: Added test case to measure strings, some aren't yet
372 working. Modified some to get better checks (e.g. Int32.MaxValue for
375 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
377 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
379 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
381 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
382 tests dynamically (when fonts aren't installed).
384 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
386 * TestGraphics.cs: Added test cases for bug #77699 (with and without
389 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
391 * TestStringFormat.cs: fix build for TARGET_JVM.
393 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
395 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
396 like handling bad ranges (start, length) and hotkey prefix handling.
398 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
400 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
401 GdipSetStringFormatTabStops functions.
402 * TestStringFormat.cs: Added a more complex test case for Clone.
404 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
406 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
407 StringFormat functions.
408 * TestGraphics.cs: Avoid test cases failure if the font object can't
409 be created during fixture's setup.
410 * TestStringFormat.cs: Increased coverage of the unit tests.
412 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
414 * TestGraphics.cs: Add test cases for MeasureString and
415 MeasureCharacterRanges methods.
417 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
419 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
420 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
423 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
425 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
426 test. The test is bad because sometimes it uses Size instead of SizeF.
428 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
430 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
432 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
434 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
435 * TestImageConverter.cs: Added a test case when value is null (should
436 return "(none)"). Uncommented and splitted all exception test cases
437 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
439 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
441 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
442 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
444 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
446 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
447 seems to work only when the destination format is 32 bits.
449 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
451 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
453 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
455 * TextureBrushTest.cs: More test cases when only a partial part of the
456 image is being used and for cloning the brush.
458 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
460 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
461 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
463 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
465 * ColorConverter.cs: Add a new test case for a color with a integer
466 part that is too large to convert into an int.
467 * ColorTranslator.cs: Add more test cases for FromHtml method.
469 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
471 * GDIPlusTest.cs: Fix ImageAttributes test case.
472 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
474 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
476 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
477 Added new test cases for ImageAttributes. Removed some assertion for
478 GpGraphicsPath (which returns different value on monobuild win32 bot
479 than my own machine, uninit field ?).
481 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
483 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
484 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
486 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
488 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
490 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
492 * GDIPlusTest.cs: Added more test cases for Matrix functions.
494 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
496 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
499 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
501 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
503 * TestFont.cs: Ignore test cases if we cannot get any font family
506 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
508 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
509 struct like it's currently defined inside SD).
511 2006-08-12 Duncan Mak <duncan@novell.com>
513 * GDIPlusTest.cs: Removed all the local PInvoke methods.
514 (DrawingOperations): New test for various draw and fill operations
517 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
519 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
520 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
521 executes under Windows (GDI+);
522 * TestFont.cs: Added more test cases for ToLogFont including one that
523 shows that LOGFONT only works properly when it's a class (not a struct)
525 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
527 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
528 PathGradientBrush to fix unit tests under Windows.
529 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
530 fail when using MS GDI+ (e.g. Mono on Windows).
532 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
534 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
535 Widen) and some new tests for Matrix related GDI+ functions.
537 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
539 * TestRegion.cs: Add test case for excluding a rectangle from an
542 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
544 * GDIPlusTest.cs: Avoid leaking during tests.
546 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
548 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
551 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
553 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
554 Pen related GDI+ calls.
556 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
558 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
559 fixes some unit test failures seen with Mono running on Windows).
561 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
563 * TestFont.cs: Remove asserts that are system dependant.
565 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
567 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
569 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
571 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
572 * TestImage.cs: Added checks to validate that the thumbnail's callback
575 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
577 * SolidBrushTest.cs: New test case using DrawLine.
579 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
581 * TestImage.cs: Add test cases for GetThumbnailImage.
583 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
585 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
587 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
589 * TestFont.cs: Expanded a test case to check for bug #78721 where the
590 LOGFONT structure must be initialized even if the ToLogFont call fails
592 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
594 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
595 add a comment on a commented one (MakeTransparent ;-)
597 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
599 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
601 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
603 * TestColor.cs: added 2 more tests for serialization and enabled one
604 that was not working.
606 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
608 * FontFamilyTest.cs: New. Unit tests for FontFamily.
609 * TestFont.cs: Added more test cases to Font.
611 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
613 * TestImageFormatConverter.cs: Added test cases for all well known
614 ImageFormat short and long names using ConvertFrom.
616 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
618 * TestColor.cs: Added test cases for serialization. Currently we can't
619 deserialize Color coming from MS serialization.
621 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
623 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
624 permission and test the [Get|From]Hrgn methods.
626 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
628 * TestBitmap.cs: new tests for the default format and the default file
631 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
633 * ColorConverter.cs: Split unworking test case from ConvertFrom into
634 a separate test case (marked as NotWorking).
635 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
636 probably never tested under Windows (and doesn't work there).
637 * TestFontConverter.cs: Split test case for CreateInstance to check
638 for ArgumentException (2.0) or NullReferenceException (1.x).
639 * TestPointConverter.cs: Split test case for CreateInstance to check
640 for ArgumentException (2.0) or NullReferenceException (1.x).
641 * TestRectangleConverter.cs: Split test case for CreateInstance to
642 check for ArgumentException (2.0) or NullReferenceException (1.x).
643 * TestSizeConverter.cs: Split test case for CreateInstance to check
644 for ArgumentException (2.0) or NullReferenceException (1.x).
645 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
646 check for InvalidCastException and NullReferenceException.
647 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
648 Empty and SizeF(0,0) don't share the same hash code.
650 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
652 * TestImageConverter.cs: Adjust test cases as there is an additional
653 properties under 2.0.
654 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
656 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
658 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
659 * TestFont.cs: Fix tests under Windows (CAS related);
660 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
662 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
664 * PenTest.cs: Added a test case where the brush supplied to the .ctor
665 is disposed before the pen is used. Based on a sample from Paddy joy.
667 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
669 * PenTest.cs: New. Unit tests for Pen.
671 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
673 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
675 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
677 * TestRegion.cs: Added a new test case for unioning a rectangle with
678 infinity and a new test case for GetRegionScans.
680 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
682 * TestGraphics.cs: Re-introduce the removed check :)
684 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
686 * TestGraphics.cs: Temporarily remove the checks for the transform in
687 containers. This allows libgdiplus to get better visual results until
688 the matrix issue is fixed correctly (instead of returning the "right"
689 matrix and displaying wrong data).
691 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
693 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
694 for Save and Restore methods.
696 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
698 * TestGraphics.cs: Added new test cases for DrawCurve methods.
700 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
702 * TestBitmap.cs: added tests for UnlockBits when the target is an
703 indexed image and a non-indexed one.
705 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
707 * TestGraphics.cs: Added new test cases for clipping. Some of them do
710 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
712 * TestGraphics.cs: Added new test cases for bug #77129 where we should
713 not draw or fill rectangle(s) with negative width or height. Converted
714 all test cases to UNIX line endings.
716 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
718 * TestGraphics.cs: Added new test cases translating matrix with
719 different MatrixOrder and for multiplying a non-invertible matrix.
721 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
723 * TestGraphics.cs: Add new test cases for clipping.
725 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
727 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
728 path-based (using bitmaps in libgdiplus) and for regions that had a
729 binary operations applied (i.e. using a path tree in libgdiplus).
730 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
731 binary operators (Union, Intersection, Complement, Exclude and Xor)
732 on path based regions (using bitmaps in libgdiplus).
734 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
736 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
737 the appropriate size on each system
739 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
741 * RegionNonRectTest.cs: Updated comments on a test that fails on both
742 1.x and 2.0 MS runtime.
743 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
746 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
747 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
748 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
749 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
750 added #ifdef for TARGET_JVM.
752 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
753 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
755 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
757 * RegionDataTest.cs: New. Unit tests for RegionData.
758 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
759 * TestRegion.cs: Added new test cases for empty region and IsInfinite
760 behaviour with multiple rectangles / path-rectangle regions.
762 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
764 * TestRegion.cs: Mark a test case as NotWorking as it caused a
767 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
769 * RegionCas.cs: New. CAS unit tests for Region.
770 * TestRegion.cs: Added test cases to check for expected exceptions.
772 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
774 * TestFont.cs: Added test for LogFont conversion
776 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
778 * TestPoint.cs: Test new methods for .Net 2.0
779 * TestPointF.cs Test new methods for .Net 2.0
780 * ColorConverter.cs: Fixes for .Net 2.0
781 * TestSizeF.cs: Test new methods for .Net 2.0
782 * TestSize.cs: Test new methods for .Net 2.0
784 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
786 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
787 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
790 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
792 * ColorConverter.cs: added testcases for ConvertFrom and
793 three digit notaion color.
795 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
797 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
798 of indexed (1- and 4-bit) Bitmaps.
799 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
801 2005-09-19 Miguel de Icaza <miguel@novell.com>
803 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
805 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
807 * BitmapCas.cs: New. CAS unit tests for Bitmap.
808 * GraphicsCas.cs: New. CAS unit tests for Graphics.
809 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
810 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
811 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
812 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
813 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
814 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
815 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
816 UnmanagedCode permission to all tests. This shows (when executed under
817 MS runtime) that S.D API is safe and doesn't requires high privileges
818 to run - even if we know that, deep down, this calls into GDI+.
820 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
822 * TestGraphics.cs: Adds default properties, properties set/get and save
823 and restore status test
825 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
827 * TestGraphics.cs: resets graphics object status before every SetClip test
829 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
831 * TestImageConverter.cs: Re-enabled GetProperties test.
832 * TestPointConverter.cs: same.
833 * TestRectangleConverter.cs: same.
834 * TestSizeConverter.cs: same.
836 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
838 * TestImagge.cs: File not found exception, related to fix r49744
839 * TestBimap.cs: File not found exception, related to fix r49744
841 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
843 * TestGraphics.cs: New test case, only clipping for now
845 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
847 * TestPointConverter.cs: Use Assert class instead of deriving from
848 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
849 * TestRectangleConverter.cs: same.
850 * TestSizeConverter.cs: same.
852 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
854 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
857 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
859 * TestPens.cs: Add test for Equals method
860 * TestBrushes.cs: Add test for Equals method
862 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
864 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
865 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
866 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
867 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
869 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
871 * TestRegion.cs: Adds many new cases for the new region implementation
873 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
875 * ColorConverter.cs: Mono now also throws ArgumentException when
876 color value is not between 0 and 255.
877 * TestColor.cs: Added tests for invalid color values.
878 * TestRectangleConverter.cs: Fixed tests for conversion to/from
879 string. Added tests that verify results using specific cultures.
881 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
883 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
884 tests using current culture.
885 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
888 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
890 * TestColor.cs: Added test for ToString() on uninitialized color.
891 * TestColorConverter.cs: Added tests for ColorConverter.
893 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
895 * TestRegion.cs: new cases for Combine and Intersect
897 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
899 * TestRectangle.cs: Add new test.
901 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
903 * ColorConverter.cs, ColorTranslator.cs: added
904 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
905 tests for convert to/from string
907 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
909 * Color.cs: many new testcases added
911 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
913 * Size.cs, SizeF.cs: GetHashCode and ToString tests
915 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
917 * TestRectangle.cs, TestRectangleF.cs: add new testcases
919 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
921 * TestPoint.cs: GetHashCode and ToString tests added
922 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
925 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
927 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
928 the original stack trace.
930 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
932 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
933 tests to use tolerance.
935 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
937 * TestColor.cs: Added tests for GetHue, GetBrightness
940 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
941 * TestRegion.cs: added new IsVisible cases
943 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
945 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
947 2004-06-17 Ravindra <rkumar@novell.com>
949 * graphicsUi.cs: Formatted and moved to
950 Samples/System.Drawing directory.
951 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
952 Samples/System.Drawing directory.
953 * hering.cs: Formatted and moved to Samples/General directory.
954 * BmpPaint.cs: Ficed, formatted and moved to
955 Samples/System.Drawing directory.
956 * font1.cs: Formatted and renamed to font.cs. Moved to
957 Samples/System.Drawing directory.
959 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
961 * TestBitmap.cs: Corrected issues from my previous checkin.
963 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
965 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
966 dependency on obsolete class, Assertion from NUnit.
968 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
970 * TestImageConverter.cs: Removed dependency on obsolete class,
971 Assertion from NUnit.
973 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
975 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
976 dependency on obsolete class, Assertion from NUnit.
978 2004-05-27 Ravindra <rkumar@novell.com>
980 * TestRectangleConverter.cs: Ignored the test that is failing
981 because of bug #58435.
982 * TestPointConverter.cs: Same.
983 * TestSizeConverter.cs: Same.
984 * TestImageConverter.cs: Same.
986 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
988 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
991 2004-05-26 Ravindra <rkumar@novell.com>
993 * TestColor.cs: Added a test for testing ARGB values for all
994 the static color properties.
996 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
998 * TestIcon.cs: Added.
999 * bitmaps/smiley.ico: Added.
1001 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1003 * TestImageFormatConverter.cs: Fixed issues with test case.
1005 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1007 * TestImageConverter.cs: Fixed issues with test case.
1009 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1011 * TestIconConverter.cs: Fixed issues with test case.
1013 2004-05-18 Ravindra <rkumar@novell.com>
1015 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1016 this under Test/System.Drawing.Drawing2D directory.
1018 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1020 * TestIconConverter.cs: Added.
1021 * bitmaps/VisualPng.ico: Added
1022 * bitmaps/VisualPng1.ico: Added
1024 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1026 * TestBitmap.cs: Modified method signature to static to be used in other file.
1027 * TestImageConverter.cs: Added.
1028 * TestImageFormatConverter.cs: Added
1030 2004-05-12 Jordi Mas <jordi@ximan.com>
1031 * TestBitmap.cs: added lockbitmap tests
1033 2004-05-07 Jordi Mas <jordi@ximan.com>
1034 * TestBitmap.cs: added rotation tests
1036 2004-04-23 Ravindra <rkumar@novell.com>
1038 * TestSystemPens.cs: Removed some unused exception variables.
1039 * TestRectangleConverter.cs: Removed culture dependent tests.
1040 * TestPointConverter.cs: Removed culture dependent tests.
1041 * TestSizeConverter.cs: Removed culture dependent tests.
1042 (These tests were not right because a constant culture specific string
1043 was being parsed by using current culture of the thread. It resulted in
1044 test failures when cultures do not match.)
1046 2004-04-22 Ravindra <rkumar@novell.com>
1048 * TestPointConverter.cs: Added.
1049 * TestSizeConverter.cs: Added.
1051 2004-04-22 Ravindra <rkumar@novell.com>
1053 * TestRectangleConverter.cs: Added.
1055 2004-04-21 Ravindra <rkumar@novell.com>
1057 * TestPens.cs: Added.
1059 2004-04-21 Ravindra <rkumar@novell.com>
1061 * TestBrushes.cs: Added.
1063 2004-04-16 Ravindra <rkumar@novell.com>
1065 * TestSystemPens.cs: Added.
1067 2004-03-13 Ravindra <rkumar@novell.com>
1069 * TestSystemBrushes.cs: Added test fail conditions.
1071 2004-03-12 Ravindra <rkumar@novell.com>
1073 * TestSystemBrushes.cs: Added.
1075 2004-03-17 Ravindra <rkumar@novell.com>
1076 * TestHatchBrush.cs: Added.
1078 2004-01-26 Ravindra <rkumar@novell.com>
1079 * TestPointF.cs: Added.
1080 * TestSize.cs: Added.
1083 2004-01-16 Ravindra <rkumar@novell.com>
1084 * BmpPaint.cs did not run on .NET.
1085 Modified to make it run on .NET. Specs say
1086 "Do not save an image to the same stream
1087 that was used to construct the image."
1089 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1090 * BmpPaint.cs modified
1092 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1093 * hering.cs save as Jpeg also
1095 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1098 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1101 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1102 * BmpPaint.cs ImageFormat specified for Save()
1105 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1108 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1110 * TestPoint.cs : Tests I've had in my node forever.