1 2008-01-21 Gert Driesen <drieseng@users.sourceforge.net>
3 * TestGraphics.cs: Added test for bug #355141.
5 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
7 * GDIPlusTest.cs: Don't use internal Unit enum anymore.
9 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
11 * TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
14 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
16 * TestGraphics.cs: Add test case on TransformPoints for #349800.
18 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
20 * GDIPlusTest.cs : fix test build.
22 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
24 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
26 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
28 * TestBitmap.cs: XML serialization test case (#323246).
29 * TestImage.cs: XML serialization test case (#323246).
31 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
33 * Image.cs: Add test cases for the stream position when loading and
34 saving bitmaps and metafiles. Some of them are based on Gert Driesen
37 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
39 * TestGraphics.cs: Test against NRE in MultiplyTransform
41 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
43 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
44 now that #81572 is fixed.
46 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
48 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
50 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
52 * TextureBrushTest.cs: Added test cases for textures using alpha
55 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
57 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
59 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
61 * RegionNonRectTest.cs: Add test cases for combining empty paths and
62 regions with infinite regions.
64 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
66 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
68 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
70 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
71 methods. Add test case for drawing lines with a pen's width > 1.
73 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
75 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
76 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
77 the saved bitmap (used for debugging).
79 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
81 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
83 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
85 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
86 cases as it's not supported in libgdiplus.
88 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
90 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
91 Point or PointF arrays as destination points.
93 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
95 * TestGraphics.cs: Add test cases for the normal behaviour of
98 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
100 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
101 NULL. This match MS behavior as seen in (unfixed) bug #81709.
103 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
105 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
106 pointer correctly in 64bits architectures. Thanks to Zoltan.
108 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
110 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
111 GdipDrawImageRectRect (GraphicsUnit).
112 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
113 DrawImageUnscaledAndClipped (2.0).
114 * TestRectangle.cs: Add test cases for negative width/height. Fix some
115 test cases that were using RectangleF instead of Rectangle.
116 * TestRectangleF.cs: Add test cases for negative width/height.
118 2007-05-08 Everaldo Canuto <everaldo@simios.org>
120 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
121 it is a reproduction of bug #81572 that checks width for multiline
124 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
126 * TestColor.cs: Under Windows ensure we're getting the same values for
129 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
131 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
132 and it's parameter's validations.
134 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
136 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
137 reworked LockUnlockBitmap (e.g. add assert messages).
139 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
141 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
142 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
143 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
144 Format16bppGrayScale.
146 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
148 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
151 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
153 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
154 if in particular case (it doesn't). Added Categoty("Valgrind") to a
155 test know to leak due to the API design.
157 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
159 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
160 the data when using ImageLockMode.ReadOnly (this makes some results
161 random when using MS GDI+).
163 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
165 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
166 (without unlocking it first).
167 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
168 returns a named color and a unnamed color.
169 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
170 two additionnal test cases for LockBits, Double locks (exception) and
171 invalid ImageLockMode (no exception).
173 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
175 * TestColor.cs: Add a few more test cases for ==, != and Equals
177 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
179 * ColorConverter.cs: Add test case with a null CultureInfo for
181 * ColorTranslator.cs: Add test cases with known values for FromHtml
182 * TestColor.cs: Made some test clearer about what they do/check.
184 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
186 * TestFont.cs: Add test cases for GetHeight(Graphics) and
187 GetHeight(float) methods.
189 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
191 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
192 crash libgdiplus if it's not updated to the latest svn revision).
193 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
194 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
196 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
198 * TestFont.cs: Add a test for exception thrown when an unavailable font
199 style is requested. (Marked NotWorking due to being platform specific.)
201 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
203 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
204 available on the system.
206 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
208 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
209 the test cases are now working properly.
210 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
212 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
214 * TestImage.cs: Add test cases for loading invalid files as an Image.
216 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
218 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
219 * TestImage.cs: Add test cases for loading metafile as Image.
221 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
223 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
226 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
228 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
229 for TARGET_JVM with not supported method calls
231 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
233 * SystemFontsTest.cs: Add more tests cases including disposing the
234 font instance returned by the SystemFonts class.
236 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
238 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
239 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
241 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
243 * ColorConverter.cs: Rename fixture to match our styleguide.
244 * ColorTranslator.cs: Rename fixture to match our styleguide.
246 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
248 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
251 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
253 * TestRegion.cs: Add test cases for matrix operations on infinite
254 regions (result is always an infinite region). Add test cases for
255 scale and scale+translate on regions (to see that they do not trigger
256 a convertion into bitmap-based regions).
258 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
260 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
261 and for checking clip bounds after operation on world tranformations.
263 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
265 * TestGraphics.cs: Add test case for trailing spaces when calling
266 MeasureString. #80680
268 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
270 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
271 serialization, which "works" under 2.0 but not under 1.1.
272 * TestImage.cs: Add test case for XmlSerializer on Image type, which
273 "works" under 2.0 but not under 1.1.
275 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
277 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
278 which use a decoder-only codec.
280 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
282 * GDIPlusTest.cs: Add test cases for loading unexisting files in
283 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
284 for error code returned by GdipGetImageGraphicsContext for indexed
287 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
289 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
290 implementation leads to false conclusions. MS GDI+ upgrades the
291 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
292 possible to create a Graphics from them.
293 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
294 under MS 1.x with ArgumentNullException.
296 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
298 * TestBitmap.cs: Added test case to create multiple bitmaps from a
300 * TestIcon.cs: Added test cases to create multiple icons from a
301 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
303 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
305 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
306 coexists in the same icon file.
308 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
310 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
311 11x22, to test for non perfect match icon selection.
312 * TestImage.cs: Add test cases for locked/unlocked streams when using
313 GDI+ (e.g. Mono running on Windows).
315 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
317 * TestIcon.cs: Add test cases for XP (32bpp) icons.
319 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
321 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
322 GetHbitmap and FromHbitmap.
323 * TestIcon.cs: Add test cases for all constructors. Add test cases for
324 saving icons (all sizes). Add test cases for roundtripping icons using
327 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
329 * GDIPlusTest.cs: Add test case for loading an icon and playing with
331 * TestIcon.cs: Add test cases for different sizes of icons.
333 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
335 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
336 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
338 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
339 specific, ignored test case.
341 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
343 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
344 on Linux MS Sans Sarif is mapped to other available font.
346 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
348 * SystemFontsTest.cs: Added test for DefaultFont.
350 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
352 * TestBrushes.cs: Ensure that the unit tests are destructive on the
353 brushes (since you can change their color and dispose them). Now only
354 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
355 any other unit test that use Brushes.* executed after this one.
357 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
359 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
361 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
363 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
364 icons provided here behave differently than normal icons (can't be
367 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
369 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
370 names, currently not working), GetStandardValuesSupported and
371 GetStandardValues methods.
373 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
375 * TestGraphics.cs: Add new MeasureString test cases.
376 * TestRectangle.cs: Add unit tests for == and != operators. Update
377 tests to NUnit 2.2 syntax.
378 * TestRectangleF.cs: Add unit tests for == and != operators. Update
379 tests to NUnit 2.2 syntax.
381 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
383 * TestGraphics.cs: Ignore new test cases when font is null (not
384 available). Add pixel size compares to MeasureString_Bug76664.
386 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
388 * TestGraphics.cs: Added test case to measure strings, some aren't yet
389 working. Modified some to get better checks (e.g. Int32.MaxValue for
392 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
394 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
396 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
398 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
399 tests dynamically (when fonts aren't installed).
401 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
403 * TestGraphics.cs: Added test cases for bug #77699 (with and without
406 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
408 * TestStringFormat.cs: fix build for TARGET_JVM.
410 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
412 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
413 like handling bad ranges (start, length) and hotkey prefix handling.
415 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
417 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
418 GdipSetStringFormatTabStops functions.
419 * TestStringFormat.cs: Added a more complex test case for Clone.
421 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
423 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
424 StringFormat functions.
425 * TestGraphics.cs: Avoid test cases failure if the font object can't
426 be created during fixture's setup.
427 * TestStringFormat.cs: Increased coverage of the unit tests.
429 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
431 * TestGraphics.cs: Add test cases for MeasureString and
432 MeasureCharacterRanges methods.
434 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
436 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
437 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
440 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
442 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
443 test. The test is bad because sometimes it uses Size instead of SizeF.
445 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
447 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
449 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
451 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
452 * TestImageConverter.cs: Added a test case when value is null (should
453 return "(none)"). Uncommented and splitted all exception test cases
454 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
456 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
458 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
459 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
461 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
463 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
464 seems to work only when the destination format is 32 bits.
466 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
468 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
470 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
472 * TextureBrushTest.cs: More test cases when only a partial part of the
473 image is being used and for cloning the brush.
475 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
477 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
478 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
480 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
482 * ColorConverter.cs: Add a new test case for a color with a integer
483 part that is too large to convert into an int.
484 * ColorTranslator.cs: Add more test cases for FromHtml method.
486 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
488 * GDIPlusTest.cs: Fix ImageAttributes test case.
489 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
491 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
493 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
494 Added new test cases for ImageAttributes. Removed some assertion for
495 GpGraphicsPath (which returns different value on monobuild win32 bot
496 than my own machine, uninit field ?).
498 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
500 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
501 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
503 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
505 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
507 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
509 * GDIPlusTest.cs: Added more test cases for Matrix functions.
511 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
513 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
516 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
518 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
520 * TestFont.cs: Ignore test cases if we cannot get any font family
523 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
525 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
526 struct like it's currently defined inside SD).
528 2006-08-12 Duncan Mak <duncan@novell.com>
530 * GDIPlusTest.cs: Removed all the local PInvoke methods.
531 (DrawingOperations): New test for various draw and fill operations
534 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
536 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
537 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
538 executes under Windows (GDI+);
539 * TestFont.cs: Added more test cases for ToLogFont including one that
540 shows that LOGFONT only works properly when it's a class (not a struct)
542 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
544 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
545 PathGradientBrush to fix unit tests under Windows.
546 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
547 fail when using MS GDI+ (e.g. Mono on Windows).
549 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
551 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
552 Widen) and some new tests for Matrix related GDI+ functions.
554 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
556 * TestRegion.cs: Add test case for excluding a rectangle from an
559 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
561 * GDIPlusTest.cs: Avoid leaking during tests.
563 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
565 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
568 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
570 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
571 Pen related GDI+ calls.
573 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
575 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
576 fixes some unit test failures seen with Mono running on Windows).
578 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
580 * TestFont.cs: Remove asserts that are system dependant.
582 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
584 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
586 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
588 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
589 * TestImage.cs: Added checks to validate that the thumbnail's callback
592 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
594 * SolidBrushTest.cs: New test case using DrawLine.
596 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
598 * TestImage.cs: Add test cases for GetThumbnailImage.
600 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
602 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
604 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
606 * TestFont.cs: Expanded a test case to check for bug #78721 where the
607 LOGFONT structure must be initialized even if the ToLogFont call fails
609 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
611 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
612 add a comment on a commented one (MakeTransparent ;-)
614 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
616 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
618 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
620 * TestColor.cs: added 2 more tests for serialization and enabled one
621 that was not working.
623 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
625 * FontFamilyTest.cs: New. Unit tests for FontFamily.
626 * TestFont.cs: Added more test cases to Font.
628 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
630 * TestImageFormatConverter.cs: Added test cases for all well known
631 ImageFormat short and long names using ConvertFrom.
633 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
635 * TestColor.cs: Added test cases for serialization. Currently we can't
636 deserialize Color coming from MS serialization.
638 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
640 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
641 permission and test the [Get|From]Hrgn methods.
643 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
645 * TestBitmap.cs: new tests for the default format and the default file
648 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
650 * ColorConverter.cs: Split unworking test case from ConvertFrom into
651 a separate test case (marked as NotWorking).
652 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
653 probably never tested under Windows (and doesn't work there).
654 * TestFontConverter.cs: Split test case for CreateInstance to check
655 for ArgumentException (2.0) or NullReferenceException (1.x).
656 * TestPointConverter.cs: Split test case for CreateInstance to check
657 for ArgumentException (2.0) or NullReferenceException (1.x).
658 * TestRectangleConverter.cs: Split test case for CreateInstance to
659 check for ArgumentException (2.0) or NullReferenceException (1.x).
660 * TestSizeConverter.cs: Split test case for CreateInstance to check
661 for ArgumentException (2.0) or NullReferenceException (1.x).
662 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
663 check for InvalidCastException and NullReferenceException.
664 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
665 Empty and SizeF(0,0) don't share the same hash code.
667 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
669 * TestImageConverter.cs: Adjust test cases as there is an additional
670 properties under 2.0.
671 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
673 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
675 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
676 * TestFont.cs: Fix tests under Windows (CAS related);
677 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
679 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
681 * PenTest.cs: Added a test case where the brush supplied to the .ctor
682 is disposed before the pen is used. Based on a sample from Paddy joy.
684 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
686 * PenTest.cs: New. Unit tests for Pen.
688 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
690 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
692 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
694 * TestRegion.cs: Added a new test case for unioning a rectangle with
695 infinity and a new test case for GetRegionScans.
697 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
699 * TestGraphics.cs: Re-introduce the removed check :)
701 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
703 * TestGraphics.cs: Temporarily remove the checks for the transform in
704 containers. This allows libgdiplus to get better visual results until
705 the matrix issue is fixed correctly (instead of returning the "right"
706 matrix and displaying wrong data).
708 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
710 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
711 for Save and Restore methods.
713 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
715 * TestGraphics.cs: Added new test cases for DrawCurve methods.
717 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
719 * TestBitmap.cs: added tests for UnlockBits when the target is an
720 indexed image and a non-indexed one.
722 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
724 * TestGraphics.cs: Added new test cases for clipping. Some of them do
727 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
729 * TestGraphics.cs: Added new test cases for bug #77129 where we should
730 not draw or fill rectangle(s) with negative width or height. Converted
731 all test cases to UNIX line endings.
733 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
735 * TestGraphics.cs: Added new test cases translating matrix with
736 different MatrixOrder and for multiplying a non-invertible matrix.
738 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
740 * TestGraphics.cs: Add new test cases for clipping.
742 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
744 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
745 path-based (using bitmaps in libgdiplus) and for regions that had a
746 binary operations applied (i.e. using a path tree in libgdiplus).
747 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
748 binary operators (Union, Intersection, Complement, Exclude and Xor)
749 on path based regions (using bitmaps in libgdiplus).
751 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
753 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
754 the appropriate size on each system
756 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
758 * RegionNonRectTest.cs: Updated comments on a test that fails on both
759 1.x and 2.0 MS runtime.
760 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
763 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
764 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
765 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
766 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
767 added #ifdef for TARGET_JVM.
769 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
770 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
772 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
774 * RegionDataTest.cs: New. Unit tests for RegionData.
775 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
776 * TestRegion.cs: Added new test cases for empty region and IsInfinite
777 behaviour with multiple rectangles / path-rectangle regions.
779 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
781 * TestRegion.cs: Mark a test case as NotWorking as it caused a
784 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
786 * RegionCas.cs: New. CAS unit tests for Region.
787 * TestRegion.cs: Added test cases to check for expected exceptions.
789 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
791 * TestFont.cs: Added test for LogFont conversion
793 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
795 * TestPoint.cs: Test new methods for .Net 2.0
796 * TestPointF.cs Test new methods for .Net 2.0
797 * ColorConverter.cs: Fixes for .Net 2.0
798 * TestSizeF.cs: Test new methods for .Net 2.0
799 * TestSize.cs: Test new methods for .Net 2.0
801 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
803 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
804 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
807 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
809 * ColorConverter.cs: added testcases for ConvertFrom and
810 three digit notaion color.
812 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
814 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
815 of indexed (1- and 4-bit) Bitmaps.
816 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
818 2005-09-19 Miguel de Icaza <miguel@novell.com>
820 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
822 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
824 * BitmapCas.cs: New. CAS unit tests for Bitmap.
825 * GraphicsCas.cs: New. CAS unit tests for Graphics.
826 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
827 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
828 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
829 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
830 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
831 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
832 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
833 UnmanagedCode permission to all tests. This shows (when executed under
834 MS runtime) that S.D API is safe and doesn't requires high privileges
835 to run - even if we know that, deep down, this calls into GDI+.
837 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
839 * TestGraphics.cs: Adds default properties, properties set/get and save
840 and restore status test
842 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
844 * TestGraphics.cs: resets graphics object status before every SetClip test
846 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
848 * TestImageConverter.cs: Re-enabled GetProperties test.
849 * TestPointConverter.cs: same.
850 * TestRectangleConverter.cs: same.
851 * TestSizeConverter.cs: same.
853 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
855 * TestImagge.cs: File not found exception, related to fix r49744
856 * TestBimap.cs: File not found exception, related to fix r49744
858 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
860 * TestGraphics.cs: New test case, only clipping for now
862 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
864 * TestPointConverter.cs: Use Assert class instead of deriving from
865 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
866 * TestRectangleConverter.cs: same.
867 * TestSizeConverter.cs: same.
869 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
871 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
874 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
876 * TestPens.cs: Add test for Equals method
877 * TestBrushes.cs: Add test for Equals method
879 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
881 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
882 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
883 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
884 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
886 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
888 * TestRegion.cs: Adds many new cases for the new region implementation
890 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
892 * ColorConverter.cs: Mono now also throws ArgumentException when
893 color value is not between 0 and 255.
894 * TestColor.cs: Added tests for invalid color values.
895 * TestRectangleConverter.cs: Fixed tests for conversion to/from
896 string. Added tests that verify results using specific cultures.
898 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
900 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
901 tests using current culture.
902 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
905 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
907 * TestColor.cs: Added test for ToString() on uninitialized color.
908 * TestColorConverter.cs: Added tests for ColorConverter.
910 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
912 * TestRegion.cs: new cases for Combine and Intersect
914 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
916 * TestRectangle.cs: Add new test.
918 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
920 * ColorConverter.cs, ColorTranslator.cs: added
921 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
922 tests for convert to/from string
924 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
926 * Color.cs: many new testcases added
928 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
930 * Size.cs, SizeF.cs: GetHashCode and ToString tests
932 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
934 * TestRectangle.cs, TestRectangleF.cs: add new testcases
936 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
938 * TestPoint.cs: GetHashCode and ToString tests added
939 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
942 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
944 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
945 the original stack trace.
947 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
949 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
950 tests to use tolerance.
952 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
954 * TestColor.cs: Added tests for GetHue, GetBrightness
957 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
958 * TestRegion.cs: added new IsVisible cases
960 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
962 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
964 2004-06-17 Ravindra <rkumar@novell.com>
966 * graphicsUi.cs: Formatted and moved to
967 Samples/System.Drawing directory.
968 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
969 Samples/System.Drawing directory.
970 * hering.cs: Formatted and moved to Samples/General directory.
971 * BmpPaint.cs: Ficed, formatted and moved to
972 Samples/System.Drawing directory.
973 * font1.cs: Formatted and renamed to font.cs. Moved to
974 Samples/System.Drawing directory.
976 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
978 * TestBitmap.cs: Corrected issues from my previous checkin.
980 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
982 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
983 dependency on obsolete class, Assertion from NUnit.
985 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
987 * TestImageConverter.cs: Removed dependency on obsolete class,
988 Assertion from NUnit.
990 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
992 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
993 dependency on obsolete class, Assertion from NUnit.
995 2004-05-27 Ravindra <rkumar@novell.com>
997 * TestRectangleConverter.cs: Ignored the test that is failing
998 because of bug #58435.
999 * TestPointConverter.cs: Same.
1000 * TestSizeConverter.cs: Same.
1001 * TestImageConverter.cs: Same.
1003 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1005 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
1008 2004-05-26 Ravindra <rkumar@novell.com>
1010 * TestColor.cs: Added a test for testing ARGB values for all
1011 the static color properties.
1013 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1015 * TestIcon.cs: Added.
1016 * bitmaps/smiley.ico: Added.
1018 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1020 * TestImageFormatConverter.cs: Fixed issues with test case.
1022 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1024 * TestImageConverter.cs: Fixed issues with test case.
1026 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1028 * TestIconConverter.cs: Fixed issues with test case.
1030 2004-05-18 Ravindra <rkumar@novell.com>
1032 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1033 this under Test/System.Drawing.Drawing2D directory.
1035 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1037 * TestIconConverter.cs: Added.
1038 * bitmaps/VisualPng.ico: Added
1039 * bitmaps/VisualPng1.ico: Added
1041 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1043 * TestBitmap.cs: Modified method signature to static to be used in other file.
1044 * TestImageConverter.cs: Added.
1045 * TestImageFormatConverter.cs: Added
1047 2004-05-12 Jordi Mas <jordi@ximan.com>
1048 * TestBitmap.cs: added lockbitmap tests
1050 2004-05-07 Jordi Mas <jordi@ximan.com>
1051 * TestBitmap.cs: added rotation tests
1053 2004-04-23 Ravindra <rkumar@novell.com>
1055 * TestSystemPens.cs: Removed some unused exception variables.
1056 * TestRectangleConverter.cs: Removed culture dependent tests.
1057 * TestPointConverter.cs: Removed culture dependent tests.
1058 * TestSizeConverter.cs: Removed culture dependent tests.
1059 (These tests were not right because a constant culture specific string
1060 was being parsed by using current culture of the thread. It resulted in
1061 test failures when cultures do not match.)
1063 2004-04-22 Ravindra <rkumar@novell.com>
1065 * TestPointConverter.cs: Added.
1066 * TestSizeConverter.cs: Added.
1068 2004-04-22 Ravindra <rkumar@novell.com>
1070 * TestRectangleConverter.cs: Added.
1072 2004-04-21 Ravindra <rkumar@novell.com>
1074 * TestPens.cs: Added.
1076 2004-04-21 Ravindra <rkumar@novell.com>
1078 * TestBrushes.cs: Added.
1080 2004-04-16 Ravindra <rkumar@novell.com>
1082 * TestSystemPens.cs: Added.
1084 2004-03-13 Ravindra <rkumar@novell.com>
1086 * TestSystemBrushes.cs: Added test fail conditions.
1088 2004-03-12 Ravindra <rkumar@novell.com>
1090 * TestSystemBrushes.cs: Added.
1092 2004-03-17 Ravindra <rkumar@novell.com>
1093 * TestHatchBrush.cs: Added.
1095 2004-01-26 Ravindra <rkumar@novell.com>
1096 * TestPointF.cs: Added.
1097 * TestSize.cs: Added.
1100 2004-01-16 Ravindra <rkumar@novell.com>
1101 * BmpPaint.cs did not run on .NET.
1102 Modified to make it run on .NET. Specs say
1103 "Do not save an image to the same stream
1104 that was used to construct the image."
1106 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1107 * BmpPaint.cs modified
1109 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1110 * hering.cs save as Jpeg also
1112 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1115 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1118 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1119 * BmpPaint.cs ImageFormat specified for Save()
1122 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1125 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1127 * TestPoint.cs : Tests I've had in my node forever.