1 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
3 * TestGraphics.cs: Test against NRE in MultiplyTransform
5 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
7 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
8 now that #81572 is fixed.
10 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
12 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
14 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
16 * TextureBrushTest.cs: Added test cases for textures using alpha
19 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
21 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
23 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
25 * RegionNonRectTest.cs: Add test cases for combining empty paths and
26 regions with infinite regions.
28 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
30 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
32 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
34 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
35 methods. Add test case for drawing lines with a pen's width > 1.
37 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
39 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
40 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
41 the saved bitmap (used for debugging).
43 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
45 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
47 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
49 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
50 cases as it's not supported in libgdiplus.
52 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
54 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
55 Point or PointF arrays as destination points.
57 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
59 * TestGraphics.cs: Add test cases for the normal behaviour of
62 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
64 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
65 NULL. This match MS behavior as seen in (unfixed) bug #81709.
67 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
69 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
70 pointer correctly in 64bits architectures. Thanks to Zoltan.
72 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
74 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
75 GdipDrawImageRectRect (GraphicsUnit).
76 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
77 DrawImageUnscaledAndClipped (2.0).
78 * TestRectangle.cs: Add test cases for negative width/height. Fix some
79 test cases that were using RectangleF instead of Rectangle.
80 * TestRectangleF.cs: Add test cases for negative width/height.
82 2007-05-08 Everaldo Canuto <everaldo@simios.org>
84 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
85 it is a reproduction of bug #81572 that checks width for multiline
88 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
90 * TestColor.cs: Under Windows ensure we're getting the same values for
93 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
95 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
96 and it's parameter's validations.
98 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
100 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
101 reworked LockUnlockBitmap (e.g. add assert messages).
103 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
105 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
106 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
107 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
108 Format16bppGrayScale.
110 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
112 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
115 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
117 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
118 if in particular case (it doesn't). Added Categoty("Valgrind") to a
119 test know to leak due to the API design.
121 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
123 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
124 the data when using ImageLockMode.ReadOnly (this makes some results
125 random when using MS GDI+).
127 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
129 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
130 (without unlocking it first).
131 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
132 returns a named color and a unnamed color.
133 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
134 two additionnal test cases for LockBits, Double locks (exception) and
135 invalid ImageLockMode (no exception).
137 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
139 * TestColor.cs: Add a few more test cases for ==, != and Equals
141 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
143 * ColorConverter.cs: Add test case with a null CultureInfo for
145 * ColorTranslator.cs: Add test cases with known values for FromHtml
146 * TestColor.cs: Made some test clearer about what they do/check.
148 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
150 * TestFont.cs: Add test cases for GetHeight(Graphics) and
151 GetHeight(float) methods.
153 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
155 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
156 crash libgdiplus if it's not updated to the latest svn revision).
157 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
158 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
160 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
162 * TestFont.cs: Add a test for exception thrown when an unavailable font
163 style is requested. (Marked NotWorking due to being platform specific.)
165 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
167 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
168 available on the system.
170 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
172 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
173 the test cases are now working properly.
174 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
176 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
178 * TestImage.cs: Add test cases for loading invalid files as an Image.
180 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
182 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
183 * TestImage.cs: Add test cases for loading metafile as Image.
185 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
187 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
190 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
192 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
193 for TARGET_JVM with not supported method calls
195 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
197 * SystemFontsTest.cs: Add more tests cases including disposing the
198 font instance returned by the SystemFonts class.
200 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
202 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
203 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
205 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
207 * ColorConverter.cs: Rename fixture to match our styleguide.
208 * ColorTranslator.cs: Rename fixture to match our styleguide.
210 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
212 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
215 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
217 * TestRegion.cs: Add test cases for matrix operations on infinite
218 regions (result is always an infinite region). Add test cases for
219 scale and scale+translate on regions (to see that they do not trigger
220 a convertion into bitmap-based regions).
222 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
224 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
225 and for checking clip bounds after operation on world tranformations.
227 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
229 * TestGraphics.cs: Add test case for trailing spaces when calling
230 MeasureString. #80680
232 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
234 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
235 serialization, which "works" under 2.0 but not under 1.1.
236 * TestImage.cs: Add test case for XmlSerializer on Image type, which
237 "works" under 2.0 but not under 1.1.
239 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
241 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
242 which use a decoder-only codec.
244 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
246 * GDIPlusTest.cs: Add test cases for loading unexisting files in
247 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
248 for error code returned by GdipGetImageGraphicsContext for indexed
251 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
253 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
254 implementation leads to false conclusions. MS GDI+ upgrades the
255 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
256 possible to create a Graphics from them.
257 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
258 under MS 1.x with ArgumentNullException.
260 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
262 * TestBitmap.cs: Added test case to create multiple bitmaps from a
264 * TestIcon.cs: Added test cases to create multiple icons from a
265 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
267 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
269 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
270 coexists in the same icon file.
272 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
274 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
275 11x22, to test for non perfect match icon selection.
276 * TestImage.cs: Add test cases for locked/unlocked streams when using
277 GDI+ (e.g. Mono running on Windows).
279 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
281 * TestIcon.cs: Add test cases for XP (32bpp) icons.
283 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
285 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
286 GetHbitmap and FromHbitmap.
287 * TestIcon.cs: Add test cases for all constructors. Add test cases for
288 saving icons (all sizes). Add test cases for roundtripping icons using
291 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
293 * GDIPlusTest.cs: Add test case for loading an icon and playing with
295 * TestIcon.cs: Add test cases for different sizes of icons.
297 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
299 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
300 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
302 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
303 specific, ignored test case.
305 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
307 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
308 on Linux MS Sans Sarif is mapped to other available font.
310 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
312 * SystemFontsTest.cs: Added test for DefaultFont.
314 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
316 * TestBrushes.cs: Ensure that the unit tests are destructive on the
317 brushes (since you can change their color and dispose them). Now only
318 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
319 any other unit test that use Brushes.* executed after this one.
321 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
323 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
325 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
327 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
328 icons provided here behave differently than normal icons (can't be
331 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
333 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
334 names, currently not working), GetStandardValuesSupported and
335 GetStandardValues methods.
337 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
339 * TestGraphics.cs: Add new MeasureString test cases.
340 * TestRectangle.cs: Add unit tests for == and != operators. Update
341 tests to NUnit 2.2 syntax.
342 * TestRectangleF.cs: Add unit tests for == and != operators. Update
343 tests to NUnit 2.2 syntax.
345 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
347 * TestGraphics.cs: Ignore new test cases when font is null (not
348 available). Add pixel size compares to MeasureString_Bug76664.
350 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
352 * TestGraphics.cs: Added test case to measure strings, some aren't yet
353 working. Modified some to get better checks (e.g. Int32.MaxValue for
356 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
358 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
360 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
362 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
363 tests dynamically (when fonts aren't installed).
365 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
367 * TestGraphics.cs: Added test cases for bug #77699 (with and without
370 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
372 * TestStringFormat.cs: fix build for TARGET_JVM.
374 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
376 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
377 like handling bad ranges (start, length) and hotkey prefix handling.
379 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
381 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
382 GdipSetStringFormatTabStops functions.
383 * TestStringFormat.cs: Added a more complex test case for Clone.
385 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
387 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
388 StringFormat functions.
389 * TestGraphics.cs: Avoid test cases failure if the font object can't
390 be created during fixture's setup.
391 * TestStringFormat.cs: Increased coverage of the unit tests.
393 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
395 * TestGraphics.cs: Add test cases for MeasureString and
396 MeasureCharacterRanges methods.
398 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
400 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
401 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
404 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
406 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
407 test. The test is bad because sometimes it uses Size instead of SizeF.
409 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
411 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
413 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
415 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
416 * TestImageConverter.cs: Added a test case when value is null (should
417 return "(none)"). Uncommented and splitted all exception test cases
418 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
420 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
422 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
423 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
425 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
427 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
428 seems to work only when the destination format is 32 bits.
430 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
432 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
434 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
436 * TextureBrushTest.cs: More test cases when only a partial part of the
437 image is being used and for cloning the brush.
439 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
441 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
442 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
444 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
446 * ColorConverter.cs: Add a new test case for a color with a integer
447 part that is too large to convert into an int.
448 * ColorTranslator.cs: Add more test cases for FromHtml method.
450 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
452 * GDIPlusTest.cs: Fix ImageAttributes test case.
453 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
455 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
457 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
458 Added new test cases for ImageAttributes. Removed some assertion for
459 GpGraphicsPath (which returns different value on monobuild win32 bot
460 than my own machine, uninit field ?).
462 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
464 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
465 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
467 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
469 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
471 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
473 * GDIPlusTest.cs: Added more test cases for Matrix functions.
475 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
477 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
480 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
482 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
484 * TestFont.cs: Ignore test cases if we cannot get any font family
487 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
489 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
490 struct like it's currently defined inside SD).
492 2006-08-12 Duncan Mak <duncan@novell.com>
494 * GDIPlusTest.cs: Removed all the local PInvoke methods.
495 (DrawingOperations): New test for various draw and fill operations
498 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
500 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
501 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
502 executes under Windows (GDI+);
503 * TestFont.cs: Added more test cases for ToLogFont including one that
504 shows that LOGFONT only works properly when it's a class (not a struct)
506 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
508 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
509 PathGradientBrush to fix unit tests under Windows.
510 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
511 fail when using MS GDI+ (e.g. Mono on Windows).
513 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
515 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
516 Widen) and some new tests for Matrix related GDI+ functions.
518 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
520 * TestRegion.cs: Add test case for excluding a rectangle from an
523 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
525 * GDIPlusTest.cs: Avoid leaking during tests.
527 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
529 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
532 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
534 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
535 Pen related GDI+ calls.
537 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
539 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
540 fixes some unit test failures seen with Mono running on Windows).
542 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
544 * TestFont.cs: Remove asserts that are system dependant.
546 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
548 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
550 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
552 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
553 * TestImage.cs: Added checks to validate that the thumbnail's callback
556 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
558 * SolidBrushTest.cs: New test case using DrawLine.
560 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
562 * TestImage.cs: Add test cases for GetThumbnailImage.
564 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
566 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
568 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
570 * TestFont.cs: Expanded a test case to check for bug #78721 where the
571 LOGFONT structure must be initialized even if the ToLogFont call fails
573 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
575 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
576 add a comment on a commented one (MakeTransparent ;-)
578 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
580 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
582 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
584 * TestColor.cs: added 2 more tests for serialization and enabled one
585 that was not working.
587 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
589 * FontFamilyTest.cs: New. Unit tests for FontFamily.
590 * TestFont.cs: Added more test cases to Font.
592 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
594 * TestImageFormatConverter.cs: Added test cases for all well known
595 ImageFormat short and long names using ConvertFrom.
597 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
599 * TestColor.cs: Added test cases for serialization. Currently we can't
600 deserialize Color coming from MS serialization.
602 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
604 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
605 permission and test the [Get|From]Hrgn methods.
607 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
609 * TestBitmap.cs: new tests for the default format and the default file
612 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
614 * ColorConverter.cs: Split unworking test case from ConvertFrom into
615 a separate test case (marked as NotWorking).
616 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
617 probably never tested under Windows (and doesn't work there).
618 * TestFontConverter.cs: Split test case for CreateInstance to check
619 for ArgumentException (2.0) or NullReferenceException (1.x).
620 * TestPointConverter.cs: Split test case for CreateInstance to check
621 for ArgumentException (2.0) or NullReferenceException (1.x).
622 * TestRectangleConverter.cs: Split test case for CreateInstance to
623 check for ArgumentException (2.0) or NullReferenceException (1.x).
624 * TestSizeConverter.cs: Split test case for CreateInstance to check
625 for ArgumentException (2.0) or NullReferenceException (1.x).
626 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
627 check for InvalidCastException and NullReferenceException.
628 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
629 Empty and SizeF(0,0) don't share the same hash code.
631 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
633 * TestImageConverter.cs: Adjust test cases as there is an additional
634 properties under 2.0.
635 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
637 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
639 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
640 * TestFont.cs: Fix tests under Windows (CAS related);
641 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
643 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
645 * PenTest.cs: Added a test case where the brush supplied to the .ctor
646 is disposed before the pen is used. Based on a sample from Paddy joy.
648 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
650 * PenTest.cs: New. Unit tests for Pen.
652 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
654 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
656 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
658 * TestRegion.cs: Added a new test case for unioning a rectangle with
659 infinity and a new test case for GetRegionScans.
661 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
663 * TestGraphics.cs: Re-introduce the removed check :)
665 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
667 * TestGraphics.cs: Temporarily remove the checks for the transform in
668 containers. This allows libgdiplus to get better visual results until
669 the matrix issue is fixed correctly (instead of returning the "right"
670 matrix and displaying wrong data).
672 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
674 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
675 for Save and Restore methods.
677 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
679 * TestGraphics.cs: Added new test cases for DrawCurve methods.
681 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
683 * TestBitmap.cs: added tests for UnlockBits when the target is an
684 indexed image and a non-indexed one.
686 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
688 * TestGraphics.cs: Added new test cases for clipping. Some of them do
691 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
693 * TestGraphics.cs: Added new test cases for bug #77129 where we should
694 not draw or fill rectangle(s) with negative width or height. Converted
695 all test cases to UNIX line endings.
697 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
699 * TestGraphics.cs: Added new test cases translating matrix with
700 different MatrixOrder and for multiplying a non-invertible matrix.
702 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
704 * TestGraphics.cs: Add new test cases for clipping.
706 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
708 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
709 path-based (using bitmaps in libgdiplus) and for regions that had a
710 binary operations applied (i.e. using a path tree in libgdiplus).
711 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
712 binary operators (Union, Intersection, Complement, Exclude and Xor)
713 on path based regions (using bitmaps in libgdiplus).
715 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
717 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
718 the appropriate size on each system
720 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
722 * RegionNonRectTest.cs: Updated comments on a test that fails on both
723 1.x and 2.0 MS runtime.
724 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
727 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
728 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
729 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
730 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
731 added #ifdef for TARGET_JVM.
733 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
734 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
736 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
738 * RegionDataTest.cs: New. Unit tests for RegionData.
739 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
740 * TestRegion.cs: Added new test cases for empty region and IsInfinite
741 behaviour with multiple rectangles / path-rectangle regions.
743 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
745 * TestRegion.cs: Mark a test case as NotWorking as it caused a
748 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
750 * RegionCas.cs: New. CAS unit tests for Region.
751 * TestRegion.cs: Added test cases to check for expected exceptions.
753 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
755 * TestFont.cs: Added test for LogFont conversion
757 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
759 * TestPoint.cs: Test new methods for .Net 2.0
760 * TestPointF.cs Test new methods for .Net 2.0
761 * ColorConverter.cs: Fixes for .Net 2.0
762 * TestSizeF.cs: Test new methods for .Net 2.0
763 * TestSize.cs: Test new methods for .Net 2.0
765 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
767 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
768 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
771 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
773 * ColorConverter.cs: added testcases for ConvertFrom and
774 three digit notaion color.
776 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
778 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
779 of indexed (1- and 4-bit) Bitmaps.
780 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
782 2005-09-19 Miguel de Icaza <miguel@novell.com>
784 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
786 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
788 * BitmapCas.cs: New. CAS unit tests for Bitmap.
789 * GraphicsCas.cs: New. CAS unit tests for Graphics.
790 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
791 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
792 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
793 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
794 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
795 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
796 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
797 UnmanagedCode permission to all tests. This shows (when executed under
798 MS runtime) that S.D API is safe and doesn't requires high privileges
799 to run - even if we know that, deep down, this calls into GDI+.
801 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
803 * TestGraphics.cs: Adds default properties, properties set/get and save
804 and restore status test
806 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
808 * TestGraphics.cs: resets graphics object status before every SetClip test
810 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
812 * TestImageConverter.cs: Re-enabled GetProperties test.
813 * TestPointConverter.cs: same.
814 * TestRectangleConverter.cs: same.
815 * TestSizeConverter.cs: same.
817 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
819 * TestImagge.cs: File not found exception, related to fix r49744
820 * TestBimap.cs: File not found exception, related to fix r49744
822 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
824 * TestGraphics.cs: New test case, only clipping for now
826 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
828 * TestPointConverter.cs: Use Assert class instead of deriving from
829 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
830 * TestRectangleConverter.cs: same.
831 * TestSizeConverter.cs: same.
833 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
835 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
838 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
840 * TestPens.cs: Add test for Equals method
841 * TestBrushes.cs: Add test for Equals method
843 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
845 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
846 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
847 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
848 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
850 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
852 * TestRegion.cs: Adds many new cases for the new region implementation
854 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
856 * ColorConverter.cs: Mono now also throws ArgumentException when
857 color value is not between 0 and 255.
858 * TestColor.cs: Added tests for invalid color values.
859 * TestRectangleConverter.cs: Fixed tests for conversion to/from
860 string. Added tests that verify results using specific cultures.
862 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
864 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
865 tests using current culture.
866 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
869 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
871 * TestColor.cs: Added test for ToString() on uninitialized color.
872 * TestColorConverter.cs: Added tests for ColorConverter.
874 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
876 * TestRegion.cs: new cases for Combine and Intersect
878 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
880 * TestRectangle.cs: Add new test.
882 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
884 * ColorConverter.cs, ColorTranslator.cs: added
885 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
886 tests for convert to/from string
888 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
890 * Color.cs: many new testcases added
892 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
894 * Size.cs, SizeF.cs: GetHashCode and ToString tests
896 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
898 * TestRectangle.cs, TestRectangleF.cs: add new testcases
900 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
902 * TestPoint.cs: GetHashCode and ToString tests added
903 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
906 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
908 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
909 the original stack trace.
911 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
913 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
914 tests to use tolerance.
916 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
918 * TestColor.cs: Added tests for GetHue, GetBrightness
921 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
922 * TestRegion.cs: added new IsVisible cases
924 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
926 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
928 2004-06-17 Ravindra <rkumar@novell.com>
930 * graphicsUi.cs: Formatted and moved to
931 Samples/System.Drawing directory.
932 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
933 Samples/System.Drawing directory.
934 * hering.cs: Formatted and moved to Samples/General directory.
935 * BmpPaint.cs: Ficed, formatted and moved to
936 Samples/System.Drawing directory.
937 * font1.cs: Formatted and renamed to font.cs. Moved to
938 Samples/System.Drawing directory.
940 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
942 * TestBitmap.cs: Corrected issues from my previous checkin.
944 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
946 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
947 dependency on obsolete class, Assertion from NUnit.
949 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
951 * TestImageConverter.cs: Removed dependency on obsolete class,
952 Assertion from NUnit.
954 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
956 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
957 dependency on obsolete class, Assertion from NUnit.
959 2004-05-27 Ravindra <rkumar@novell.com>
961 * TestRectangleConverter.cs: Ignored the test that is failing
962 because of bug #58435.
963 * TestPointConverter.cs: Same.
964 * TestSizeConverter.cs: Same.
965 * TestImageConverter.cs: Same.
967 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
969 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
972 2004-05-26 Ravindra <rkumar@novell.com>
974 * TestColor.cs: Added a test for testing ARGB values for all
975 the static color properties.
977 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
979 * TestIcon.cs: Added.
980 * bitmaps/smiley.ico: Added.
982 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
984 * TestImageFormatConverter.cs: Fixed issues with test case.
986 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
988 * TestImageConverter.cs: Fixed issues with test case.
990 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
992 * TestIconConverter.cs: Fixed issues with test case.
994 2004-05-18 Ravindra <rkumar@novell.com>
996 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
997 this under Test/System.Drawing.Drawing2D directory.
999 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1001 * TestIconConverter.cs: Added.
1002 * bitmaps/VisualPng.ico: Added
1003 * bitmaps/VisualPng1.ico: Added
1005 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1007 * TestBitmap.cs: Modified method signature to static to be used in other file.
1008 * TestImageConverter.cs: Added.
1009 * TestImageFormatConverter.cs: Added
1011 2004-05-12 Jordi Mas <jordi@ximan.com>
1012 * TestBitmap.cs: added lockbitmap tests
1014 2004-05-07 Jordi Mas <jordi@ximan.com>
1015 * TestBitmap.cs: added rotation tests
1017 2004-04-23 Ravindra <rkumar@novell.com>
1019 * TestSystemPens.cs: Removed some unused exception variables.
1020 * TestRectangleConverter.cs: Removed culture dependent tests.
1021 * TestPointConverter.cs: Removed culture dependent tests.
1022 * TestSizeConverter.cs: Removed culture dependent tests.
1023 (These tests were not right because a constant culture specific string
1024 was being parsed by using current culture of the thread. It resulted in
1025 test failures when cultures do not match.)
1027 2004-04-22 Ravindra <rkumar@novell.com>
1029 * TestPointConverter.cs: Added.
1030 * TestSizeConverter.cs: Added.
1032 2004-04-22 Ravindra <rkumar@novell.com>
1034 * TestRectangleConverter.cs: Added.
1036 2004-04-21 Ravindra <rkumar@novell.com>
1038 * TestPens.cs: Added.
1040 2004-04-21 Ravindra <rkumar@novell.com>
1042 * TestBrushes.cs: Added.
1044 2004-04-16 Ravindra <rkumar@novell.com>
1046 * TestSystemPens.cs: Added.
1048 2004-03-13 Ravindra <rkumar@novell.com>
1050 * TestSystemBrushes.cs: Added test fail conditions.
1052 2004-03-12 Ravindra <rkumar@novell.com>
1054 * TestSystemBrushes.cs: Added.
1056 2004-03-17 Ravindra <rkumar@novell.com>
1057 * TestHatchBrush.cs: Added.
1059 2004-01-26 Ravindra <rkumar@novell.com>
1060 * TestPointF.cs: Added.
1061 * TestSize.cs: Added.
1064 2004-01-16 Ravindra <rkumar@novell.com>
1065 * BmpPaint.cs did not run on .NET.
1066 Modified to make it run on .NET. Specs say
1067 "Do not save an image to the same stream
1068 that was used to construct the image."
1070 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1071 * BmpPaint.cs modified
1073 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1074 * hering.cs save as Jpeg also
1076 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1079 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1082 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1083 * BmpPaint.cs ImageFormat specified for Save()
1086 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1089 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1091 * TestPoint.cs : Tests I've had in my node forever.