1 2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
3 * TestPointConverter.cs: Add test cases to verify that no NRE
4 is thrown if culture is null in ConvertTo.
5 * TestSizeConverter.cs: Add test cases to verify that no NRE
6 is thrown if culture is null in ConvertTo.
8 2008-04-25 Sebastien Pouliot <sebastien@ximian.com>
10 * TestRegion.cs: Add test cases for #383878 to verify Intersect
11 with negative width & height and to check against the crash in
14 2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
16 * TestIcon.cs: Add test case for #366485.
18 2008-01-21 Gert Driesen <drieseng@users.sourceforge.net>
20 * TestGraphics.cs: Added test for bug #355141.
22 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
24 * GDIPlusTest.cs: Don't use internal Unit enum anymore.
26 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
28 * TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
31 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
33 * TestGraphics.cs: Add test case on TransformPoints for #349800.
35 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
37 * GDIPlusTest.cs : fix test build.
39 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
41 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
43 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
45 * TestBitmap.cs: XML serialization test case (#323246).
46 * TestImage.cs: XML serialization test case (#323246).
48 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
50 * Image.cs: Add test cases for the stream position when loading and
51 saving bitmaps and metafiles. Some of them are based on Gert Driesen
54 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
56 * TestGraphics.cs: Test against NRE in MultiplyTransform
58 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
60 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
61 now that #81572 is fixed.
63 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
65 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
67 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
69 * TextureBrushTest.cs: Added test cases for textures using alpha
72 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
74 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
76 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
78 * RegionNonRectTest.cs: Add test cases for combining empty paths and
79 regions with infinite regions.
81 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
83 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
85 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
87 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
88 methods. Add test case for drawing lines with a pen's width > 1.
90 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
92 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
93 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
94 the saved bitmap (used for debugging).
96 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
98 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
100 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
102 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
103 cases as it's not supported in libgdiplus.
105 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
107 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
108 Point or PointF arrays as destination points.
110 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
112 * TestGraphics.cs: Add test cases for the normal behaviour of
115 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
117 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
118 NULL. This match MS behavior as seen in (unfixed) bug #81709.
120 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
122 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
123 pointer correctly in 64bits architectures. Thanks to Zoltan.
125 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
127 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
128 GdipDrawImageRectRect (GraphicsUnit).
129 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
130 DrawImageUnscaledAndClipped (2.0).
131 * TestRectangle.cs: Add test cases for negative width/height. Fix some
132 test cases that were using RectangleF instead of Rectangle.
133 * TestRectangleF.cs: Add test cases for negative width/height.
135 2007-05-08 Everaldo Canuto <everaldo@simios.org>
137 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
138 it is a reproduction of bug #81572 that checks width for multiline
141 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
143 * TestColor.cs: Under Windows ensure we're getting the same values for
146 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
148 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
149 and it's parameter's validations.
151 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
153 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
154 reworked LockUnlockBitmap (e.g. add assert messages).
156 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
158 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
159 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
160 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
161 Format16bppGrayScale.
163 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
165 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
168 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
170 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
171 if in particular case (it doesn't). Added Categoty("Valgrind") to a
172 test know to leak due to the API design.
174 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
176 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
177 the data when using ImageLockMode.ReadOnly (this makes some results
178 random when using MS GDI+).
180 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
182 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
183 (without unlocking it first).
184 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
185 returns a named color and a unnamed color.
186 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
187 two additionnal test cases for LockBits, Double locks (exception) and
188 invalid ImageLockMode (no exception).
190 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
192 * TestColor.cs: Add a few more test cases for ==, != and Equals
194 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
196 * ColorConverter.cs: Add test case with a null CultureInfo for
198 * ColorTranslator.cs: Add test cases with known values for FromHtml
199 * TestColor.cs: Made some test clearer about what they do/check.
201 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
203 * TestFont.cs: Add test cases for GetHeight(Graphics) and
204 GetHeight(float) methods.
206 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
208 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
209 crash libgdiplus if it's not updated to the latest svn revision).
210 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
211 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
213 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
215 * TestFont.cs: Add a test for exception thrown when an unavailable font
216 style is requested. (Marked NotWorking due to being platform specific.)
218 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
220 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
221 available on the system.
223 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
225 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
226 the test cases are now working properly.
227 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
229 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
231 * TestImage.cs: Add test cases for loading invalid files as an Image.
233 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
235 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
236 * TestImage.cs: Add test cases for loading metafile as Image.
238 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
240 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
243 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
245 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
246 for TARGET_JVM with not supported method calls
248 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
250 * SystemFontsTest.cs: Add more tests cases including disposing the
251 font instance returned by the SystemFonts class.
253 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
255 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
256 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
258 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
260 * ColorConverter.cs: Rename fixture to match our styleguide.
261 * ColorTranslator.cs: Rename fixture to match our styleguide.
263 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
265 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
268 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
270 * TestRegion.cs: Add test cases for matrix operations on infinite
271 regions (result is always an infinite region). Add test cases for
272 scale and scale+translate on regions (to see that they do not trigger
273 a convertion into bitmap-based regions).
275 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
277 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
278 and for checking clip bounds after operation on world tranformations.
280 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
282 * TestGraphics.cs: Add test case for trailing spaces when calling
283 MeasureString. #80680
285 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
287 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
288 serialization, which "works" under 2.0 but not under 1.1.
289 * TestImage.cs: Add test case for XmlSerializer on Image type, which
290 "works" under 2.0 but not under 1.1.
292 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
294 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
295 which use a decoder-only codec.
297 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
299 * GDIPlusTest.cs: Add test cases for loading unexisting files in
300 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
301 for error code returned by GdipGetImageGraphicsContext for indexed
304 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
306 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
307 implementation leads to false conclusions. MS GDI+ upgrades the
308 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
309 possible to create a Graphics from them.
310 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
311 under MS 1.x with ArgumentNullException.
313 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
315 * TestBitmap.cs: Added test case to create multiple bitmaps from a
317 * TestIcon.cs: Added test cases to create multiple icons from a
318 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
320 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
322 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
323 coexists in the same icon file.
325 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
327 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
328 11x22, to test for non perfect match icon selection.
329 * TestImage.cs: Add test cases for locked/unlocked streams when using
330 GDI+ (e.g. Mono running on Windows).
332 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
334 * TestIcon.cs: Add test cases for XP (32bpp) icons.
336 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
338 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
339 GetHbitmap and FromHbitmap.
340 * TestIcon.cs: Add test cases for all constructors. Add test cases for
341 saving icons (all sizes). Add test cases for roundtripping icons using
344 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
346 * GDIPlusTest.cs: Add test case for loading an icon and playing with
348 * TestIcon.cs: Add test cases for different sizes of icons.
350 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
352 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
353 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
355 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
356 specific, ignored test case.
358 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
360 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
361 on Linux MS Sans Sarif is mapped to other available font.
363 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
365 * SystemFontsTest.cs: Added test for DefaultFont.
367 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
369 * TestBrushes.cs: Ensure that the unit tests are destructive on the
370 brushes (since you can change their color and dispose them). Now only
371 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
372 any other unit test that use Brushes.* executed after this one.
374 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
376 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
378 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
380 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
381 icons provided here behave differently than normal icons (can't be
384 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
386 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
387 names, currently not working), GetStandardValuesSupported and
388 GetStandardValues methods.
390 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
392 * TestGraphics.cs: Add new MeasureString test cases.
393 * TestRectangle.cs: Add unit tests for == and != operators. Update
394 tests to NUnit 2.2 syntax.
395 * TestRectangleF.cs: Add unit tests for == and != operators. Update
396 tests to NUnit 2.2 syntax.
398 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
400 * TestGraphics.cs: Ignore new test cases when font is null (not
401 available). Add pixel size compares to MeasureString_Bug76664.
403 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
405 * TestGraphics.cs: Added test case to measure strings, some aren't yet
406 working. Modified some to get better checks (e.g. Int32.MaxValue for
409 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
411 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
413 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
415 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
416 tests dynamically (when fonts aren't installed).
418 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
420 * TestGraphics.cs: Added test cases for bug #77699 (with and without
423 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
425 * TestStringFormat.cs: fix build for TARGET_JVM.
427 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
429 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
430 like handling bad ranges (start, length) and hotkey prefix handling.
432 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
434 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
435 GdipSetStringFormatTabStops functions.
436 * TestStringFormat.cs: Added a more complex test case for Clone.
438 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
440 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
441 StringFormat functions.
442 * TestGraphics.cs: Avoid test cases failure if the font object can't
443 be created during fixture's setup.
444 * TestStringFormat.cs: Increased coverage of the unit tests.
446 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
448 * TestGraphics.cs: Add test cases for MeasureString and
449 MeasureCharacterRanges methods.
451 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
453 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
454 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
457 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
459 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
460 test. The test is bad because sometimes it uses Size instead of SizeF.
462 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
464 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
466 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
468 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
469 * TestImageConverter.cs: Added a test case when value is null (should
470 return "(none)"). Uncommented and splitted all exception test cases
471 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
473 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
475 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
476 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
478 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
480 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
481 seems to work only when the destination format is 32 bits.
483 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
485 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
487 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
489 * TextureBrushTest.cs: More test cases when only a partial part of the
490 image is being used and for cloning the brush.
492 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
494 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
495 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
497 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
499 * ColorConverter.cs: Add a new test case for a color with a integer
500 part that is too large to convert into an int.
501 * ColorTranslator.cs: Add more test cases for FromHtml method.
503 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
505 * GDIPlusTest.cs: Fix ImageAttributes test case.
506 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
508 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
510 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
511 Added new test cases for ImageAttributes. Removed some assertion for
512 GpGraphicsPath (which returns different value on monobuild win32 bot
513 than my own machine, uninit field ?).
515 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
517 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
518 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
520 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
522 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
524 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
526 * GDIPlusTest.cs: Added more test cases for Matrix functions.
528 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
530 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
533 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
535 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
537 * TestFont.cs: Ignore test cases if we cannot get any font family
540 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
542 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
543 struct like it's currently defined inside SD).
545 2006-08-12 Duncan Mak <duncan@novell.com>
547 * GDIPlusTest.cs: Removed all the local PInvoke methods.
548 (DrawingOperations): New test for various draw and fill operations
551 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
553 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
554 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
555 executes under Windows (GDI+);
556 * TestFont.cs: Added more test cases for ToLogFont including one that
557 shows that LOGFONT only works properly when it's a class (not a struct)
559 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
561 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
562 PathGradientBrush to fix unit tests under Windows.
563 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
564 fail when using MS GDI+ (e.g. Mono on Windows).
566 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
568 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
569 Widen) and some new tests for Matrix related GDI+ functions.
571 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
573 * TestRegion.cs: Add test case for excluding a rectangle from an
576 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
578 * GDIPlusTest.cs: Avoid leaking during tests.
580 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
582 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
585 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
587 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
588 Pen related GDI+ calls.
590 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
592 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
593 fixes some unit test failures seen with Mono running on Windows).
595 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
597 * TestFont.cs: Remove asserts that are system dependant.
599 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
601 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
603 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
605 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
606 * TestImage.cs: Added checks to validate that the thumbnail's callback
609 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
611 * SolidBrushTest.cs: New test case using DrawLine.
613 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
615 * TestImage.cs: Add test cases for GetThumbnailImage.
617 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
619 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
621 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
623 * TestFont.cs: Expanded a test case to check for bug #78721 where the
624 LOGFONT structure must be initialized even if the ToLogFont call fails
626 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
628 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
629 add a comment on a commented one (MakeTransparent ;-)
631 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
633 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
635 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
637 * TestColor.cs: added 2 more tests for serialization and enabled one
638 that was not working.
640 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
642 * FontFamilyTest.cs: New. Unit tests for FontFamily.
643 * TestFont.cs: Added more test cases to Font.
645 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
647 * TestImageFormatConverter.cs: Added test cases for all well known
648 ImageFormat short and long names using ConvertFrom.
650 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
652 * TestColor.cs: Added test cases for serialization. Currently we can't
653 deserialize Color coming from MS serialization.
655 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
657 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
658 permission and test the [Get|From]Hrgn methods.
660 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
662 * TestBitmap.cs: new tests for the default format and the default file
665 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
667 * ColorConverter.cs: Split unworking test case from ConvertFrom into
668 a separate test case (marked as NotWorking).
669 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
670 probably never tested under Windows (and doesn't work there).
671 * TestFontConverter.cs: Split test case for CreateInstance to check
672 for ArgumentException (2.0) or NullReferenceException (1.x).
673 * TestPointConverter.cs: Split test case for CreateInstance to check
674 for ArgumentException (2.0) or NullReferenceException (1.x).
675 * TestRectangleConverter.cs: Split test case for CreateInstance to
676 check for ArgumentException (2.0) or NullReferenceException (1.x).
677 * TestSizeConverter.cs: Split test case for CreateInstance to check
678 for ArgumentException (2.0) or NullReferenceException (1.x).
679 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
680 check for InvalidCastException and NullReferenceException.
681 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
682 Empty and SizeF(0,0) don't share the same hash code.
684 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
686 * TestImageConverter.cs: Adjust test cases as there is an additional
687 properties under 2.0.
688 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
690 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
692 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
693 * TestFont.cs: Fix tests under Windows (CAS related);
694 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
696 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
698 * PenTest.cs: Added a test case where the brush supplied to the .ctor
699 is disposed before the pen is used. Based on a sample from Paddy joy.
701 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
703 * PenTest.cs: New. Unit tests for Pen.
705 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
707 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
709 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
711 * TestRegion.cs: Added a new test case for unioning a rectangle with
712 infinity and a new test case for GetRegionScans.
714 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
716 * TestGraphics.cs: Re-introduce the removed check :)
718 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
720 * TestGraphics.cs: Temporarily remove the checks for the transform in
721 containers. This allows libgdiplus to get better visual results until
722 the matrix issue is fixed correctly (instead of returning the "right"
723 matrix and displaying wrong data).
725 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
727 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
728 for Save and Restore methods.
730 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
732 * TestGraphics.cs: Added new test cases for DrawCurve methods.
734 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
736 * TestBitmap.cs: added tests for UnlockBits when the target is an
737 indexed image and a non-indexed one.
739 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
741 * TestGraphics.cs: Added new test cases for clipping. Some of them do
744 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
746 * TestGraphics.cs: Added new test cases for bug #77129 where we should
747 not draw or fill rectangle(s) with negative width or height. Converted
748 all test cases to UNIX line endings.
750 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
752 * TestGraphics.cs: Added new test cases translating matrix with
753 different MatrixOrder and for multiplying a non-invertible matrix.
755 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
757 * TestGraphics.cs: Add new test cases for clipping.
759 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
761 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
762 path-based (using bitmaps in libgdiplus) and for regions that had a
763 binary operations applied (i.e. using a path tree in libgdiplus).
764 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
765 binary operators (Union, Intersection, Complement, Exclude and Xor)
766 on path based regions (using bitmaps in libgdiplus).
768 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
770 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
771 the appropriate size on each system
773 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
775 * RegionNonRectTest.cs: Updated comments on a test that fails on both
776 1.x and 2.0 MS runtime.
777 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
780 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
781 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
782 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
783 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
784 added #ifdef for TARGET_JVM.
786 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
787 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
789 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
791 * RegionDataTest.cs: New. Unit tests for RegionData.
792 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
793 * TestRegion.cs: Added new test cases for empty region and IsInfinite
794 behaviour with multiple rectangles / path-rectangle regions.
796 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
798 * TestRegion.cs: Mark a test case as NotWorking as it caused a
801 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
803 * RegionCas.cs: New. CAS unit tests for Region.
804 * TestRegion.cs: Added test cases to check for expected exceptions.
806 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
808 * TestFont.cs: Added test for LogFont conversion
810 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
812 * TestPoint.cs: Test new methods for .Net 2.0
813 * TestPointF.cs Test new methods for .Net 2.0
814 * ColorConverter.cs: Fixes for .Net 2.0
815 * TestSizeF.cs: Test new methods for .Net 2.0
816 * TestSize.cs: Test new methods for .Net 2.0
818 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
820 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
821 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
824 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
826 * ColorConverter.cs: added testcases for ConvertFrom and
827 three digit notaion color.
829 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
831 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
832 of indexed (1- and 4-bit) Bitmaps.
833 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
835 2005-09-19 Miguel de Icaza <miguel@novell.com>
837 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
839 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
841 * BitmapCas.cs: New. CAS unit tests for Bitmap.
842 * GraphicsCas.cs: New. CAS unit tests for Graphics.
843 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
844 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
845 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
846 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
847 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
848 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
849 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
850 UnmanagedCode permission to all tests. This shows (when executed under
851 MS runtime) that S.D API is safe and doesn't requires high privileges
852 to run - even if we know that, deep down, this calls into GDI+.
854 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
856 * TestGraphics.cs: Adds default properties, properties set/get and save
857 and restore status test
859 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
861 * TestGraphics.cs: resets graphics object status before every SetClip test
863 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
865 * TestImageConverter.cs: Re-enabled GetProperties test.
866 * TestPointConverter.cs: same.
867 * TestRectangleConverter.cs: same.
868 * TestSizeConverter.cs: same.
870 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
872 * TestImagge.cs: File not found exception, related to fix r49744
873 * TestBimap.cs: File not found exception, related to fix r49744
875 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
877 * TestGraphics.cs: New test case, only clipping for now
879 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
881 * TestPointConverter.cs: Use Assert class instead of deriving from
882 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
883 * TestRectangleConverter.cs: same.
884 * TestSizeConverter.cs: same.
886 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
888 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
891 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
893 * TestPens.cs: Add test for Equals method
894 * TestBrushes.cs: Add test for Equals method
896 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
898 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
899 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
900 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
901 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
903 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
905 * TestRegion.cs: Adds many new cases for the new region implementation
907 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
909 * ColorConverter.cs: Mono now also throws ArgumentException when
910 color value is not between 0 and 255.
911 * TestColor.cs: Added tests for invalid color values.
912 * TestRectangleConverter.cs: Fixed tests for conversion to/from
913 string. Added tests that verify results using specific cultures.
915 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
917 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
918 tests using current culture.
919 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
922 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
924 * TestColor.cs: Added test for ToString() on uninitialized color.
925 * TestColorConverter.cs: Added tests for ColorConverter.
927 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
929 * TestRegion.cs: new cases for Combine and Intersect
931 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
933 * TestRectangle.cs: Add new test.
935 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
937 * ColorConverter.cs, ColorTranslator.cs: added
938 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
939 tests for convert to/from string
941 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
943 * Color.cs: many new testcases added
945 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
947 * Size.cs, SizeF.cs: GetHashCode and ToString tests
949 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
951 * TestRectangle.cs, TestRectangleF.cs: add new testcases
953 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
955 * TestPoint.cs: GetHashCode and ToString tests added
956 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
959 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
961 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
962 the original stack trace.
964 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
966 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
967 tests to use tolerance.
969 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
971 * TestColor.cs: Added tests for GetHue, GetBrightness
974 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
975 * TestRegion.cs: added new IsVisible cases
977 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
979 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
981 2004-06-17 Ravindra <rkumar@novell.com>
983 * graphicsUi.cs: Formatted and moved to
984 Samples/System.Drawing directory.
985 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
986 Samples/System.Drawing directory.
987 * hering.cs: Formatted and moved to Samples/General directory.
988 * BmpPaint.cs: Ficed, formatted and moved to
989 Samples/System.Drawing directory.
990 * font1.cs: Formatted and renamed to font.cs. Moved to
991 Samples/System.Drawing directory.
993 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
995 * TestBitmap.cs: Corrected issues from my previous checkin.
997 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
999 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
1000 dependency on obsolete class, Assertion from NUnit.
1002 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1004 * TestImageConverter.cs: Removed dependency on obsolete class,
1005 Assertion from NUnit.
1007 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1009 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
1010 dependency on obsolete class, Assertion from NUnit.
1012 2004-05-27 Ravindra <rkumar@novell.com>
1014 * TestRectangleConverter.cs: Ignored the test that is failing
1015 because of bug #58435.
1016 * TestPointConverter.cs: Same.
1017 * TestSizeConverter.cs: Same.
1018 * TestImageConverter.cs: Same.
1020 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1022 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
1025 2004-05-26 Ravindra <rkumar@novell.com>
1027 * TestColor.cs: Added a test for testing ARGB values for all
1028 the static color properties.
1030 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1032 * TestIcon.cs: Added.
1033 * bitmaps/smiley.ico: Added.
1035 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1037 * TestImageFormatConverter.cs: Fixed issues with test case.
1039 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1041 * TestImageConverter.cs: Fixed issues with test case.
1043 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1045 * TestIconConverter.cs: Fixed issues with test case.
1047 2004-05-18 Ravindra <rkumar@novell.com>
1049 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1050 this under Test/System.Drawing.Drawing2D directory.
1052 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1054 * TestIconConverter.cs: Added.
1055 * bitmaps/VisualPng.ico: Added
1056 * bitmaps/VisualPng1.ico: Added
1058 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1060 * TestBitmap.cs: Modified method signature to static to be used in other file.
1061 * TestImageConverter.cs: Added.
1062 * TestImageFormatConverter.cs: Added
1064 2004-05-12 Jordi Mas <jordi@ximan.com>
1065 * TestBitmap.cs: added lockbitmap tests
1067 2004-05-07 Jordi Mas <jordi@ximan.com>
1068 * TestBitmap.cs: added rotation tests
1070 2004-04-23 Ravindra <rkumar@novell.com>
1072 * TestSystemPens.cs: Removed some unused exception variables.
1073 * TestRectangleConverter.cs: Removed culture dependent tests.
1074 * TestPointConverter.cs: Removed culture dependent tests.
1075 * TestSizeConverter.cs: Removed culture dependent tests.
1076 (These tests were not right because a constant culture specific string
1077 was being parsed by using current culture of the thread. It resulted in
1078 test failures when cultures do not match.)
1080 2004-04-22 Ravindra <rkumar@novell.com>
1082 * TestPointConverter.cs: Added.
1083 * TestSizeConverter.cs: Added.
1085 2004-04-22 Ravindra <rkumar@novell.com>
1087 * TestRectangleConverter.cs: Added.
1089 2004-04-21 Ravindra <rkumar@novell.com>
1091 * TestPens.cs: Added.
1093 2004-04-21 Ravindra <rkumar@novell.com>
1095 * TestBrushes.cs: Added.
1097 2004-04-16 Ravindra <rkumar@novell.com>
1099 * TestSystemPens.cs: Added.
1101 2004-03-13 Ravindra <rkumar@novell.com>
1103 * TestSystemBrushes.cs: Added test fail conditions.
1105 2004-03-12 Ravindra <rkumar@novell.com>
1107 * TestSystemBrushes.cs: Added.
1109 2004-03-17 Ravindra <rkumar@novell.com>
1110 * TestHatchBrush.cs: Added.
1112 2004-01-26 Ravindra <rkumar@novell.com>
1113 * TestPointF.cs: Added.
1114 * TestSize.cs: Added.
1117 2004-01-16 Ravindra <rkumar@novell.com>
1118 * BmpPaint.cs did not run on .NET.
1119 Modified to make it run on .NET. Specs say
1120 "Do not save an image to the same stream
1121 that was used to construct the image."
1123 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1124 * BmpPaint.cs modified
1126 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1127 * hering.cs save as Jpeg also
1129 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1132 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1135 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1136 * BmpPaint.cs ImageFormat specified for Save()
1139 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1142 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1144 * TestPoint.cs : Tests I've had in my node forever.