1 2008-04-25 Sebastien Pouliot <sebastien@ximian.com>
3 * TestRegion.cs: Add test cases for #383878 to verify Intersect
4 with negative width & height and to check against the crash in
7 2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
9 * TestIcon.cs: Add test case for #366485.
11 2008-01-21 Gert Driesen <drieseng@users.sourceforge.net>
13 * TestGraphics.cs: Added test for bug #355141.
15 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
17 * GDIPlusTest.cs: Don't use internal Unit enum anymore.
19 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
21 * TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
24 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
26 * TestGraphics.cs: Add test case on TransformPoints for #349800.
28 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
30 * GDIPlusTest.cs : fix test build.
32 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
34 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
36 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
38 * TestBitmap.cs: XML serialization test case (#323246).
39 * TestImage.cs: XML serialization test case (#323246).
41 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
43 * Image.cs: Add test cases for the stream position when loading and
44 saving bitmaps and metafiles. Some of them are based on Gert Driesen
47 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
49 * TestGraphics.cs: Test against NRE in MultiplyTransform
51 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
53 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
54 now that #81572 is fixed.
56 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
58 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
60 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
62 * TextureBrushTest.cs: Added test cases for textures using alpha
65 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
67 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
69 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
71 * RegionNonRectTest.cs: Add test cases for combining empty paths and
72 regions with infinite regions.
74 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
76 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
78 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
80 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
81 methods. Add test case for drawing lines with a pen's width > 1.
83 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
85 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
86 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
87 the saved bitmap (used for debugging).
89 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
91 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
93 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
95 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
96 cases as it's not supported in libgdiplus.
98 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
100 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
101 Point or PointF arrays as destination points.
103 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
105 * TestGraphics.cs: Add test cases for the normal behaviour of
108 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
110 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
111 NULL. This match MS behavior as seen in (unfixed) bug #81709.
113 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
115 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
116 pointer correctly in 64bits architectures. Thanks to Zoltan.
118 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
120 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
121 GdipDrawImageRectRect (GraphicsUnit).
122 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
123 DrawImageUnscaledAndClipped (2.0).
124 * TestRectangle.cs: Add test cases for negative width/height. Fix some
125 test cases that were using RectangleF instead of Rectangle.
126 * TestRectangleF.cs: Add test cases for negative width/height.
128 2007-05-08 Everaldo Canuto <everaldo@simios.org>
130 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
131 it is a reproduction of bug #81572 that checks width for multiline
134 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
136 * TestColor.cs: Under Windows ensure we're getting the same values for
139 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
141 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
142 and it's parameter's validations.
144 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
146 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
147 reworked LockUnlockBitmap (e.g. add assert messages).
149 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
151 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
152 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
153 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
154 Format16bppGrayScale.
156 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
158 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
161 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
163 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
164 if in particular case (it doesn't). Added Categoty("Valgrind") to a
165 test know to leak due to the API design.
167 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
169 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
170 the data when using ImageLockMode.ReadOnly (this makes some results
171 random when using MS GDI+).
173 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
175 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
176 (without unlocking it first).
177 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
178 returns a named color and a unnamed color.
179 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
180 two additionnal test cases for LockBits, Double locks (exception) and
181 invalid ImageLockMode (no exception).
183 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
185 * TestColor.cs: Add a few more test cases for ==, != and Equals
187 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
189 * ColorConverter.cs: Add test case with a null CultureInfo for
191 * ColorTranslator.cs: Add test cases with known values for FromHtml
192 * TestColor.cs: Made some test clearer about what they do/check.
194 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
196 * TestFont.cs: Add test cases for GetHeight(Graphics) and
197 GetHeight(float) methods.
199 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
201 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
202 crash libgdiplus if it's not updated to the latest svn revision).
203 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
204 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
206 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
208 * TestFont.cs: Add a test for exception thrown when an unavailable font
209 style is requested. (Marked NotWorking due to being platform specific.)
211 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
213 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
214 available on the system.
216 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
218 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
219 the test cases are now working properly.
220 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
222 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
224 * TestImage.cs: Add test cases for loading invalid files as an Image.
226 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
228 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
229 * TestImage.cs: Add test cases for loading metafile as Image.
231 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
233 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
236 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
238 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
239 for TARGET_JVM with not supported method calls
241 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
243 * SystemFontsTest.cs: Add more tests cases including disposing the
244 font instance returned by the SystemFonts class.
246 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
248 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
249 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
251 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
253 * ColorConverter.cs: Rename fixture to match our styleguide.
254 * ColorTranslator.cs: Rename fixture to match our styleguide.
256 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
258 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
261 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
263 * TestRegion.cs: Add test cases for matrix operations on infinite
264 regions (result is always an infinite region). Add test cases for
265 scale and scale+translate on regions (to see that they do not trigger
266 a convertion into bitmap-based regions).
268 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
270 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
271 and for checking clip bounds after operation on world tranformations.
273 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
275 * TestGraphics.cs: Add test case for trailing spaces when calling
276 MeasureString. #80680
278 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
280 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
281 serialization, which "works" under 2.0 but not under 1.1.
282 * TestImage.cs: Add test case for XmlSerializer on Image type, which
283 "works" under 2.0 but not under 1.1.
285 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
287 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
288 which use a decoder-only codec.
290 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
292 * GDIPlusTest.cs: Add test cases for loading unexisting files in
293 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
294 for error code returned by GdipGetImageGraphicsContext for indexed
297 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
299 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
300 implementation leads to false conclusions. MS GDI+ upgrades the
301 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
302 possible to create a Graphics from them.
303 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
304 under MS 1.x with ArgumentNullException.
306 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
308 * TestBitmap.cs: Added test case to create multiple bitmaps from a
310 * TestIcon.cs: Added test cases to create multiple icons from a
311 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
313 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
315 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
316 coexists in the same icon file.
318 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
320 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
321 11x22, to test for non perfect match icon selection.
322 * TestImage.cs: Add test cases for locked/unlocked streams when using
323 GDI+ (e.g. Mono running on Windows).
325 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
327 * TestIcon.cs: Add test cases for XP (32bpp) icons.
329 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
331 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
332 GetHbitmap and FromHbitmap.
333 * TestIcon.cs: Add test cases for all constructors. Add test cases for
334 saving icons (all sizes). Add test cases for roundtripping icons using
337 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
339 * GDIPlusTest.cs: Add test case for loading an icon and playing with
341 * TestIcon.cs: Add test cases for different sizes of icons.
343 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
345 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
346 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
348 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
349 specific, ignored test case.
351 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
353 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
354 on Linux MS Sans Sarif is mapped to other available font.
356 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
358 * SystemFontsTest.cs: Added test for DefaultFont.
360 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
362 * TestBrushes.cs: Ensure that the unit tests are destructive on the
363 brushes (since you can change their color and dispose them). Now only
364 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
365 any other unit test that use Brushes.* executed after this one.
367 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
369 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
371 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
373 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
374 icons provided here behave differently than normal icons (can't be
377 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
379 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
380 names, currently not working), GetStandardValuesSupported and
381 GetStandardValues methods.
383 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
385 * TestGraphics.cs: Add new MeasureString test cases.
386 * TestRectangle.cs: Add unit tests for == and != operators. Update
387 tests to NUnit 2.2 syntax.
388 * TestRectangleF.cs: Add unit tests for == and != operators. Update
389 tests to NUnit 2.2 syntax.
391 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
393 * TestGraphics.cs: Ignore new test cases when font is null (not
394 available). Add pixel size compares to MeasureString_Bug76664.
396 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
398 * TestGraphics.cs: Added test case to measure strings, some aren't yet
399 working. Modified some to get better checks (e.g. Int32.MaxValue for
402 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
404 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
406 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
408 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
409 tests dynamically (when fonts aren't installed).
411 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
413 * TestGraphics.cs: Added test cases for bug #77699 (with and without
416 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
418 * TestStringFormat.cs: fix build for TARGET_JVM.
420 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
422 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
423 like handling bad ranges (start, length) and hotkey prefix handling.
425 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
427 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
428 GdipSetStringFormatTabStops functions.
429 * TestStringFormat.cs: Added a more complex test case for Clone.
431 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
433 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
434 StringFormat functions.
435 * TestGraphics.cs: Avoid test cases failure if the font object can't
436 be created during fixture's setup.
437 * TestStringFormat.cs: Increased coverage of the unit tests.
439 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
441 * TestGraphics.cs: Add test cases for MeasureString and
442 MeasureCharacterRanges methods.
444 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
446 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
447 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
450 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
452 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
453 test. The test is bad because sometimes it uses Size instead of SizeF.
455 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
457 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
459 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
461 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
462 * TestImageConverter.cs: Added a test case when value is null (should
463 return "(none)"). Uncommented and splitted all exception test cases
464 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
466 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
468 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
469 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
471 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
473 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
474 seems to work only when the destination format is 32 bits.
476 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
478 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
480 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
482 * TextureBrushTest.cs: More test cases when only a partial part of the
483 image is being used and for cloning the brush.
485 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
487 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
488 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
490 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
492 * ColorConverter.cs: Add a new test case for a color with a integer
493 part that is too large to convert into an int.
494 * ColorTranslator.cs: Add more test cases for FromHtml method.
496 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
498 * GDIPlusTest.cs: Fix ImageAttributes test case.
499 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
501 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
503 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
504 Added new test cases for ImageAttributes. Removed some assertion for
505 GpGraphicsPath (which returns different value on monobuild win32 bot
506 than my own machine, uninit field ?).
508 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
510 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
511 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
513 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
515 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
517 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
519 * GDIPlusTest.cs: Added more test cases for Matrix functions.
521 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
523 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
526 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
528 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
530 * TestFont.cs: Ignore test cases if we cannot get any font family
533 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
535 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
536 struct like it's currently defined inside SD).
538 2006-08-12 Duncan Mak <duncan@novell.com>
540 * GDIPlusTest.cs: Removed all the local PInvoke methods.
541 (DrawingOperations): New test for various draw and fill operations
544 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
546 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
547 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
548 executes under Windows (GDI+);
549 * TestFont.cs: Added more test cases for ToLogFont including one that
550 shows that LOGFONT only works properly when it's a class (not a struct)
552 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
554 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
555 PathGradientBrush to fix unit tests under Windows.
556 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
557 fail when using MS GDI+ (e.g. Mono on Windows).
559 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
561 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
562 Widen) and some new tests for Matrix related GDI+ functions.
564 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
566 * TestRegion.cs: Add test case for excluding a rectangle from an
569 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
571 * GDIPlusTest.cs: Avoid leaking during tests.
573 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
575 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
578 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
580 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
581 Pen related GDI+ calls.
583 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
585 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
586 fixes some unit test failures seen with Mono running on Windows).
588 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
590 * TestFont.cs: Remove asserts that are system dependant.
592 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
594 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
596 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
598 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
599 * TestImage.cs: Added checks to validate that the thumbnail's callback
602 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
604 * SolidBrushTest.cs: New test case using DrawLine.
606 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
608 * TestImage.cs: Add test cases for GetThumbnailImage.
610 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
612 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
614 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
616 * TestFont.cs: Expanded a test case to check for bug #78721 where the
617 LOGFONT structure must be initialized even if the ToLogFont call fails
619 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
621 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
622 add a comment on a commented one (MakeTransparent ;-)
624 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
626 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
628 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
630 * TestColor.cs: added 2 more tests for serialization and enabled one
631 that was not working.
633 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
635 * FontFamilyTest.cs: New. Unit tests for FontFamily.
636 * TestFont.cs: Added more test cases to Font.
638 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
640 * TestImageFormatConverter.cs: Added test cases for all well known
641 ImageFormat short and long names using ConvertFrom.
643 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
645 * TestColor.cs: Added test cases for serialization. Currently we can't
646 deserialize Color coming from MS serialization.
648 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
650 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
651 permission and test the [Get|From]Hrgn methods.
653 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
655 * TestBitmap.cs: new tests for the default format and the default file
658 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
660 * ColorConverter.cs: Split unworking test case from ConvertFrom into
661 a separate test case (marked as NotWorking).
662 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
663 probably never tested under Windows (and doesn't work there).
664 * TestFontConverter.cs: Split test case for CreateInstance to check
665 for ArgumentException (2.0) or NullReferenceException (1.x).
666 * TestPointConverter.cs: Split test case for CreateInstance to check
667 for ArgumentException (2.0) or NullReferenceException (1.x).
668 * TestRectangleConverter.cs: Split test case for CreateInstance to
669 check for ArgumentException (2.0) or NullReferenceException (1.x).
670 * TestSizeConverter.cs: Split test case for CreateInstance to check
671 for ArgumentException (2.0) or NullReferenceException (1.x).
672 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
673 check for InvalidCastException and NullReferenceException.
674 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
675 Empty and SizeF(0,0) don't share the same hash code.
677 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
679 * TestImageConverter.cs: Adjust test cases as there is an additional
680 properties under 2.0.
681 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
683 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
685 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
686 * TestFont.cs: Fix tests under Windows (CAS related);
687 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
689 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
691 * PenTest.cs: Added a test case where the brush supplied to the .ctor
692 is disposed before the pen is used. Based on a sample from Paddy joy.
694 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
696 * PenTest.cs: New. Unit tests for Pen.
698 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
700 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
702 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
704 * TestRegion.cs: Added a new test case for unioning a rectangle with
705 infinity and a new test case for GetRegionScans.
707 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
709 * TestGraphics.cs: Re-introduce the removed check :)
711 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
713 * TestGraphics.cs: Temporarily remove the checks for the transform in
714 containers. This allows libgdiplus to get better visual results until
715 the matrix issue is fixed correctly (instead of returning the "right"
716 matrix and displaying wrong data).
718 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
720 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
721 for Save and Restore methods.
723 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
725 * TestGraphics.cs: Added new test cases for DrawCurve methods.
727 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
729 * TestBitmap.cs: added tests for UnlockBits when the target is an
730 indexed image and a non-indexed one.
732 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
734 * TestGraphics.cs: Added new test cases for clipping. Some of them do
737 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
739 * TestGraphics.cs: Added new test cases for bug #77129 where we should
740 not draw or fill rectangle(s) with negative width or height. Converted
741 all test cases to UNIX line endings.
743 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
745 * TestGraphics.cs: Added new test cases translating matrix with
746 different MatrixOrder and for multiplying a non-invertible matrix.
748 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
750 * TestGraphics.cs: Add new test cases for clipping.
752 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
754 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
755 path-based (using bitmaps in libgdiplus) and for regions that had a
756 binary operations applied (i.e. using a path tree in libgdiplus).
757 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
758 binary operators (Union, Intersection, Complement, Exclude and Xor)
759 on path based regions (using bitmaps in libgdiplus).
761 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
763 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
764 the appropriate size on each system
766 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
768 * RegionNonRectTest.cs: Updated comments on a test that fails on both
769 1.x and 2.0 MS runtime.
770 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
773 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
774 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
775 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
776 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
777 added #ifdef for TARGET_JVM.
779 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
780 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
782 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
784 * RegionDataTest.cs: New. Unit tests for RegionData.
785 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
786 * TestRegion.cs: Added new test cases for empty region and IsInfinite
787 behaviour with multiple rectangles / path-rectangle regions.
789 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
791 * TestRegion.cs: Mark a test case as NotWorking as it caused a
794 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
796 * RegionCas.cs: New. CAS unit tests for Region.
797 * TestRegion.cs: Added test cases to check for expected exceptions.
799 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
801 * TestFont.cs: Added test for LogFont conversion
803 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
805 * TestPoint.cs: Test new methods for .Net 2.0
806 * TestPointF.cs Test new methods for .Net 2.0
807 * ColorConverter.cs: Fixes for .Net 2.0
808 * TestSizeF.cs: Test new methods for .Net 2.0
809 * TestSize.cs: Test new methods for .Net 2.0
811 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
813 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
814 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
817 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
819 * ColorConverter.cs: added testcases for ConvertFrom and
820 three digit notaion color.
822 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
824 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
825 of indexed (1- and 4-bit) Bitmaps.
826 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
828 2005-09-19 Miguel de Icaza <miguel@novell.com>
830 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
832 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
834 * BitmapCas.cs: New. CAS unit tests for Bitmap.
835 * GraphicsCas.cs: New. CAS unit tests for Graphics.
836 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
837 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
838 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
839 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
840 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
841 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
842 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
843 UnmanagedCode permission to all tests. This shows (when executed under
844 MS runtime) that S.D API is safe and doesn't requires high privileges
845 to run - even if we know that, deep down, this calls into GDI+.
847 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
849 * TestGraphics.cs: Adds default properties, properties set/get and save
850 and restore status test
852 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
854 * TestGraphics.cs: resets graphics object status before every SetClip test
856 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
858 * TestImageConverter.cs: Re-enabled GetProperties test.
859 * TestPointConverter.cs: same.
860 * TestRectangleConverter.cs: same.
861 * TestSizeConverter.cs: same.
863 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
865 * TestImagge.cs: File not found exception, related to fix r49744
866 * TestBimap.cs: File not found exception, related to fix r49744
868 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
870 * TestGraphics.cs: New test case, only clipping for now
872 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
874 * TestPointConverter.cs: Use Assert class instead of deriving from
875 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
876 * TestRectangleConverter.cs: same.
877 * TestSizeConverter.cs: same.
879 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
881 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
884 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
886 * TestPens.cs: Add test for Equals method
887 * TestBrushes.cs: Add test for Equals method
889 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
891 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
892 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
893 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
894 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
896 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
898 * TestRegion.cs: Adds many new cases for the new region implementation
900 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
902 * ColorConverter.cs: Mono now also throws ArgumentException when
903 color value is not between 0 and 255.
904 * TestColor.cs: Added tests for invalid color values.
905 * TestRectangleConverter.cs: Fixed tests for conversion to/from
906 string. Added tests that verify results using specific cultures.
908 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
910 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
911 tests using current culture.
912 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
915 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
917 * TestColor.cs: Added test for ToString() on uninitialized color.
918 * TestColorConverter.cs: Added tests for ColorConverter.
920 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
922 * TestRegion.cs: new cases for Combine and Intersect
924 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
926 * TestRectangle.cs: Add new test.
928 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
930 * ColorConverter.cs, ColorTranslator.cs: added
931 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
932 tests for convert to/from string
934 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
936 * Color.cs: many new testcases added
938 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
940 * Size.cs, SizeF.cs: GetHashCode and ToString tests
942 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
944 * TestRectangle.cs, TestRectangleF.cs: add new testcases
946 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
948 * TestPoint.cs: GetHashCode and ToString tests added
949 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
952 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
954 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
955 the original stack trace.
957 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
959 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
960 tests to use tolerance.
962 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
964 * TestColor.cs: Added tests for GetHue, GetBrightness
967 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
968 * TestRegion.cs: added new IsVisible cases
970 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
972 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
974 2004-06-17 Ravindra <rkumar@novell.com>
976 * graphicsUi.cs: Formatted and moved to
977 Samples/System.Drawing directory.
978 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
979 Samples/System.Drawing directory.
980 * hering.cs: Formatted and moved to Samples/General directory.
981 * BmpPaint.cs: Ficed, formatted and moved to
982 Samples/System.Drawing directory.
983 * font1.cs: Formatted and renamed to font.cs. Moved to
984 Samples/System.Drawing directory.
986 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
988 * TestBitmap.cs: Corrected issues from my previous checkin.
990 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
992 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
993 dependency on obsolete class, Assertion from NUnit.
995 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
997 * TestImageConverter.cs: Removed dependency on obsolete class,
998 Assertion from NUnit.
1000 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1002 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
1003 dependency on obsolete class, Assertion from NUnit.
1005 2004-05-27 Ravindra <rkumar@novell.com>
1007 * TestRectangleConverter.cs: Ignored the test that is failing
1008 because of bug #58435.
1009 * TestPointConverter.cs: Same.
1010 * TestSizeConverter.cs: Same.
1011 * TestImageConverter.cs: Same.
1013 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1015 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
1018 2004-05-26 Ravindra <rkumar@novell.com>
1020 * TestColor.cs: Added a test for testing ARGB values for all
1021 the static color properties.
1023 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1025 * TestIcon.cs: Added.
1026 * bitmaps/smiley.ico: Added.
1028 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1030 * TestImageFormatConverter.cs: Fixed issues with test case.
1032 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1034 * TestImageConverter.cs: Fixed issues with test case.
1036 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1038 * TestIconConverter.cs: Fixed issues with test case.
1040 2004-05-18 Ravindra <rkumar@novell.com>
1042 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1043 this under Test/System.Drawing.Drawing2D directory.
1045 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1047 * TestIconConverter.cs: Added.
1048 * bitmaps/VisualPng.ico: Added
1049 * bitmaps/VisualPng1.ico: Added
1051 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1053 * TestBitmap.cs: Modified method signature to static to be used in other file.
1054 * TestImageConverter.cs: Added.
1055 * TestImageFormatConverter.cs: Added
1057 2004-05-12 Jordi Mas <jordi@ximan.com>
1058 * TestBitmap.cs: added lockbitmap tests
1060 2004-05-07 Jordi Mas <jordi@ximan.com>
1061 * TestBitmap.cs: added rotation tests
1063 2004-04-23 Ravindra <rkumar@novell.com>
1065 * TestSystemPens.cs: Removed some unused exception variables.
1066 * TestRectangleConverter.cs: Removed culture dependent tests.
1067 * TestPointConverter.cs: Removed culture dependent tests.
1068 * TestSizeConverter.cs: Removed culture dependent tests.
1069 (These tests were not right because a constant culture specific string
1070 was being parsed by using current culture of the thread. It resulted in
1071 test failures when cultures do not match.)
1073 2004-04-22 Ravindra <rkumar@novell.com>
1075 * TestPointConverter.cs: Added.
1076 * TestSizeConverter.cs: Added.
1078 2004-04-22 Ravindra <rkumar@novell.com>
1080 * TestRectangleConverter.cs: Added.
1082 2004-04-21 Ravindra <rkumar@novell.com>
1084 * TestPens.cs: Added.
1086 2004-04-21 Ravindra <rkumar@novell.com>
1088 * TestBrushes.cs: Added.
1090 2004-04-16 Ravindra <rkumar@novell.com>
1092 * TestSystemPens.cs: Added.
1094 2004-03-13 Ravindra <rkumar@novell.com>
1096 * TestSystemBrushes.cs: Added test fail conditions.
1098 2004-03-12 Ravindra <rkumar@novell.com>
1100 * TestSystemBrushes.cs: Added.
1102 2004-03-17 Ravindra <rkumar@novell.com>
1103 * TestHatchBrush.cs: Added.
1105 2004-01-26 Ravindra <rkumar@novell.com>
1106 * TestPointF.cs: Added.
1107 * TestSize.cs: Added.
1110 2004-01-16 Ravindra <rkumar@novell.com>
1111 * BmpPaint.cs did not run on .NET.
1112 Modified to make it run on .NET. Specs say
1113 "Do not save an image to the same stream
1114 that was used to construct the image."
1116 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1117 * BmpPaint.cs modified
1119 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1120 * hering.cs save as Jpeg also
1122 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1125 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1128 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1129 * BmpPaint.cs ImageFormat specified for Save()
1132 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1135 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1137 * TestPoint.cs : Tests I've had in my node forever.