1 2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
3 * TestFont.cs: Add test cases for null checks to ensure we match
6 2008-10-06 Sebastien Pouliot <sebastien@ximian.com>
8 * TestColor.cs: Add test case, from Gert Driesen, for bug #410693
9 * TestRectangleF.cs: Add test case, from Imie Nazwisko, for bug #431587
11 2008-08-08 Gert Driesen <drieseng@users.sourceforge.net>
13 * TestIcon.cs: Add test case for bug #415581.
15 2008-08-08 Gert Driesen <drieseng@users.sourceforge.net>
17 * TestIcon.cs: Modified test for bug #410608 to work around bug
20 2008-08-07 Gert Driesen <drieseng@users.sourceforge.net>
22 * TestIcon.cs: Ignore test for bug #410608 on Unix, since it depends
25 2008-08-06 Gert Driesen <drieseng@users.sourceforge.net>
27 * TestIcon.cs: Add test case for bug #410608.
29 2008-07-07 Sebastien Pouliot <sebastien@ximian.com>
31 * TestBitmap.cs: Add test case for #406763 and similar cases.
33 2008-06-27 Sebastien Pouliot <sebastien@ximian.com>
35 * TestRegion.cs: Add test case for #402613 to verify Exclude.
36 Based on Jan Krajicek's code supplied inside the bug report.
38 2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
40 * TestPointConverter.cs: Add test cases to verify that no NRE
41 is thrown if culture is null in ConvertTo.
42 * TestSizeConverter.cs: Add test cases to verify that no NRE
43 is thrown if culture is null in ConvertTo.
45 2008-04-25 Sebastien Pouliot <sebastien@ximian.com>
47 * TestRegion.cs: Add test cases for #383878 to verify Intersect
48 with negative width & height and to check against the crash in
51 2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
53 * TestIcon.cs: Add test case for #366485.
55 2008-01-21 Gert Driesen <drieseng@users.sourceforge.net>
57 * TestGraphics.cs: Added test for bug #355141.
59 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
61 * GDIPlusTest.cs: Don't use internal Unit enum anymore.
63 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
65 * TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
68 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
70 * TestGraphics.cs: Add test case on TransformPoints for #349800.
72 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
74 * GDIPlusTest.cs : fix test build.
76 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
78 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
80 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
82 * TestBitmap.cs: XML serialization test case (#323246).
83 * TestImage.cs: XML serialization test case (#323246).
85 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
87 * Image.cs: Add test cases for the stream position when loading and
88 saving bitmaps and metafiles. Some of them are based on Gert Driesen
91 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
93 * TestGraphics.cs: Test against NRE in MultiplyTransform
95 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
97 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
98 now that #81572 is fixed.
100 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
102 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
104 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
106 * TextureBrushTest.cs: Added test cases for textures using alpha
109 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
111 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
113 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
115 * RegionNonRectTest.cs: Add test cases for combining empty paths and
116 regions with infinite regions.
118 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
120 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
122 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
124 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
125 methods. Add test case for drawing lines with a pen's width > 1.
127 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
129 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
130 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
131 the saved bitmap (used for debugging).
133 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
135 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
137 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
139 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
140 cases as it's not supported in libgdiplus.
142 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
144 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
145 Point or PointF arrays as destination points.
147 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
149 * TestGraphics.cs: Add test cases for the normal behaviour of
152 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
154 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
155 NULL. This match MS behavior as seen in (unfixed) bug #81709.
157 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
159 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
160 pointer correctly in 64bits architectures. Thanks to Zoltan.
162 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
164 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
165 GdipDrawImageRectRect (GraphicsUnit).
166 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
167 DrawImageUnscaledAndClipped (2.0).
168 * TestRectangle.cs: Add test cases for negative width/height. Fix some
169 test cases that were using RectangleF instead of Rectangle.
170 * TestRectangleF.cs: Add test cases for negative width/height.
172 2007-05-08 Everaldo Canuto <everaldo@simios.org>
174 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
175 it is a reproduction of bug #81572 that checks width for multiline
178 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
180 * TestColor.cs: Under Windows ensure we're getting the same values for
183 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
185 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
186 and it's parameter's validations.
188 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
190 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
191 reworked LockUnlockBitmap (e.g. add assert messages).
193 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
195 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
196 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
197 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
198 Format16bppGrayScale.
200 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
202 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
205 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
207 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
208 if in particular case (it doesn't). Added Categoty("Valgrind") to a
209 test know to leak due to the API design.
211 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
213 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
214 the data when using ImageLockMode.ReadOnly (this makes some results
215 random when using MS GDI+).
217 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
219 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
220 (without unlocking it first).
221 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
222 returns a named color and a unnamed color.
223 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
224 two additionnal test cases for LockBits, Double locks (exception) and
225 invalid ImageLockMode (no exception).
227 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
229 * TestColor.cs: Add a few more test cases for ==, != and Equals
231 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
233 * ColorConverter.cs: Add test case with a null CultureInfo for
235 * ColorTranslator.cs: Add test cases with known values for FromHtml
236 * TestColor.cs: Made some test clearer about what they do/check.
238 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
240 * TestFont.cs: Add test cases for GetHeight(Graphics) and
241 GetHeight(float) methods.
243 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
245 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
246 crash libgdiplus if it's not updated to the latest svn revision).
247 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
248 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
250 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
252 * TestFont.cs: Add a test for exception thrown when an unavailable font
253 style is requested. (Marked NotWorking due to being platform specific.)
255 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
257 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
258 available on the system.
260 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
262 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
263 the test cases are now working properly.
264 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
266 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
268 * TestImage.cs: Add test cases for loading invalid files as an Image.
270 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
272 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
273 * TestImage.cs: Add test cases for loading metafile as Image.
275 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
277 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
280 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
282 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
283 for TARGET_JVM with not supported method calls
285 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
287 * SystemFontsTest.cs: Add more tests cases including disposing the
288 font instance returned by the SystemFonts class.
290 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
292 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
293 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
295 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
297 * ColorConverter.cs: Rename fixture to match our styleguide.
298 * ColorTranslator.cs: Rename fixture to match our styleguide.
300 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
302 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
305 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
307 * TestRegion.cs: Add test cases for matrix operations on infinite
308 regions (result is always an infinite region). Add test cases for
309 scale and scale+translate on regions (to see that they do not trigger
310 a convertion into bitmap-based regions).
312 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
314 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
315 and for checking clip bounds after operation on world tranformations.
317 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
319 * TestGraphics.cs: Add test case for trailing spaces when calling
320 MeasureString. #80680
322 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
324 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
325 serialization, which "works" under 2.0 but not under 1.1.
326 * TestImage.cs: Add test case for XmlSerializer on Image type, which
327 "works" under 2.0 but not under 1.1.
329 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
331 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
332 which use a decoder-only codec.
334 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
336 * GDIPlusTest.cs: Add test cases for loading unexisting files in
337 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
338 for error code returned by GdipGetImageGraphicsContext for indexed
341 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
343 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
344 implementation leads to false conclusions. MS GDI+ upgrades the
345 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
346 possible to create a Graphics from them.
347 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
348 under MS 1.x with ArgumentNullException.
350 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
352 * TestBitmap.cs: Added test case to create multiple bitmaps from a
354 * TestIcon.cs: Added test cases to create multiple icons from a
355 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
357 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
359 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
360 coexists in the same icon file.
362 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
364 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
365 11x22, to test for non perfect match icon selection.
366 * TestImage.cs: Add test cases for locked/unlocked streams when using
367 GDI+ (e.g. Mono running on Windows).
369 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
371 * TestIcon.cs: Add test cases for XP (32bpp) icons.
373 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
375 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
376 GetHbitmap and FromHbitmap.
377 * TestIcon.cs: Add test cases for all constructors. Add test cases for
378 saving icons (all sizes). Add test cases for roundtripping icons using
381 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
383 * GDIPlusTest.cs: Add test case for loading an icon and playing with
385 * TestIcon.cs: Add test cases for different sizes of icons.
387 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
389 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
390 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
392 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
393 specific, ignored test case.
395 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
397 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
398 on Linux MS Sans Sarif is mapped to other available font.
400 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
402 * SystemFontsTest.cs: Added test for DefaultFont.
404 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
406 * TestBrushes.cs: Ensure that the unit tests are destructive on the
407 brushes (since you can change their color and dispose them). Now only
408 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
409 any other unit test that use Brushes.* executed after this one.
411 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
413 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
415 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
417 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
418 icons provided here behave differently than normal icons (can't be
421 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
423 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
424 names, currently not working), GetStandardValuesSupported and
425 GetStandardValues methods.
427 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
429 * TestGraphics.cs: Add new MeasureString test cases.
430 * TestRectangle.cs: Add unit tests for == and != operators. Update
431 tests to NUnit 2.2 syntax.
432 * TestRectangleF.cs: Add unit tests for == and != operators. Update
433 tests to NUnit 2.2 syntax.
435 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
437 * TestGraphics.cs: Ignore new test cases when font is null (not
438 available). Add pixel size compares to MeasureString_Bug76664.
440 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
442 * TestGraphics.cs: Added test case to measure strings, some aren't yet
443 working. Modified some to get better checks (e.g. Int32.MaxValue for
446 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
448 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
450 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
452 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
453 tests dynamically (when fonts aren't installed).
455 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
457 * TestGraphics.cs: Added test cases for bug #77699 (with and without
460 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
462 * TestStringFormat.cs: fix build for TARGET_JVM.
464 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
466 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
467 like handling bad ranges (start, length) and hotkey prefix handling.
469 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
471 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
472 GdipSetStringFormatTabStops functions.
473 * TestStringFormat.cs: Added a more complex test case for Clone.
475 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
477 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
478 StringFormat functions.
479 * TestGraphics.cs: Avoid test cases failure if the font object can't
480 be created during fixture's setup.
481 * TestStringFormat.cs: Increased coverage of the unit tests.
483 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
485 * TestGraphics.cs: Add test cases for MeasureString and
486 MeasureCharacterRanges methods.
488 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
490 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
491 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
494 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
496 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
497 test. The test is bad because sometimes it uses Size instead of SizeF.
499 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
501 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
503 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
505 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
506 * TestImageConverter.cs: Added a test case when value is null (should
507 return "(none)"). Uncommented and splitted all exception test cases
508 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
510 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
512 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
513 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
515 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
517 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
518 seems to work only when the destination format is 32 bits.
520 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
522 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
524 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
526 * TextureBrushTest.cs: More test cases when only a partial part of the
527 image is being used and for cloning the brush.
529 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
531 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
532 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
534 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
536 * ColorConverter.cs: Add a new test case for a color with a integer
537 part that is too large to convert into an int.
538 * ColorTranslator.cs: Add more test cases for FromHtml method.
540 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
542 * GDIPlusTest.cs: Fix ImageAttributes test case.
543 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
545 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
547 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
548 Added new test cases for ImageAttributes. Removed some assertion for
549 GpGraphicsPath (which returns different value on monobuild win32 bot
550 than my own machine, uninit field ?).
552 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
554 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
555 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
557 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
559 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
561 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
563 * GDIPlusTest.cs: Added more test cases for Matrix functions.
565 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
567 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
570 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
572 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
574 * TestFont.cs: Ignore test cases if we cannot get any font family
577 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
579 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
580 struct like it's currently defined inside SD).
582 2006-08-12 Duncan Mak <duncan@novell.com>
584 * GDIPlusTest.cs: Removed all the local PInvoke methods.
585 (DrawingOperations): New test for various draw and fill operations
588 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
590 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
591 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
592 executes under Windows (GDI+);
593 * TestFont.cs: Added more test cases for ToLogFont including one that
594 shows that LOGFONT only works properly when it's a class (not a struct)
596 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
598 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
599 PathGradientBrush to fix unit tests under Windows.
600 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
601 fail when using MS GDI+ (e.g. Mono on Windows).
603 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
605 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
606 Widen) and some new tests for Matrix related GDI+ functions.
608 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
610 * TestRegion.cs: Add test case for excluding a rectangle from an
613 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
615 * GDIPlusTest.cs: Avoid leaking during tests.
617 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
619 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
622 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
624 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
625 Pen related GDI+ calls.
627 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
629 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
630 fixes some unit test failures seen with Mono running on Windows).
632 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
634 * TestFont.cs: Remove asserts that are system dependant.
636 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
638 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
640 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
642 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
643 * TestImage.cs: Added checks to validate that the thumbnail's callback
646 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
648 * SolidBrushTest.cs: New test case using DrawLine.
650 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
652 * TestImage.cs: Add test cases for GetThumbnailImage.
654 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
656 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
658 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
660 * TestFont.cs: Expanded a test case to check for bug #78721 where the
661 LOGFONT structure must be initialized even if the ToLogFont call fails
663 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
665 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
666 add a comment on a commented one (MakeTransparent ;-)
668 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
670 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
672 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
674 * TestColor.cs: added 2 more tests for serialization and enabled one
675 that was not working.
677 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
679 * FontFamilyTest.cs: New. Unit tests for FontFamily.
680 * TestFont.cs: Added more test cases to Font.
682 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
684 * TestImageFormatConverter.cs: Added test cases for all well known
685 ImageFormat short and long names using ConvertFrom.
687 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
689 * TestColor.cs: Added test cases for serialization. Currently we can't
690 deserialize Color coming from MS serialization.
692 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
694 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
695 permission and test the [Get|From]Hrgn methods.
697 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
699 * TestBitmap.cs: new tests for the default format and the default file
702 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
704 * ColorConverter.cs: Split unworking test case from ConvertFrom into
705 a separate test case (marked as NotWorking).
706 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
707 probably never tested under Windows (and doesn't work there).
708 * TestFontConverter.cs: Split test case for CreateInstance to check
709 for ArgumentException (2.0) or NullReferenceException (1.x).
710 * TestPointConverter.cs: Split test case for CreateInstance to check
711 for ArgumentException (2.0) or NullReferenceException (1.x).
712 * TestRectangleConverter.cs: Split test case for CreateInstance to
713 check for ArgumentException (2.0) or NullReferenceException (1.x).
714 * TestSizeConverter.cs: Split test case for CreateInstance to check
715 for ArgumentException (2.0) or NullReferenceException (1.x).
716 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
717 check for InvalidCastException and NullReferenceException.
718 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
719 Empty and SizeF(0,0) don't share the same hash code.
721 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
723 * TestImageConverter.cs: Adjust test cases as there is an additional
724 properties under 2.0.
725 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
727 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
729 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
730 * TestFont.cs: Fix tests under Windows (CAS related);
731 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
733 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
735 * PenTest.cs: Added a test case where the brush supplied to the .ctor
736 is disposed before the pen is used. Based on a sample from Paddy joy.
738 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
740 * PenTest.cs: New. Unit tests for Pen.
742 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
744 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
746 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
748 * TestRegion.cs: Added a new test case for unioning a rectangle with
749 infinity and a new test case for GetRegionScans.
751 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
753 * TestGraphics.cs: Re-introduce the removed check :)
755 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
757 * TestGraphics.cs: Temporarily remove the checks for the transform in
758 containers. This allows libgdiplus to get better visual results until
759 the matrix issue is fixed correctly (instead of returning the "right"
760 matrix and displaying wrong data).
762 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
764 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
765 for Save and Restore methods.
767 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
769 * TestGraphics.cs: Added new test cases for DrawCurve methods.
771 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
773 * TestBitmap.cs: added tests for UnlockBits when the target is an
774 indexed image and a non-indexed one.
776 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
778 * TestGraphics.cs: Added new test cases for clipping. Some of them do
781 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
783 * TestGraphics.cs: Added new test cases for bug #77129 where we should
784 not draw or fill rectangle(s) with negative width or height. Converted
785 all test cases to UNIX line endings.
787 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
789 * TestGraphics.cs: Added new test cases translating matrix with
790 different MatrixOrder and for multiplying a non-invertible matrix.
792 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
794 * TestGraphics.cs: Add new test cases for clipping.
796 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
798 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
799 path-based (using bitmaps in libgdiplus) and for regions that had a
800 binary operations applied (i.e. using a path tree in libgdiplus).
801 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
802 binary operators (Union, Intersection, Complement, Exclude and Xor)
803 on path based regions (using bitmaps in libgdiplus).
805 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
807 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
808 the appropriate size on each system
810 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
812 * RegionNonRectTest.cs: Updated comments on a test that fails on both
813 1.x and 2.0 MS runtime.
814 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
817 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
818 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
819 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
820 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
821 added #ifdef for TARGET_JVM.
823 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
824 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
826 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
828 * RegionDataTest.cs: New. Unit tests for RegionData.
829 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
830 * TestRegion.cs: Added new test cases for empty region and IsInfinite
831 behaviour with multiple rectangles / path-rectangle regions.
833 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
835 * TestRegion.cs: Mark a test case as NotWorking as it caused a
838 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
840 * RegionCas.cs: New. CAS unit tests for Region.
841 * TestRegion.cs: Added test cases to check for expected exceptions.
843 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
845 * TestFont.cs: Added test for LogFont conversion
847 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
849 * TestPoint.cs: Test new methods for .Net 2.0
850 * TestPointF.cs Test new methods for .Net 2.0
851 * ColorConverter.cs: Fixes for .Net 2.0
852 * TestSizeF.cs: Test new methods for .Net 2.0
853 * TestSize.cs: Test new methods for .Net 2.0
855 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
857 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
858 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
861 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
863 * ColorConverter.cs: added testcases for ConvertFrom and
864 three digit notaion color.
866 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
868 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
869 of indexed (1- and 4-bit) Bitmaps.
870 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
872 2005-09-19 Miguel de Icaza <miguel@novell.com>
874 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
876 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
878 * BitmapCas.cs: New. CAS unit tests for Bitmap.
879 * GraphicsCas.cs: New. CAS unit tests for Graphics.
880 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
881 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
882 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
883 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
884 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
885 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
886 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
887 UnmanagedCode permission to all tests. This shows (when executed under
888 MS runtime) that S.D API is safe and doesn't requires high privileges
889 to run - even if we know that, deep down, this calls into GDI+.
891 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
893 * TestGraphics.cs: Adds default properties, properties set/get and save
894 and restore status test
896 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
898 * TestGraphics.cs: resets graphics object status before every SetClip test
900 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
902 * TestImageConverter.cs: Re-enabled GetProperties test.
903 * TestPointConverter.cs: same.
904 * TestRectangleConverter.cs: same.
905 * TestSizeConverter.cs: same.
907 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
909 * TestImagge.cs: File not found exception, related to fix r49744
910 * TestBimap.cs: File not found exception, related to fix r49744
912 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
914 * TestGraphics.cs: New test case, only clipping for now
916 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
918 * TestPointConverter.cs: Use Assert class instead of deriving from
919 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
920 * TestRectangleConverter.cs: same.
921 * TestSizeConverter.cs: same.
923 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
925 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
928 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
930 * TestPens.cs: Add test for Equals method
931 * TestBrushes.cs: Add test for Equals method
933 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
935 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
936 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
937 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
938 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
940 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
942 * TestRegion.cs: Adds many new cases for the new region implementation
944 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
946 * ColorConverter.cs: Mono now also throws ArgumentException when
947 color value is not between 0 and 255.
948 * TestColor.cs: Added tests for invalid color values.
949 * TestRectangleConverter.cs: Fixed tests for conversion to/from
950 string. Added tests that verify results using specific cultures.
952 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
954 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
955 tests using current culture.
956 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
959 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
961 * TestColor.cs: Added test for ToString() on uninitialized color.
962 * TestColorConverter.cs: Added tests for ColorConverter.
964 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
966 * TestRegion.cs: new cases for Combine and Intersect
968 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
970 * TestRectangle.cs: Add new test.
972 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
974 * ColorConverter.cs, ColorTranslator.cs: added
975 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
976 tests for convert to/from string
978 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
980 * Color.cs: many new testcases added
982 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
984 * Size.cs, SizeF.cs: GetHashCode and ToString tests
986 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
988 * TestRectangle.cs, TestRectangleF.cs: add new testcases
990 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
992 * TestPoint.cs: GetHashCode and ToString tests added
993 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
996 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
998 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
999 the original stack trace.
1001 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1003 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
1004 tests to use tolerance.
1006 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1008 * TestColor.cs: Added tests for GetHue, GetBrightness
1011 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
1012 * TestRegion.cs: added new IsVisible cases
1014 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
1016 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
1018 2004-06-17 Ravindra <rkumar@novell.com>
1020 * graphicsUi.cs: Formatted and moved to
1021 Samples/System.Drawing directory.
1022 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
1023 Samples/System.Drawing directory.
1024 * hering.cs: Formatted and moved to Samples/General directory.
1025 * BmpPaint.cs: Ficed, formatted and moved to
1026 Samples/System.Drawing directory.
1027 * font1.cs: Formatted and renamed to font.cs. Moved to
1028 Samples/System.Drawing directory.
1030 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
1032 * TestBitmap.cs: Corrected issues from my previous checkin.
1034 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
1036 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
1037 dependency on obsolete class, Assertion from NUnit.
1039 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1041 * TestImageConverter.cs: Removed dependency on obsolete class,
1042 Assertion from NUnit.
1044 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1046 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
1047 dependency on obsolete class, Assertion from NUnit.
1049 2004-05-27 Ravindra <rkumar@novell.com>
1051 * TestRectangleConverter.cs: Ignored the test that is failing
1052 because of bug #58435.
1053 * TestPointConverter.cs: Same.
1054 * TestSizeConverter.cs: Same.
1055 * TestImageConverter.cs: Same.
1057 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1059 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
1062 2004-05-26 Ravindra <rkumar@novell.com>
1064 * TestColor.cs: Added a test for testing ARGB values for all
1065 the static color properties.
1067 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1069 * TestIcon.cs: Added.
1070 * bitmaps/smiley.ico: Added.
1072 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1074 * TestImageFormatConverter.cs: Fixed issues with test case.
1076 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1078 * TestImageConverter.cs: Fixed issues with test case.
1080 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1082 * TestIconConverter.cs: Fixed issues with test case.
1084 2004-05-18 Ravindra <rkumar@novell.com>
1086 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1087 this under Test/System.Drawing.Drawing2D directory.
1089 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1091 * TestIconConverter.cs: Added.
1092 * bitmaps/VisualPng.ico: Added
1093 * bitmaps/VisualPng1.ico: Added
1095 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1097 * TestBitmap.cs: Modified method signature to static to be used in other file.
1098 * TestImageConverter.cs: Added.
1099 * TestImageFormatConverter.cs: Added
1101 2004-05-12 Jordi Mas <jordi@ximan.com>
1102 * TestBitmap.cs: added lockbitmap tests
1104 2004-05-07 Jordi Mas <jordi@ximan.com>
1105 * TestBitmap.cs: added rotation tests
1107 2004-04-23 Ravindra <rkumar@novell.com>
1109 * TestSystemPens.cs: Removed some unused exception variables.
1110 * TestRectangleConverter.cs: Removed culture dependent tests.
1111 * TestPointConverter.cs: Removed culture dependent tests.
1112 * TestSizeConverter.cs: Removed culture dependent tests.
1113 (These tests were not right because a constant culture specific string
1114 was being parsed by using current culture of the thread. It resulted in
1115 test failures when cultures do not match.)
1117 2004-04-22 Ravindra <rkumar@novell.com>
1119 * TestPointConverter.cs: Added.
1120 * TestSizeConverter.cs: Added.
1122 2004-04-22 Ravindra <rkumar@novell.com>
1124 * TestRectangleConverter.cs: Added.
1126 2004-04-21 Ravindra <rkumar@novell.com>
1128 * TestPens.cs: Added.
1130 2004-04-21 Ravindra <rkumar@novell.com>
1132 * TestBrushes.cs: Added.
1134 2004-04-16 Ravindra <rkumar@novell.com>
1136 * TestSystemPens.cs: Added.
1138 2004-03-13 Ravindra <rkumar@novell.com>
1140 * TestSystemBrushes.cs: Added test fail conditions.
1142 2004-03-12 Ravindra <rkumar@novell.com>
1144 * TestSystemBrushes.cs: Added.
1146 2004-03-17 Ravindra <rkumar@novell.com>
1147 * TestHatchBrush.cs: Added.
1149 2004-01-26 Ravindra <rkumar@novell.com>
1150 * TestPointF.cs: Added.
1151 * TestSize.cs: Added.
1154 2004-01-16 Ravindra <rkumar@novell.com>
1155 * BmpPaint.cs did not run on .NET.
1156 Modified to make it run on .NET. Specs say
1157 "Do not save an image to the same stream
1158 that was used to construct the image."
1160 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1161 * BmpPaint.cs modified
1163 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1164 * hering.cs save as Jpeg also
1166 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1169 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1172 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1173 * BmpPaint.cs ImageFormat specified for Save()
1176 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1179 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1181 * TestPoint.cs : Tests I've had in my node forever.