1 2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
3 * GDIPlusTest.cs: Add MeasureCharacterRanges test cases around bug
4 #449971 and add a few delta for FP comparison.
5 * TestGraphics.cs: Add a few delta for FP comparison.
7 2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
9 * TestGraphics.cs, GDIPlusTest.cs : fix tests wrt rounding that
10 were failing on .NET too (exposed by nunit24).
12 2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
14 * TestFont.cs: Add test cases for null checks to ensure we match
17 2008-10-06 Sebastien Pouliot <sebastien@ximian.com>
19 * TestColor.cs: Add test case, from Gert Driesen, for bug #410693
20 * TestRectangleF.cs: Add test case, from Imie Nazwisko, for bug #431587
22 2008-08-08 Gert Driesen <drieseng@users.sourceforge.net>
24 * TestIcon.cs: Add test case for bug #415581.
26 2008-08-08 Gert Driesen <drieseng@users.sourceforge.net>
28 * TestIcon.cs: Modified test for bug #410608 to work around bug
31 2008-08-07 Gert Driesen <drieseng@users.sourceforge.net>
33 * TestIcon.cs: Ignore test for bug #410608 on Unix, since it depends
36 2008-08-06 Gert Driesen <drieseng@users.sourceforge.net>
38 * TestIcon.cs: Add test case for bug #410608.
40 2008-07-07 Sebastien Pouliot <sebastien@ximian.com>
42 * TestBitmap.cs: Add test case for #406763 and similar cases.
44 2008-06-27 Sebastien Pouliot <sebastien@ximian.com>
46 * TestRegion.cs: Add test case for #402613 to verify Exclude.
47 Based on Jan Krajicek's code supplied inside the bug report.
49 2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
51 * TestPointConverter.cs: Add test cases to verify that no NRE
52 is thrown if culture is null in ConvertTo.
53 * TestSizeConverter.cs: Add test cases to verify that no NRE
54 is thrown if culture is null in ConvertTo.
56 2008-04-25 Sebastien Pouliot <sebastien@ximian.com>
58 * TestRegion.cs: Add test cases for #383878 to verify Intersect
59 with negative width & height and to check against the crash in
62 2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
64 * TestIcon.cs: Add test case for #366485.
66 2008-01-21 Gert Driesen <drieseng@users.sourceforge.net>
68 * TestGraphics.cs: Added test for bug #355141.
70 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
72 * GDIPlusTest.cs: Don't use internal Unit enum anymore.
74 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
76 * TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
79 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
81 * TestGraphics.cs: Add test case on TransformPoints for #349800.
83 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
85 * GDIPlusTest.cs : fix test build.
87 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
89 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
91 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
93 * TestBitmap.cs: XML serialization test case (#323246).
94 * TestImage.cs: XML serialization test case (#323246).
96 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
98 * Image.cs: Add test cases for the stream position when loading and
99 saving bitmaps and metafiles. Some of them are based on Gert Driesen
102 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
104 * TestGraphics.cs: Test against NRE in MultiplyTransform
106 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
108 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
109 now that #81572 is fixed.
111 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
113 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
115 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
117 * TextureBrushTest.cs: Added test cases for textures using alpha
120 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
122 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
124 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
126 * RegionNonRectTest.cs: Add test cases for combining empty paths and
127 regions with infinite regions.
129 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
131 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
133 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
135 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
136 methods. Add test case for drawing lines with a pen's width > 1.
138 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
140 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
141 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
142 the saved bitmap (used for debugging).
144 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
146 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
148 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
150 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
151 cases as it's not supported in libgdiplus.
153 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
155 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
156 Point or PointF arrays as destination points.
158 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
160 * TestGraphics.cs: Add test cases for the normal behaviour of
163 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
165 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
166 NULL. This match MS behavior as seen in (unfixed) bug #81709.
168 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
170 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
171 pointer correctly in 64bits architectures. Thanks to Zoltan.
173 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
175 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
176 GdipDrawImageRectRect (GraphicsUnit).
177 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
178 DrawImageUnscaledAndClipped (2.0).
179 * TestRectangle.cs: Add test cases for negative width/height. Fix some
180 test cases that were using RectangleF instead of Rectangle.
181 * TestRectangleF.cs: Add test cases for negative width/height.
183 2007-05-08 Everaldo Canuto <everaldo@simios.org>
185 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
186 it is a reproduction of bug #81572 that checks width for multiline
189 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
191 * TestColor.cs: Under Windows ensure we're getting the same values for
194 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
196 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
197 and it's parameter's validations.
199 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
201 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
202 reworked LockUnlockBitmap (e.g. add assert messages).
204 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
206 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
207 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
208 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
209 Format16bppGrayScale.
211 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
213 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
216 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
218 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
219 if in particular case (it doesn't). Added Categoty("Valgrind") to a
220 test know to leak due to the API design.
222 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
224 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
225 the data when using ImageLockMode.ReadOnly (this makes some results
226 random when using MS GDI+).
228 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
230 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
231 (without unlocking it first).
232 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
233 returns a named color and a unnamed color.
234 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
235 two additionnal test cases for LockBits, Double locks (exception) and
236 invalid ImageLockMode (no exception).
238 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
240 * TestColor.cs: Add a few more test cases for ==, != and Equals
242 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
244 * ColorConverter.cs: Add test case with a null CultureInfo for
246 * ColorTranslator.cs: Add test cases with known values for FromHtml
247 * TestColor.cs: Made some test clearer about what they do/check.
249 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
251 * TestFont.cs: Add test cases for GetHeight(Graphics) and
252 GetHeight(float) methods.
254 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
256 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
257 crash libgdiplus if it's not updated to the latest svn revision).
258 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
259 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
261 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
263 * TestFont.cs: Add a test for exception thrown when an unavailable font
264 style is requested. (Marked NotWorking due to being platform specific.)
266 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
268 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
269 available on the system.
271 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
273 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
274 the test cases are now working properly.
275 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
277 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
279 * TestImage.cs: Add test cases for loading invalid files as an Image.
281 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
283 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
284 * TestImage.cs: Add test cases for loading metafile as Image.
286 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
288 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
291 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
293 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
294 for TARGET_JVM with not supported method calls
296 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
298 * SystemFontsTest.cs: Add more tests cases including disposing the
299 font instance returned by the SystemFonts class.
301 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
303 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
304 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
306 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
308 * ColorConverter.cs: Rename fixture to match our styleguide.
309 * ColorTranslator.cs: Rename fixture to match our styleguide.
311 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
313 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
316 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
318 * TestRegion.cs: Add test cases for matrix operations on infinite
319 regions (result is always an infinite region). Add test cases for
320 scale and scale+translate on regions (to see that they do not trigger
321 a convertion into bitmap-based regions).
323 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
325 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
326 and for checking clip bounds after operation on world tranformations.
328 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
330 * TestGraphics.cs: Add test case for trailing spaces when calling
331 MeasureString. #80680
333 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
335 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
336 serialization, which "works" under 2.0 but not under 1.1.
337 * TestImage.cs: Add test case for XmlSerializer on Image type, which
338 "works" under 2.0 but not under 1.1.
340 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
342 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
343 which use a decoder-only codec.
345 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
347 * GDIPlusTest.cs: Add test cases for loading unexisting files in
348 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
349 for error code returned by GdipGetImageGraphicsContext for indexed
352 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
354 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
355 implementation leads to false conclusions. MS GDI+ upgrades the
356 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
357 possible to create a Graphics from them.
358 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
359 under MS 1.x with ArgumentNullException.
361 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
363 * TestBitmap.cs: Added test case to create multiple bitmaps from a
365 * TestIcon.cs: Added test cases to create multiple icons from a
366 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
368 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
370 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
371 coexists in the same icon file.
373 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
375 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
376 11x22, to test for non perfect match icon selection.
377 * TestImage.cs: Add test cases for locked/unlocked streams when using
378 GDI+ (e.g. Mono running on Windows).
380 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
382 * TestIcon.cs: Add test cases for XP (32bpp) icons.
384 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
386 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
387 GetHbitmap and FromHbitmap.
388 * TestIcon.cs: Add test cases for all constructors. Add test cases for
389 saving icons (all sizes). Add test cases for roundtripping icons using
392 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
394 * GDIPlusTest.cs: Add test case for loading an icon and playing with
396 * TestIcon.cs: Add test cases for different sizes of icons.
398 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
400 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
401 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
403 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
404 specific, ignored test case.
406 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
408 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
409 on Linux MS Sans Sarif is mapped to other available font.
411 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
413 * SystemFontsTest.cs: Added test for DefaultFont.
415 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
417 * TestBrushes.cs: Ensure that the unit tests are destructive on the
418 brushes (since you can change their color and dispose them). Now only
419 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
420 any other unit test that use Brushes.* executed after this one.
422 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
424 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
426 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
428 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
429 icons provided here behave differently than normal icons (can't be
432 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
434 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
435 names, currently not working), GetStandardValuesSupported and
436 GetStandardValues methods.
438 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
440 * TestGraphics.cs: Add new MeasureString test cases.
441 * TestRectangle.cs: Add unit tests for == and != operators. Update
442 tests to NUnit 2.2 syntax.
443 * TestRectangleF.cs: Add unit tests for == and != operators. Update
444 tests to NUnit 2.2 syntax.
446 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
448 * TestGraphics.cs: Ignore new test cases when font is null (not
449 available). Add pixel size compares to MeasureString_Bug76664.
451 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
453 * TestGraphics.cs: Added test case to measure strings, some aren't yet
454 working. Modified some to get better checks (e.g. Int32.MaxValue for
457 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
459 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
461 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
463 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
464 tests dynamically (when fonts aren't installed).
466 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
468 * TestGraphics.cs: Added test cases for bug #77699 (with and without
471 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
473 * TestStringFormat.cs: fix build for TARGET_JVM.
475 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
477 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
478 like handling bad ranges (start, length) and hotkey prefix handling.
480 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
482 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
483 GdipSetStringFormatTabStops functions.
484 * TestStringFormat.cs: Added a more complex test case for Clone.
486 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
488 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
489 StringFormat functions.
490 * TestGraphics.cs: Avoid test cases failure if the font object can't
491 be created during fixture's setup.
492 * TestStringFormat.cs: Increased coverage of the unit tests.
494 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
496 * TestGraphics.cs: Add test cases for MeasureString and
497 MeasureCharacterRanges methods.
499 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
501 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
502 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
505 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
507 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
508 test. The test is bad because sometimes it uses Size instead of SizeF.
510 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
512 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
514 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
516 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
517 * TestImageConverter.cs: Added a test case when value is null (should
518 return "(none)"). Uncommented and splitted all exception test cases
519 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
521 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
523 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
524 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
526 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
528 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
529 seems to work only when the destination format is 32 bits.
531 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
533 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
535 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
537 * TextureBrushTest.cs: More test cases when only a partial part of the
538 image is being used and for cloning the brush.
540 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
542 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
543 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
545 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
547 * ColorConverter.cs: Add a new test case for a color with a integer
548 part that is too large to convert into an int.
549 * ColorTranslator.cs: Add more test cases for FromHtml method.
551 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
553 * GDIPlusTest.cs: Fix ImageAttributes test case.
554 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
556 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
558 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
559 Added new test cases for ImageAttributes. Removed some assertion for
560 GpGraphicsPath (which returns different value on monobuild win32 bot
561 than my own machine, uninit field ?).
563 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
565 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
566 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
568 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
570 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
572 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
574 * GDIPlusTest.cs: Added more test cases for Matrix functions.
576 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
578 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
581 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
583 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
585 * TestFont.cs: Ignore test cases if we cannot get any font family
588 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
590 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
591 struct like it's currently defined inside SD).
593 2006-08-12 Duncan Mak <duncan@novell.com>
595 * GDIPlusTest.cs: Removed all the local PInvoke methods.
596 (DrawingOperations): New test for various draw and fill operations
599 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
601 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
602 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
603 executes under Windows (GDI+);
604 * TestFont.cs: Added more test cases for ToLogFont including one that
605 shows that LOGFONT only works properly when it's a class (not a struct)
607 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
609 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
610 PathGradientBrush to fix unit tests under Windows.
611 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
612 fail when using MS GDI+ (e.g. Mono on Windows).
614 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
616 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
617 Widen) and some new tests for Matrix related GDI+ functions.
619 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
621 * TestRegion.cs: Add test case for excluding a rectangle from an
624 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
626 * GDIPlusTest.cs: Avoid leaking during tests.
628 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
630 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
633 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
635 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
636 Pen related GDI+ calls.
638 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
640 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
641 fixes some unit test failures seen with Mono running on Windows).
643 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
645 * TestFont.cs: Remove asserts that are system dependant.
647 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
649 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
651 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
653 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
654 * TestImage.cs: Added checks to validate that the thumbnail's callback
657 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
659 * SolidBrushTest.cs: New test case using DrawLine.
661 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
663 * TestImage.cs: Add test cases for GetThumbnailImage.
665 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
667 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
669 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
671 * TestFont.cs: Expanded a test case to check for bug #78721 where the
672 LOGFONT structure must be initialized even if the ToLogFont call fails
674 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
676 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
677 add a comment on a commented one (MakeTransparent ;-)
679 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
681 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
683 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
685 * TestColor.cs: added 2 more tests for serialization and enabled one
686 that was not working.
688 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
690 * FontFamilyTest.cs: New. Unit tests for FontFamily.
691 * TestFont.cs: Added more test cases to Font.
693 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
695 * TestImageFormatConverter.cs: Added test cases for all well known
696 ImageFormat short and long names using ConvertFrom.
698 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
700 * TestColor.cs: Added test cases for serialization. Currently we can't
701 deserialize Color coming from MS serialization.
703 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
705 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
706 permission and test the [Get|From]Hrgn methods.
708 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
710 * TestBitmap.cs: new tests for the default format and the default file
713 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
715 * ColorConverter.cs: Split unworking test case from ConvertFrom into
716 a separate test case (marked as NotWorking).
717 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
718 probably never tested under Windows (and doesn't work there).
719 * TestFontConverter.cs: Split test case for CreateInstance to check
720 for ArgumentException (2.0) or NullReferenceException (1.x).
721 * TestPointConverter.cs: Split test case for CreateInstance to check
722 for ArgumentException (2.0) or NullReferenceException (1.x).
723 * TestRectangleConverter.cs: Split test case for CreateInstance to
724 check for ArgumentException (2.0) or NullReferenceException (1.x).
725 * TestSizeConverter.cs: Split test case for CreateInstance to check
726 for ArgumentException (2.0) or NullReferenceException (1.x).
727 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
728 check for InvalidCastException and NullReferenceException.
729 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
730 Empty and SizeF(0,0) don't share the same hash code.
732 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
734 * TestImageConverter.cs: Adjust test cases as there is an additional
735 properties under 2.0.
736 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
738 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
740 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
741 * TestFont.cs: Fix tests under Windows (CAS related);
742 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
744 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
746 * PenTest.cs: Added a test case where the brush supplied to the .ctor
747 is disposed before the pen is used. Based on a sample from Paddy joy.
749 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
751 * PenTest.cs: New. Unit tests for Pen.
753 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
755 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
757 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
759 * TestRegion.cs: Added a new test case for unioning a rectangle with
760 infinity and a new test case for GetRegionScans.
762 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
764 * TestGraphics.cs: Re-introduce the removed check :)
766 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
768 * TestGraphics.cs: Temporarily remove the checks for the transform in
769 containers. This allows libgdiplus to get better visual results until
770 the matrix issue is fixed correctly (instead of returning the "right"
771 matrix and displaying wrong data).
773 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
775 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
776 for Save and Restore methods.
778 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
780 * TestGraphics.cs: Added new test cases for DrawCurve methods.
782 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
784 * TestBitmap.cs: added tests for UnlockBits when the target is an
785 indexed image and a non-indexed one.
787 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
789 * TestGraphics.cs: Added new test cases for clipping. Some of them do
792 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
794 * TestGraphics.cs: Added new test cases for bug #77129 where we should
795 not draw or fill rectangle(s) with negative width or height. Converted
796 all test cases to UNIX line endings.
798 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
800 * TestGraphics.cs: Added new test cases translating matrix with
801 different MatrixOrder and for multiplying a non-invertible matrix.
803 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
805 * TestGraphics.cs: Add new test cases for clipping.
807 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
809 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
810 path-based (using bitmaps in libgdiplus) and for regions that had a
811 binary operations applied (i.e. using a path tree in libgdiplus).
812 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
813 binary operators (Union, Intersection, Complement, Exclude and Xor)
814 on path based regions (using bitmaps in libgdiplus).
816 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
818 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
819 the appropriate size on each system
821 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
823 * RegionNonRectTest.cs: Updated comments on a test that fails on both
824 1.x and 2.0 MS runtime.
825 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
828 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
829 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
830 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
831 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
832 added #ifdef for TARGET_JVM.
834 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
835 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
837 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
839 * RegionDataTest.cs: New. Unit tests for RegionData.
840 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
841 * TestRegion.cs: Added new test cases for empty region and IsInfinite
842 behaviour with multiple rectangles / path-rectangle regions.
844 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
846 * TestRegion.cs: Mark a test case as NotWorking as it caused a
849 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
851 * RegionCas.cs: New. CAS unit tests for Region.
852 * TestRegion.cs: Added test cases to check for expected exceptions.
854 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
856 * TestFont.cs: Added test for LogFont conversion
858 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
860 * TestPoint.cs: Test new methods for .Net 2.0
861 * TestPointF.cs Test new methods for .Net 2.0
862 * ColorConverter.cs: Fixes for .Net 2.0
863 * TestSizeF.cs: Test new methods for .Net 2.0
864 * TestSize.cs: Test new methods for .Net 2.0
866 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
868 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
869 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
872 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
874 * ColorConverter.cs: added testcases for ConvertFrom and
875 three digit notaion color.
877 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
879 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
880 of indexed (1- and 4-bit) Bitmaps.
881 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
883 2005-09-19 Miguel de Icaza <miguel@novell.com>
885 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
887 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
889 * BitmapCas.cs: New. CAS unit tests for Bitmap.
890 * GraphicsCas.cs: New. CAS unit tests for Graphics.
891 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
892 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
893 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
894 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
895 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
896 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
897 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
898 UnmanagedCode permission to all tests. This shows (when executed under
899 MS runtime) that S.D API is safe and doesn't requires high privileges
900 to run - even if we know that, deep down, this calls into GDI+.
902 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
904 * TestGraphics.cs: Adds default properties, properties set/get and save
905 and restore status test
907 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
909 * TestGraphics.cs: resets graphics object status before every SetClip test
911 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
913 * TestImageConverter.cs: Re-enabled GetProperties test.
914 * TestPointConverter.cs: same.
915 * TestRectangleConverter.cs: same.
916 * TestSizeConverter.cs: same.
918 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
920 * TestImagge.cs: File not found exception, related to fix r49744
921 * TestBimap.cs: File not found exception, related to fix r49744
923 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
925 * TestGraphics.cs: New test case, only clipping for now
927 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
929 * TestPointConverter.cs: Use Assert class instead of deriving from
930 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
931 * TestRectangleConverter.cs: same.
932 * TestSizeConverter.cs: same.
934 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
936 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
939 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
941 * TestPens.cs: Add test for Equals method
942 * TestBrushes.cs: Add test for Equals method
944 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
946 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
947 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
948 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
949 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
951 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
953 * TestRegion.cs: Adds many new cases for the new region implementation
955 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
957 * ColorConverter.cs: Mono now also throws ArgumentException when
958 color value is not between 0 and 255.
959 * TestColor.cs: Added tests for invalid color values.
960 * TestRectangleConverter.cs: Fixed tests for conversion to/from
961 string. Added tests that verify results using specific cultures.
963 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
965 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
966 tests using current culture.
967 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
970 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
972 * TestColor.cs: Added test for ToString() on uninitialized color.
973 * TestColorConverter.cs: Added tests for ColorConverter.
975 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
977 * TestRegion.cs: new cases for Combine and Intersect
979 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
981 * TestRectangle.cs: Add new test.
983 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
985 * ColorConverter.cs, ColorTranslator.cs: added
986 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
987 tests for convert to/from string
989 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
991 * Color.cs: many new testcases added
993 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
995 * Size.cs, SizeF.cs: GetHashCode and ToString tests
997 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
999 * TestRectangle.cs, TestRectangleF.cs: add new testcases
1001 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1003 * TestPoint.cs: GetHashCode and ToString tests added
1004 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
1007 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1009 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
1010 the original stack trace.
1012 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1014 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
1015 tests to use tolerance.
1017 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1019 * TestColor.cs: Added tests for GetHue, GetBrightness
1022 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
1023 * TestRegion.cs: added new IsVisible cases
1025 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
1027 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
1029 2004-06-17 Ravindra <rkumar@novell.com>
1031 * graphicsUi.cs: Formatted and moved to
1032 Samples/System.Drawing directory.
1033 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
1034 Samples/System.Drawing directory.
1035 * hering.cs: Formatted and moved to Samples/General directory.
1036 * BmpPaint.cs: Ficed, formatted and moved to
1037 Samples/System.Drawing directory.
1038 * font1.cs: Formatted and renamed to font.cs. Moved to
1039 Samples/System.Drawing directory.
1041 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
1043 * TestBitmap.cs: Corrected issues from my previous checkin.
1045 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
1047 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
1048 dependency on obsolete class, Assertion from NUnit.
1050 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1052 * TestImageConverter.cs: Removed dependency on obsolete class,
1053 Assertion from NUnit.
1055 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1057 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
1058 dependency on obsolete class, Assertion from NUnit.
1060 2004-05-27 Ravindra <rkumar@novell.com>
1062 * TestRectangleConverter.cs: Ignored the test that is failing
1063 because of bug #58435.
1064 * TestPointConverter.cs: Same.
1065 * TestSizeConverter.cs: Same.
1066 * TestImageConverter.cs: Same.
1068 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1070 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
1073 2004-05-26 Ravindra <rkumar@novell.com>
1075 * TestColor.cs: Added a test for testing ARGB values for all
1076 the static color properties.
1078 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1080 * TestIcon.cs: Added.
1081 * bitmaps/smiley.ico: Added.
1083 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1085 * TestImageFormatConverter.cs: Fixed issues with test case.
1087 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1089 * TestImageConverter.cs: Fixed issues with test case.
1091 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1093 * TestIconConverter.cs: Fixed issues with test case.
1095 2004-05-18 Ravindra <rkumar@novell.com>
1097 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1098 this under Test/System.Drawing.Drawing2D directory.
1100 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1102 * TestIconConverter.cs: Added.
1103 * bitmaps/VisualPng.ico: Added
1104 * bitmaps/VisualPng1.ico: Added
1106 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1108 * TestBitmap.cs: Modified method signature to static to be used in other file.
1109 * TestImageConverter.cs: Added.
1110 * TestImageFormatConverter.cs: Added
1112 2004-05-12 Jordi Mas <jordi@ximan.com>
1113 * TestBitmap.cs: added lockbitmap tests
1115 2004-05-07 Jordi Mas <jordi@ximan.com>
1116 * TestBitmap.cs: added rotation tests
1118 2004-04-23 Ravindra <rkumar@novell.com>
1120 * TestSystemPens.cs: Removed some unused exception variables.
1121 * TestRectangleConverter.cs: Removed culture dependent tests.
1122 * TestPointConverter.cs: Removed culture dependent tests.
1123 * TestSizeConverter.cs: Removed culture dependent tests.
1124 (These tests were not right because a constant culture specific string
1125 was being parsed by using current culture of the thread. It resulted in
1126 test failures when cultures do not match.)
1128 2004-04-22 Ravindra <rkumar@novell.com>
1130 * TestPointConverter.cs: Added.
1131 * TestSizeConverter.cs: Added.
1133 2004-04-22 Ravindra <rkumar@novell.com>
1135 * TestRectangleConverter.cs: Added.
1137 2004-04-21 Ravindra <rkumar@novell.com>
1139 * TestPens.cs: Added.
1141 2004-04-21 Ravindra <rkumar@novell.com>
1143 * TestBrushes.cs: Added.
1145 2004-04-16 Ravindra <rkumar@novell.com>
1147 * TestSystemPens.cs: Added.
1149 2004-03-13 Ravindra <rkumar@novell.com>
1151 * TestSystemBrushes.cs: Added test fail conditions.
1153 2004-03-12 Ravindra <rkumar@novell.com>
1155 * TestSystemBrushes.cs: Added.
1157 2004-03-17 Ravindra <rkumar@novell.com>
1158 * TestHatchBrush.cs: Added.
1160 2004-01-26 Ravindra <rkumar@novell.com>
1161 * TestPointF.cs: Added.
1162 * TestSize.cs: Added.
1165 2004-01-16 Ravindra <rkumar@novell.com>
1166 * BmpPaint.cs did not run on .NET.
1167 Modified to make it run on .NET. Specs say
1168 "Do not save an image to the same stream
1169 that was used to construct the image."
1171 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1172 * BmpPaint.cs modified
1174 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1175 * hering.cs save as Jpeg also
1177 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1180 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1183 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1184 * BmpPaint.cs ImageFormat specified for Save()
1187 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1190 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1192 * TestPoint.cs : Tests I've had in my node forever.