1 2008-10-06 Sebastien Pouliot <sebastien@ximian.com>
3 * TestColor.cs: Add test case, from Gert Driesen, for bug #410693
4 * TestRectangleF.cs: Add test case, from Imie Nazwisko, for bug #431587
6 2008-08-08 Gert Driesen <drieseng@users.sourceforge.net>
8 * TestIcon.cs: Add test case for bug #415581.
10 2008-08-08 Gert Driesen <drieseng@users.sourceforge.net>
12 * TestIcon.cs: Modified test for bug #410608 to work around bug
15 2008-08-07 Gert Driesen <drieseng@users.sourceforge.net>
17 * TestIcon.cs: Ignore test for bug #410608 on Unix, since it depends
20 2008-08-06 Gert Driesen <drieseng@users.sourceforge.net>
22 * TestIcon.cs: Add test case for bug #410608.
24 2008-07-07 Sebastien Pouliot <sebastien@ximian.com>
26 * TestBitmap.cs: Add test case for #406763 and similar cases.
28 2008-06-27 Sebastien Pouliot <sebastien@ximian.com>
30 * TestRegion.cs: Add test case for #402613 to verify Exclude.
31 Based on Jan Krajicek's code supplied inside the bug report.
33 2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
35 * TestPointConverter.cs: Add test cases to verify that no NRE
36 is thrown if culture is null in ConvertTo.
37 * TestSizeConverter.cs: Add test cases to verify that no NRE
38 is thrown if culture is null in ConvertTo.
40 2008-04-25 Sebastien Pouliot <sebastien@ximian.com>
42 * TestRegion.cs: Add test cases for #383878 to verify Intersect
43 with negative width & height and to check against the crash in
46 2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
48 * TestIcon.cs: Add test case for #366485.
50 2008-01-21 Gert Driesen <drieseng@users.sourceforge.net>
52 * TestGraphics.cs: Added test for bug #355141.
54 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
56 * GDIPlusTest.cs: Don't use internal Unit enum anymore.
58 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
60 * TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
63 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
65 * TestGraphics.cs: Add test case on TransformPoints for #349800.
67 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
69 * GDIPlusTest.cs : fix test build.
71 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
73 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
75 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
77 * TestBitmap.cs: XML serialization test case (#323246).
78 * TestImage.cs: XML serialization test case (#323246).
80 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
82 * Image.cs: Add test cases for the stream position when loading and
83 saving bitmaps and metafiles. Some of them are based on Gert Driesen
86 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
88 * TestGraphics.cs: Test against NRE in MultiplyTransform
90 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
92 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
93 now that #81572 is fixed.
95 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
97 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
99 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
101 * TextureBrushTest.cs: Added test cases for textures using alpha
104 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
106 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
108 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
110 * RegionNonRectTest.cs: Add test cases for combining empty paths and
111 regions with infinite regions.
113 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
115 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
117 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
119 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
120 methods. Add test case for drawing lines with a pen's width > 1.
122 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
124 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
125 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
126 the saved bitmap (used for debugging).
128 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
130 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
132 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
134 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
135 cases as it's not supported in libgdiplus.
137 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
139 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
140 Point or PointF arrays as destination points.
142 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
144 * TestGraphics.cs: Add test cases for the normal behaviour of
147 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
149 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
150 NULL. This match MS behavior as seen in (unfixed) bug #81709.
152 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
154 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
155 pointer correctly in 64bits architectures. Thanks to Zoltan.
157 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
159 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
160 GdipDrawImageRectRect (GraphicsUnit).
161 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
162 DrawImageUnscaledAndClipped (2.0).
163 * TestRectangle.cs: Add test cases for negative width/height. Fix some
164 test cases that were using RectangleF instead of Rectangle.
165 * TestRectangleF.cs: Add test cases for negative width/height.
167 2007-05-08 Everaldo Canuto <everaldo@simios.org>
169 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
170 it is a reproduction of bug #81572 that checks width for multiline
173 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
175 * TestColor.cs: Under Windows ensure we're getting the same values for
178 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
180 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
181 and it's parameter's validations.
183 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
185 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
186 reworked LockUnlockBitmap (e.g. add assert messages).
188 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
190 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
191 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
192 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
193 Format16bppGrayScale.
195 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
197 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
200 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
202 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
203 if in particular case (it doesn't). Added Categoty("Valgrind") to a
204 test know to leak due to the API design.
206 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
208 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
209 the data when using ImageLockMode.ReadOnly (this makes some results
210 random when using MS GDI+).
212 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
214 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
215 (without unlocking it first).
216 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
217 returns a named color and a unnamed color.
218 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
219 two additionnal test cases for LockBits, Double locks (exception) and
220 invalid ImageLockMode (no exception).
222 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
224 * TestColor.cs: Add a few more test cases for ==, != and Equals
226 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
228 * ColorConverter.cs: Add test case with a null CultureInfo for
230 * ColorTranslator.cs: Add test cases with known values for FromHtml
231 * TestColor.cs: Made some test clearer about what they do/check.
233 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
235 * TestFont.cs: Add test cases for GetHeight(Graphics) and
236 GetHeight(float) methods.
238 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
240 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
241 crash libgdiplus if it's not updated to the latest svn revision).
242 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
243 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
245 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
247 * TestFont.cs: Add a test for exception thrown when an unavailable font
248 style is requested. (Marked NotWorking due to being platform specific.)
250 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
252 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
253 available on the system.
255 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
257 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
258 the test cases are now working properly.
259 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
261 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
263 * TestImage.cs: Add test cases for loading invalid files as an Image.
265 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
267 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
268 * TestImage.cs: Add test cases for loading metafile as Image.
270 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
272 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
275 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
277 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
278 for TARGET_JVM with not supported method calls
280 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
282 * SystemFontsTest.cs: Add more tests cases including disposing the
283 font instance returned by the SystemFonts class.
285 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
287 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
288 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
290 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
292 * ColorConverter.cs: Rename fixture to match our styleguide.
293 * ColorTranslator.cs: Rename fixture to match our styleguide.
295 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
297 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
300 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
302 * TestRegion.cs: Add test cases for matrix operations on infinite
303 regions (result is always an infinite region). Add test cases for
304 scale and scale+translate on regions (to see that they do not trigger
305 a convertion into bitmap-based regions).
307 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
309 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
310 and for checking clip bounds after operation on world tranformations.
312 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
314 * TestGraphics.cs: Add test case for trailing spaces when calling
315 MeasureString. #80680
317 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
319 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
320 serialization, which "works" under 2.0 but not under 1.1.
321 * TestImage.cs: Add test case for XmlSerializer on Image type, which
322 "works" under 2.0 but not under 1.1.
324 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
326 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
327 which use a decoder-only codec.
329 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
331 * GDIPlusTest.cs: Add test cases for loading unexisting files in
332 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
333 for error code returned by GdipGetImageGraphicsContext for indexed
336 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
338 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
339 implementation leads to false conclusions. MS GDI+ upgrades the
340 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
341 possible to create a Graphics from them.
342 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
343 under MS 1.x with ArgumentNullException.
345 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
347 * TestBitmap.cs: Added test case to create multiple bitmaps from a
349 * TestIcon.cs: Added test cases to create multiple icons from a
350 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
352 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
354 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
355 coexists in the same icon file.
357 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
359 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
360 11x22, to test for non perfect match icon selection.
361 * TestImage.cs: Add test cases for locked/unlocked streams when using
362 GDI+ (e.g. Mono running on Windows).
364 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
366 * TestIcon.cs: Add test cases for XP (32bpp) icons.
368 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
370 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
371 GetHbitmap and FromHbitmap.
372 * TestIcon.cs: Add test cases for all constructors. Add test cases for
373 saving icons (all sizes). Add test cases for roundtripping icons using
376 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
378 * GDIPlusTest.cs: Add test case for loading an icon and playing with
380 * TestIcon.cs: Add test cases for different sizes of icons.
382 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
384 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
385 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
387 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
388 specific, ignored test case.
390 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
392 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
393 on Linux MS Sans Sarif is mapped to other available font.
395 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
397 * SystemFontsTest.cs: Added test for DefaultFont.
399 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
401 * TestBrushes.cs: Ensure that the unit tests are destructive on the
402 brushes (since you can change their color and dispose them). Now only
403 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
404 any other unit test that use Brushes.* executed after this one.
406 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
408 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
410 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
412 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
413 icons provided here behave differently than normal icons (can't be
416 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
418 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
419 names, currently not working), GetStandardValuesSupported and
420 GetStandardValues methods.
422 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
424 * TestGraphics.cs: Add new MeasureString test cases.
425 * TestRectangle.cs: Add unit tests for == and != operators. Update
426 tests to NUnit 2.2 syntax.
427 * TestRectangleF.cs: Add unit tests for == and != operators. Update
428 tests to NUnit 2.2 syntax.
430 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
432 * TestGraphics.cs: Ignore new test cases when font is null (not
433 available). Add pixel size compares to MeasureString_Bug76664.
435 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
437 * TestGraphics.cs: Added test case to measure strings, some aren't yet
438 working. Modified some to get better checks (e.g. Int32.MaxValue for
441 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
443 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
445 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
447 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
448 tests dynamically (when fonts aren't installed).
450 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
452 * TestGraphics.cs: Added test cases for bug #77699 (with and without
455 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
457 * TestStringFormat.cs: fix build for TARGET_JVM.
459 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
461 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
462 like handling bad ranges (start, length) and hotkey prefix handling.
464 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
466 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
467 GdipSetStringFormatTabStops functions.
468 * TestStringFormat.cs: Added a more complex test case for Clone.
470 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
472 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
473 StringFormat functions.
474 * TestGraphics.cs: Avoid test cases failure if the font object can't
475 be created during fixture's setup.
476 * TestStringFormat.cs: Increased coverage of the unit tests.
478 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
480 * TestGraphics.cs: Add test cases for MeasureString and
481 MeasureCharacterRanges methods.
483 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
485 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
486 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
489 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
491 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
492 test. The test is bad because sometimes it uses Size instead of SizeF.
494 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
496 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
498 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
500 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
501 * TestImageConverter.cs: Added a test case when value is null (should
502 return "(none)"). Uncommented and splitted all exception test cases
503 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
505 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
507 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
508 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
510 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
512 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
513 seems to work only when the destination format is 32 bits.
515 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
517 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
519 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
521 * TextureBrushTest.cs: More test cases when only a partial part of the
522 image is being used and for cloning the brush.
524 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
526 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
527 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
529 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
531 * ColorConverter.cs: Add a new test case for a color with a integer
532 part that is too large to convert into an int.
533 * ColorTranslator.cs: Add more test cases for FromHtml method.
535 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
537 * GDIPlusTest.cs: Fix ImageAttributes test case.
538 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
540 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
542 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
543 Added new test cases for ImageAttributes. Removed some assertion for
544 GpGraphicsPath (which returns different value on monobuild win32 bot
545 than my own machine, uninit field ?).
547 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
549 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
550 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
552 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
554 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
556 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
558 * GDIPlusTest.cs: Added more test cases for Matrix functions.
560 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
562 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
565 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
567 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
569 * TestFont.cs: Ignore test cases if we cannot get any font family
572 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
574 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
575 struct like it's currently defined inside SD).
577 2006-08-12 Duncan Mak <duncan@novell.com>
579 * GDIPlusTest.cs: Removed all the local PInvoke methods.
580 (DrawingOperations): New test for various draw and fill operations
583 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
585 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
586 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
587 executes under Windows (GDI+);
588 * TestFont.cs: Added more test cases for ToLogFont including one that
589 shows that LOGFONT only works properly when it's a class (not a struct)
591 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
593 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
594 PathGradientBrush to fix unit tests under Windows.
595 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
596 fail when using MS GDI+ (e.g. Mono on Windows).
598 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
600 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
601 Widen) and some new tests for Matrix related GDI+ functions.
603 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
605 * TestRegion.cs: Add test case for excluding a rectangle from an
608 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
610 * GDIPlusTest.cs: Avoid leaking during tests.
612 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
614 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
617 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
619 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
620 Pen related GDI+ calls.
622 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
624 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
625 fixes some unit test failures seen with Mono running on Windows).
627 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
629 * TestFont.cs: Remove asserts that are system dependant.
631 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
633 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
635 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
637 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
638 * TestImage.cs: Added checks to validate that the thumbnail's callback
641 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
643 * SolidBrushTest.cs: New test case using DrawLine.
645 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
647 * TestImage.cs: Add test cases for GetThumbnailImage.
649 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
651 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
653 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
655 * TestFont.cs: Expanded a test case to check for bug #78721 where the
656 LOGFONT structure must be initialized even if the ToLogFont call fails
658 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
660 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
661 add a comment on a commented one (MakeTransparent ;-)
663 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
665 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
667 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
669 * TestColor.cs: added 2 more tests for serialization and enabled one
670 that was not working.
672 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
674 * FontFamilyTest.cs: New. Unit tests for FontFamily.
675 * TestFont.cs: Added more test cases to Font.
677 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
679 * TestImageFormatConverter.cs: Added test cases for all well known
680 ImageFormat short and long names using ConvertFrom.
682 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
684 * TestColor.cs: Added test cases for serialization. Currently we can't
685 deserialize Color coming from MS serialization.
687 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
689 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
690 permission and test the [Get|From]Hrgn methods.
692 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
694 * TestBitmap.cs: new tests for the default format and the default file
697 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
699 * ColorConverter.cs: Split unworking test case from ConvertFrom into
700 a separate test case (marked as NotWorking).
701 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
702 probably never tested under Windows (and doesn't work there).
703 * TestFontConverter.cs: Split test case for CreateInstance to check
704 for ArgumentException (2.0) or NullReferenceException (1.x).
705 * TestPointConverter.cs: Split test case for CreateInstance to check
706 for ArgumentException (2.0) or NullReferenceException (1.x).
707 * TestRectangleConverter.cs: Split test case for CreateInstance to
708 check for ArgumentException (2.0) or NullReferenceException (1.x).
709 * TestSizeConverter.cs: Split test case for CreateInstance to check
710 for ArgumentException (2.0) or NullReferenceException (1.x).
711 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
712 check for InvalidCastException and NullReferenceException.
713 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
714 Empty and SizeF(0,0) don't share the same hash code.
716 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
718 * TestImageConverter.cs: Adjust test cases as there is an additional
719 properties under 2.0.
720 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
722 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
724 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
725 * TestFont.cs: Fix tests under Windows (CAS related);
726 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
728 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
730 * PenTest.cs: Added a test case where the brush supplied to the .ctor
731 is disposed before the pen is used. Based on a sample from Paddy joy.
733 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
735 * PenTest.cs: New. Unit tests for Pen.
737 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
739 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
741 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
743 * TestRegion.cs: Added a new test case for unioning a rectangle with
744 infinity and a new test case for GetRegionScans.
746 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
748 * TestGraphics.cs: Re-introduce the removed check :)
750 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
752 * TestGraphics.cs: Temporarily remove the checks for the transform in
753 containers. This allows libgdiplus to get better visual results until
754 the matrix issue is fixed correctly (instead of returning the "right"
755 matrix and displaying wrong data).
757 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
759 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
760 for Save and Restore methods.
762 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
764 * TestGraphics.cs: Added new test cases for DrawCurve methods.
766 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
768 * TestBitmap.cs: added tests for UnlockBits when the target is an
769 indexed image and a non-indexed one.
771 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
773 * TestGraphics.cs: Added new test cases for clipping. Some of them do
776 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
778 * TestGraphics.cs: Added new test cases for bug #77129 where we should
779 not draw or fill rectangle(s) with negative width or height. Converted
780 all test cases to UNIX line endings.
782 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
784 * TestGraphics.cs: Added new test cases translating matrix with
785 different MatrixOrder and for multiplying a non-invertible matrix.
787 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
789 * TestGraphics.cs: Add new test cases for clipping.
791 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
793 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
794 path-based (using bitmaps in libgdiplus) and for regions that had a
795 binary operations applied (i.e. using a path tree in libgdiplus).
796 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
797 binary operators (Union, Intersection, Complement, Exclude and Xor)
798 on path based regions (using bitmaps in libgdiplus).
800 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
802 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
803 the appropriate size on each system
805 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
807 * RegionNonRectTest.cs: Updated comments on a test that fails on both
808 1.x and 2.0 MS runtime.
809 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
812 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
813 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
814 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
815 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
816 added #ifdef for TARGET_JVM.
818 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
819 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
821 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
823 * RegionDataTest.cs: New. Unit tests for RegionData.
824 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
825 * TestRegion.cs: Added new test cases for empty region and IsInfinite
826 behaviour with multiple rectangles / path-rectangle regions.
828 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
830 * TestRegion.cs: Mark a test case as NotWorking as it caused a
833 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
835 * RegionCas.cs: New. CAS unit tests for Region.
836 * TestRegion.cs: Added test cases to check for expected exceptions.
838 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
840 * TestFont.cs: Added test for LogFont conversion
842 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
844 * TestPoint.cs: Test new methods for .Net 2.0
845 * TestPointF.cs Test new methods for .Net 2.0
846 * ColorConverter.cs: Fixes for .Net 2.0
847 * TestSizeF.cs: Test new methods for .Net 2.0
848 * TestSize.cs: Test new methods for .Net 2.0
850 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
852 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
853 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
856 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
858 * ColorConverter.cs: added testcases for ConvertFrom and
859 three digit notaion color.
861 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
863 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
864 of indexed (1- and 4-bit) Bitmaps.
865 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
867 2005-09-19 Miguel de Icaza <miguel@novell.com>
869 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
871 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
873 * BitmapCas.cs: New. CAS unit tests for Bitmap.
874 * GraphicsCas.cs: New. CAS unit tests for Graphics.
875 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
876 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
877 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
878 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
879 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
880 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
881 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
882 UnmanagedCode permission to all tests. This shows (when executed under
883 MS runtime) that S.D API is safe and doesn't requires high privileges
884 to run - even if we know that, deep down, this calls into GDI+.
886 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
888 * TestGraphics.cs: Adds default properties, properties set/get and save
889 and restore status test
891 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
893 * TestGraphics.cs: resets graphics object status before every SetClip test
895 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
897 * TestImageConverter.cs: Re-enabled GetProperties test.
898 * TestPointConverter.cs: same.
899 * TestRectangleConverter.cs: same.
900 * TestSizeConverter.cs: same.
902 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
904 * TestImagge.cs: File not found exception, related to fix r49744
905 * TestBimap.cs: File not found exception, related to fix r49744
907 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
909 * TestGraphics.cs: New test case, only clipping for now
911 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
913 * TestPointConverter.cs: Use Assert class instead of deriving from
914 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
915 * TestRectangleConverter.cs: same.
916 * TestSizeConverter.cs: same.
918 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
920 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
923 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
925 * TestPens.cs: Add test for Equals method
926 * TestBrushes.cs: Add test for Equals method
928 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
930 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
931 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
932 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
933 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
935 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
937 * TestRegion.cs: Adds many new cases for the new region implementation
939 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
941 * ColorConverter.cs: Mono now also throws ArgumentException when
942 color value is not between 0 and 255.
943 * TestColor.cs: Added tests for invalid color values.
944 * TestRectangleConverter.cs: Fixed tests for conversion to/from
945 string. Added tests that verify results using specific cultures.
947 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
949 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
950 tests using current culture.
951 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
954 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
956 * TestColor.cs: Added test for ToString() on uninitialized color.
957 * TestColorConverter.cs: Added tests for ColorConverter.
959 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
961 * TestRegion.cs: new cases for Combine and Intersect
963 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
965 * TestRectangle.cs: Add new test.
967 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
969 * ColorConverter.cs, ColorTranslator.cs: added
970 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
971 tests for convert to/from string
973 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
975 * Color.cs: many new testcases added
977 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
979 * Size.cs, SizeF.cs: GetHashCode and ToString tests
981 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
983 * TestRectangle.cs, TestRectangleF.cs: add new testcases
985 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
987 * TestPoint.cs: GetHashCode and ToString tests added
988 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
991 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
993 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
994 the original stack trace.
996 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
998 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
999 tests to use tolerance.
1001 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1003 * TestColor.cs: Added tests for GetHue, GetBrightness
1006 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
1007 * TestRegion.cs: added new IsVisible cases
1009 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
1011 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
1013 2004-06-17 Ravindra <rkumar@novell.com>
1015 * graphicsUi.cs: Formatted and moved to
1016 Samples/System.Drawing directory.
1017 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
1018 Samples/System.Drawing directory.
1019 * hering.cs: Formatted and moved to Samples/General directory.
1020 * BmpPaint.cs: Ficed, formatted and moved to
1021 Samples/System.Drawing directory.
1022 * font1.cs: Formatted and renamed to font.cs. Moved to
1023 Samples/System.Drawing directory.
1025 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
1027 * TestBitmap.cs: Corrected issues from my previous checkin.
1029 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
1031 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
1032 dependency on obsolete class, Assertion from NUnit.
1034 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1036 * TestImageConverter.cs: Removed dependency on obsolete class,
1037 Assertion from NUnit.
1039 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1041 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
1042 dependency on obsolete class, Assertion from NUnit.
1044 2004-05-27 Ravindra <rkumar@novell.com>
1046 * TestRectangleConverter.cs: Ignored the test that is failing
1047 because of bug #58435.
1048 * TestPointConverter.cs: Same.
1049 * TestSizeConverter.cs: Same.
1050 * TestImageConverter.cs: Same.
1052 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1054 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
1057 2004-05-26 Ravindra <rkumar@novell.com>
1059 * TestColor.cs: Added a test for testing ARGB values for all
1060 the static color properties.
1062 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1064 * TestIcon.cs: Added.
1065 * bitmaps/smiley.ico: Added.
1067 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1069 * TestImageFormatConverter.cs: Fixed issues with test case.
1071 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1073 * TestImageConverter.cs: Fixed issues with test case.
1075 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1077 * TestIconConverter.cs: Fixed issues with test case.
1079 2004-05-18 Ravindra <rkumar@novell.com>
1081 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1082 this under Test/System.Drawing.Drawing2D directory.
1084 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1086 * TestIconConverter.cs: Added.
1087 * bitmaps/VisualPng.ico: Added
1088 * bitmaps/VisualPng1.ico: Added
1090 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1092 * TestBitmap.cs: Modified method signature to static to be used in other file.
1093 * TestImageConverter.cs: Added.
1094 * TestImageFormatConverter.cs: Added
1096 2004-05-12 Jordi Mas <jordi@ximan.com>
1097 * TestBitmap.cs: added lockbitmap tests
1099 2004-05-07 Jordi Mas <jordi@ximan.com>
1100 * TestBitmap.cs: added rotation tests
1102 2004-04-23 Ravindra <rkumar@novell.com>
1104 * TestSystemPens.cs: Removed some unused exception variables.
1105 * TestRectangleConverter.cs: Removed culture dependent tests.
1106 * TestPointConverter.cs: Removed culture dependent tests.
1107 * TestSizeConverter.cs: Removed culture dependent tests.
1108 (These tests were not right because a constant culture specific string
1109 was being parsed by using current culture of the thread. It resulted in
1110 test failures when cultures do not match.)
1112 2004-04-22 Ravindra <rkumar@novell.com>
1114 * TestPointConverter.cs: Added.
1115 * TestSizeConverter.cs: Added.
1117 2004-04-22 Ravindra <rkumar@novell.com>
1119 * TestRectangleConverter.cs: Added.
1121 2004-04-21 Ravindra <rkumar@novell.com>
1123 * TestPens.cs: Added.
1125 2004-04-21 Ravindra <rkumar@novell.com>
1127 * TestBrushes.cs: Added.
1129 2004-04-16 Ravindra <rkumar@novell.com>
1131 * TestSystemPens.cs: Added.
1133 2004-03-13 Ravindra <rkumar@novell.com>
1135 * TestSystemBrushes.cs: Added test fail conditions.
1137 2004-03-12 Ravindra <rkumar@novell.com>
1139 * TestSystemBrushes.cs: Added.
1141 2004-03-17 Ravindra <rkumar@novell.com>
1142 * TestHatchBrush.cs: Added.
1144 2004-01-26 Ravindra <rkumar@novell.com>
1145 * TestPointF.cs: Added.
1146 * TestSize.cs: Added.
1149 2004-01-16 Ravindra <rkumar@novell.com>
1150 * BmpPaint.cs did not run on .NET.
1151 Modified to make it run on .NET. Specs say
1152 "Do not save an image to the same stream
1153 that was used to construct the image."
1155 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1156 * BmpPaint.cs modified
1158 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1159 * hering.cs save as Jpeg also
1161 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1164 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1167 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1168 * BmpPaint.cs ImageFormat specified for Save()
1171 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1174 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1176 * TestPoint.cs : Tests I've had in my node forever.