1 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
3 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
5 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
7 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
8 methods. Add test case for drawing lines with a pen's width > 1.
10 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
12 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
13 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
14 the saved bitmap (used for debugging).
16 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
18 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
20 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
22 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
23 cases as it's not supported in libgdiplus.
25 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
27 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
28 Point or PointF arrays as destination points.
30 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
32 * TestGraphics.cs: Add test cases for the normal behaviour of
35 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
37 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
38 NULL. This match MS behavior as seen in (unfixed) bug #81709.
40 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
42 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
43 pointer correctly in 64bits architectures. Thanks to Zoltan.
45 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
47 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
48 GdipDrawImageRectRect (GraphicsUnit).
49 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
50 DrawImageUnscaledAndClipped (2.0).
51 * TestRectangle.cs: Add test cases for negative width/height. Fix some
52 test cases that were using RectangleF instead of Rectangle.
53 * TestRectangleF.cs: Add test cases for negative width/height.
55 2007-05-08 Everaldo Canuto <everaldo@simios.org>
57 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
58 it is a reproduction of bug #81572 that checks width for multiline
61 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
63 * TestColor.cs: Under Windows ensure we're getting the same values for
66 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
68 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
69 and it's parameter's validations.
71 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
73 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
74 reworked LockUnlockBitmap (e.g. add assert messages).
76 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
78 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
79 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
80 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
83 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
85 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
88 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
90 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
91 if in particular case (it doesn't). Added Categoty("Valgrind") to a
92 test know to leak due to the API design.
94 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
96 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
97 the data when using ImageLockMode.ReadOnly (this makes some results
98 random when using MS GDI+).
100 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
102 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
103 (without unlocking it first).
104 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
105 returns a named color and a unnamed color.
106 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
107 two additionnal test cases for LockBits, Double locks (exception) and
108 invalid ImageLockMode (no exception).
110 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
112 * TestColor.cs: Add a few more test cases for ==, != and Equals
114 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
116 * ColorConverter.cs: Add test case with a null CultureInfo for
118 * ColorTranslator.cs: Add test cases with known values for FromHtml
119 * TestColor.cs: Made some test clearer about what they do/check.
121 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
123 * TestFont.cs: Add test cases for GetHeight(Graphics) and
124 GetHeight(float) methods.
126 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
128 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
129 crash libgdiplus if it's not updated to the latest svn revision).
130 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
131 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
133 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
135 * TestFont.cs: Add a test for exception thrown when an unavailable font
136 style is requested. (Marked NotWorking due to being platform specific.)
138 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
140 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
141 available on the system.
143 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
145 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
146 the test cases are now working properly.
147 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
149 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
151 * TestImage.cs: Add test cases for loading invalid files as an Image.
153 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
155 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
156 * TestImage.cs: Add test cases for loading metafile as Image.
158 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
160 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
163 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
165 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
166 for TARGET_JVM with not supported method calls
168 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
170 * SystemFontsTest.cs: Add more tests cases including disposing the
171 font instance returned by the SystemFonts class.
173 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
175 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
176 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
178 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
180 * ColorConverter.cs: Rename fixture to match our styleguide.
181 * ColorTranslator.cs: Rename fixture to match our styleguide.
183 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
185 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
188 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
190 * TestRegion.cs: Add test cases for matrix operations on infinite
191 regions (result is always an infinite region). Add test cases for
192 scale and scale+translate on regions (to see that they do not trigger
193 a convertion into bitmap-based regions).
195 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
197 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
198 and for checking clip bounds after operation on world tranformations.
200 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
202 * TestGraphics.cs: Add test case for trailing spaces when calling
203 MeasureString. #80680
205 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
207 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
208 serialization, which "works" under 2.0 but not under 1.1.
209 * TestImage.cs: Add test case for XmlSerializer on Image type, which
210 "works" under 2.0 but not under 1.1.
212 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
214 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
215 which use a decoder-only codec.
217 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
219 * GDIPlusTest.cs: Add test cases for loading unexisting files in
220 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
221 for error code returned by GdipGetImageGraphicsContext for indexed
224 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
226 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
227 implementation leads to false conclusions. MS GDI+ upgrades the
228 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
229 possible to create a Graphics from them.
230 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
231 under MS 1.x with ArgumentNullException.
233 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
235 * TestBitmap.cs: Added test case to create multiple bitmaps from a
237 * TestIcon.cs: Added test cases to create multiple icons from a
238 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
240 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
242 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
243 coexists in the same icon file.
245 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
247 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
248 11x22, to test for non perfect match icon selection.
249 * TestImage.cs: Add test cases for locked/unlocked streams when using
250 GDI+ (e.g. Mono running on Windows).
252 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
254 * TestIcon.cs: Add test cases for XP (32bpp) icons.
256 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
258 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
259 GetHbitmap and FromHbitmap.
260 * TestIcon.cs: Add test cases for all constructors. Add test cases for
261 saving icons (all sizes). Add test cases for roundtripping icons using
264 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
266 * GDIPlusTest.cs: Add test case for loading an icon and playing with
268 * TestIcon.cs: Add test cases for different sizes of icons.
270 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
272 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
273 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
275 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
276 specific, ignored test case.
278 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
280 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
281 on Linux MS Sans Sarif is mapped to other available font.
283 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
285 * SystemFontsTest.cs: Added test for DefaultFont.
287 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
289 * TestBrushes.cs: Ensure that the unit tests are destructive on the
290 brushes (since you can change their color and dispose them). Now only
291 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
292 any other unit test that use Brushes.* executed after this one.
294 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
296 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
298 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
300 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
301 icons provided here behave differently than normal icons (can't be
304 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
306 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
307 names, currently not working), GetStandardValuesSupported and
308 GetStandardValues methods.
310 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
312 * TestGraphics.cs: Add new MeasureString test cases.
313 * TestRectangle.cs: Add unit tests for == and != operators. Update
314 tests to NUnit 2.2 syntax.
315 * TestRectangleF.cs: Add unit tests for == and != operators. Update
316 tests to NUnit 2.2 syntax.
318 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
320 * TestGraphics.cs: Ignore new test cases when font is null (not
321 available). Add pixel size compares to MeasureString_Bug76664.
323 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
325 * TestGraphics.cs: Added test case to measure strings, some aren't yet
326 working. Modified some to get better checks (e.g. Int32.MaxValue for
329 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
331 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
333 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
335 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
336 tests dynamically (when fonts aren't installed).
338 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
340 * TestGraphics.cs: Added test cases for bug #77699 (with and without
343 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
345 * TestStringFormat.cs: fix build for TARGET_JVM.
347 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
349 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
350 like handling bad ranges (start, length) and hotkey prefix handling.
352 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
354 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
355 GdipSetStringFormatTabStops functions.
356 * TestStringFormat.cs: Added a more complex test case for Clone.
358 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
360 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
361 StringFormat functions.
362 * TestGraphics.cs: Avoid test cases failure if the font object can't
363 be created during fixture's setup.
364 * TestStringFormat.cs: Increased coverage of the unit tests.
366 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
368 * TestGraphics.cs: Add test cases for MeasureString and
369 MeasureCharacterRanges methods.
371 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
373 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
374 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
377 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
379 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
380 test. The test is bad because sometimes it uses Size instead of SizeF.
382 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
384 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
386 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
388 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
389 * TestImageConverter.cs: Added a test case when value is null (should
390 return "(none)"). Uncommented and splitted all exception test cases
391 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
393 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
395 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
396 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
398 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
400 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
401 seems to work only when the destination format is 32 bits.
403 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
405 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
407 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
409 * TextureBrushTest.cs: More test cases when only a partial part of the
410 image is being used and for cloning the brush.
412 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
414 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
415 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
417 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
419 * ColorConverter.cs: Add a new test case for a color with a integer
420 part that is too large to convert into an int.
421 * ColorTranslator.cs: Add more test cases for FromHtml method.
423 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
425 * GDIPlusTest.cs: Fix ImageAttributes test case.
426 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
428 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
430 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
431 Added new test cases for ImageAttributes. Removed some assertion for
432 GpGraphicsPath (which returns different value on monobuild win32 bot
433 than my own machine, uninit field ?).
435 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
437 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
438 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
440 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
442 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
444 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
446 * GDIPlusTest.cs: Added more test cases for Matrix functions.
448 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
450 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
453 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
455 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
457 * TestFont.cs: Ignore test cases if we cannot get any font family
460 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
462 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
463 struct like it's currently defined inside SD).
465 2006-08-12 Duncan Mak <duncan@novell.com>
467 * GDIPlusTest.cs: Removed all the local PInvoke methods.
468 (DrawingOperations): New test for various draw and fill operations
471 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
473 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
474 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
475 executes under Windows (GDI+);
476 * TestFont.cs: Added more test cases for ToLogFont including one that
477 shows that LOGFONT only works properly when it's a class (not a struct)
479 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
481 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
482 PathGradientBrush to fix unit tests under Windows.
483 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
484 fail when using MS GDI+ (e.g. Mono on Windows).
486 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
488 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
489 Widen) and some new tests for Matrix related GDI+ functions.
491 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
493 * TestRegion.cs: Add test case for excluding a rectangle from an
496 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
498 * GDIPlusTest.cs: Avoid leaking during tests.
500 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
502 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
505 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
507 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
508 Pen related GDI+ calls.
510 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
512 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
513 fixes some unit test failures seen with Mono running on Windows).
515 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
517 * TestFont.cs: Remove asserts that are system dependant.
519 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
521 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
523 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
525 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
526 * TestImage.cs: Added checks to validate that the thumbnail's callback
529 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
531 * SolidBrushTest.cs: New test case using DrawLine.
533 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
535 * TestImage.cs: Add test cases for GetThumbnailImage.
537 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
539 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
541 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
543 * TestFont.cs: Expanded a test case to check for bug #78721 where the
544 LOGFONT structure must be initialized even if the ToLogFont call fails
546 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
548 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
549 add a comment on a commented one (MakeTransparent ;-)
551 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
553 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
555 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
557 * TestColor.cs: added 2 more tests for serialization and enabled one
558 that was not working.
560 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
562 * FontFamilyTest.cs: New. Unit tests for FontFamily.
563 * TestFont.cs: Added more test cases to Font.
565 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
567 * TestImageFormatConverter.cs: Added test cases for all well known
568 ImageFormat short and long names using ConvertFrom.
570 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
572 * TestColor.cs: Added test cases for serialization. Currently we can't
573 deserialize Color coming from MS serialization.
575 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
577 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
578 permission and test the [Get|From]Hrgn methods.
580 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
582 * TestBitmap.cs: new tests for the default format and the default file
585 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
587 * ColorConverter.cs: Split unworking test case from ConvertFrom into
588 a separate test case (marked as NotWorking).
589 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
590 probably never tested under Windows (and doesn't work there).
591 * TestFontConverter.cs: Split test case for CreateInstance to check
592 for ArgumentException (2.0) or NullReferenceException (1.x).
593 * TestPointConverter.cs: Split test case for CreateInstance to check
594 for ArgumentException (2.0) or NullReferenceException (1.x).
595 * TestRectangleConverter.cs: Split test case for CreateInstance to
596 check for ArgumentException (2.0) or NullReferenceException (1.x).
597 * TestSizeConverter.cs: Split test case for CreateInstance to check
598 for ArgumentException (2.0) or NullReferenceException (1.x).
599 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
600 check for InvalidCastException and NullReferenceException.
601 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
602 Empty and SizeF(0,0) don't share the same hash code.
604 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
606 * TestImageConverter.cs: Adjust test cases as there is an additional
607 properties under 2.0.
608 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
610 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
612 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
613 * TestFont.cs: Fix tests under Windows (CAS related);
614 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
616 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
618 * PenTest.cs: Added a test case where the brush supplied to the .ctor
619 is disposed before the pen is used. Based on a sample from Paddy joy.
621 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
623 * PenTest.cs: New. Unit tests for Pen.
625 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
627 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
629 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
631 * TestRegion.cs: Added a new test case for unioning a rectangle with
632 infinity and a new test case for GetRegionScans.
634 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
636 * TestGraphics.cs: Re-introduce the removed check :)
638 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
640 * TestGraphics.cs: Temporarily remove the checks for the transform in
641 containers. This allows libgdiplus to get better visual results until
642 the matrix issue is fixed correctly (instead of returning the "right"
643 matrix and displaying wrong data).
645 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
647 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
648 for Save and Restore methods.
650 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
652 * TestGraphics.cs: Added new test cases for DrawCurve methods.
654 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
656 * TestBitmap.cs: added tests for UnlockBits when the target is an
657 indexed image and a non-indexed one.
659 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
661 * TestGraphics.cs: Added new test cases for clipping. Some of them do
664 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
666 * TestGraphics.cs: Added new test cases for bug #77129 where we should
667 not draw or fill rectangle(s) with negative width or height. Converted
668 all test cases to UNIX line endings.
670 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
672 * TestGraphics.cs: Added new test cases translating matrix with
673 different MatrixOrder and for multiplying a non-invertible matrix.
675 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
677 * TestGraphics.cs: Add new test cases for clipping.
679 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
681 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
682 path-based (using bitmaps in libgdiplus) and for regions that had a
683 binary operations applied (i.e. using a path tree in libgdiplus).
684 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
685 binary operators (Union, Intersection, Complement, Exclude and Xor)
686 on path based regions (using bitmaps in libgdiplus).
688 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
690 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
691 the appropriate size on each system
693 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
695 * RegionNonRectTest.cs: Updated comments on a test that fails on both
696 1.x and 2.0 MS runtime.
697 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
700 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
701 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
702 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
703 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
704 added #ifdef for TARGET_JVM.
706 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
707 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
709 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
711 * RegionDataTest.cs: New. Unit tests for RegionData.
712 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
713 * TestRegion.cs: Added new test cases for empty region and IsInfinite
714 behaviour with multiple rectangles / path-rectangle regions.
716 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
718 * TestRegion.cs: Mark a test case as NotWorking as it caused a
721 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
723 * RegionCas.cs: New. CAS unit tests for Region.
724 * TestRegion.cs: Added test cases to check for expected exceptions.
726 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
728 * TestFont.cs: Added test for LogFont conversion
730 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
732 * TestPoint.cs: Test new methods for .Net 2.0
733 * TestPointF.cs Test new methods for .Net 2.0
734 * ColorConverter.cs: Fixes for .Net 2.0
735 * TestSizeF.cs: Test new methods for .Net 2.0
736 * TestSize.cs: Test new methods for .Net 2.0
738 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
740 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
741 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
744 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
746 * ColorConverter.cs: added testcases for ConvertFrom and
747 three digit notaion color.
749 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
751 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
752 of indexed (1- and 4-bit) Bitmaps.
753 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
755 2005-09-19 Miguel de Icaza <miguel@novell.com>
757 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
759 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
761 * BitmapCas.cs: New. CAS unit tests for Bitmap.
762 * GraphicsCas.cs: New. CAS unit tests for Graphics.
763 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
764 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
765 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
766 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
767 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
768 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
769 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
770 UnmanagedCode permission to all tests. This shows (when executed under
771 MS runtime) that S.D API is safe and doesn't requires high privileges
772 to run - even if we know that, deep down, this calls into GDI+.
774 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
776 * TestGraphics.cs: Adds default properties, properties set/get and save
777 and restore status test
779 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
781 * TestGraphics.cs: resets graphics object status before every SetClip test
783 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
785 * TestImageConverter.cs: Re-enabled GetProperties test.
786 * TestPointConverter.cs: same.
787 * TestRectangleConverter.cs: same.
788 * TestSizeConverter.cs: same.
790 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
792 * TestImagge.cs: File not found exception, related to fix r49744
793 * TestBimap.cs: File not found exception, related to fix r49744
795 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
797 * TestGraphics.cs: New test case, only clipping for now
799 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
801 * TestPointConverter.cs: Use Assert class instead of deriving from
802 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
803 * TestRectangleConverter.cs: same.
804 * TestSizeConverter.cs: same.
806 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
808 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
811 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
813 * TestPens.cs: Add test for Equals method
814 * TestBrushes.cs: Add test for Equals method
816 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
818 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
819 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
820 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
821 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
823 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
825 * TestRegion.cs: Adds many new cases for the new region implementation
827 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
829 * ColorConverter.cs: Mono now also throws ArgumentException when
830 color value is not between 0 and 255.
831 * TestColor.cs: Added tests for invalid color values.
832 * TestRectangleConverter.cs: Fixed tests for conversion to/from
833 string. Added tests that verify results using specific cultures.
835 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
837 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
838 tests using current culture.
839 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
842 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
844 * TestColor.cs: Added test for ToString() on uninitialized color.
845 * TestColorConverter.cs: Added tests for ColorConverter.
847 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
849 * TestRegion.cs: new cases for Combine and Intersect
851 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
853 * TestRectangle.cs: Add new test.
855 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
857 * ColorConverter.cs, ColorTranslator.cs: added
858 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
859 tests for convert to/from string
861 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
863 * Color.cs: many new testcases added
865 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
867 * Size.cs, SizeF.cs: GetHashCode and ToString tests
869 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
871 * TestRectangle.cs, TestRectangleF.cs: add new testcases
873 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
875 * TestPoint.cs: GetHashCode and ToString tests added
876 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
879 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
881 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
882 the original stack trace.
884 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
886 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
887 tests to use tolerance.
889 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
891 * TestColor.cs: Added tests for GetHue, GetBrightness
894 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
895 * TestRegion.cs: added new IsVisible cases
897 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
899 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
901 2004-06-17 Ravindra <rkumar@novell.com>
903 * graphicsUi.cs: Formatted and moved to
904 Samples/System.Drawing directory.
905 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
906 Samples/System.Drawing directory.
907 * hering.cs: Formatted and moved to Samples/General directory.
908 * BmpPaint.cs: Ficed, formatted and moved to
909 Samples/System.Drawing directory.
910 * font1.cs: Formatted and renamed to font.cs. Moved to
911 Samples/System.Drawing directory.
913 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
915 * TestBitmap.cs: Corrected issues from my previous checkin.
917 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
919 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
920 dependency on obsolete class, Assertion from NUnit.
922 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
924 * TestImageConverter.cs: Removed dependency on obsolete class,
925 Assertion from NUnit.
927 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
929 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
930 dependency on obsolete class, Assertion from NUnit.
932 2004-05-27 Ravindra <rkumar@novell.com>
934 * TestRectangleConverter.cs: Ignored the test that is failing
935 because of bug #58435.
936 * TestPointConverter.cs: Same.
937 * TestSizeConverter.cs: Same.
938 * TestImageConverter.cs: Same.
940 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
942 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
945 2004-05-26 Ravindra <rkumar@novell.com>
947 * TestColor.cs: Added a test for testing ARGB values for all
948 the static color properties.
950 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
952 * TestIcon.cs: Added.
953 * bitmaps/smiley.ico: Added.
955 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
957 * TestImageFormatConverter.cs: Fixed issues with test case.
959 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
961 * TestImageConverter.cs: Fixed issues with test case.
963 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
965 * TestIconConverter.cs: Fixed issues with test case.
967 2004-05-18 Ravindra <rkumar@novell.com>
969 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
970 this under Test/System.Drawing.Drawing2D directory.
972 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
974 * TestIconConverter.cs: Added.
975 * bitmaps/VisualPng.ico: Added
976 * bitmaps/VisualPng1.ico: Added
978 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
980 * TestBitmap.cs: Modified method signature to static to be used in other file.
981 * TestImageConverter.cs: Added.
982 * TestImageFormatConverter.cs: Added
984 2004-05-12 Jordi Mas <jordi@ximan.com>
985 * TestBitmap.cs: added lockbitmap tests
987 2004-05-07 Jordi Mas <jordi@ximan.com>
988 * TestBitmap.cs: added rotation tests
990 2004-04-23 Ravindra <rkumar@novell.com>
992 * TestSystemPens.cs: Removed some unused exception variables.
993 * TestRectangleConverter.cs: Removed culture dependent tests.
994 * TestPointConverter.cs: Removed culture dependent tests.
995 * TestSizeConverter.cs: Removed culture dependent tests.
996 (These tests were not right because a constant culture specific string
997 was being parsed by using current culture of the thread. It resulted in
998 test failures when cultures do not match.)
1000 2004-04-22 Ravindra <rkumar@novell.com>
1002 * TestPointConverter.cs: Added.
1003 * TestSizeConverter.cs: Added.
1005 2004-04-22 Ravindra <rkumar@novell.com>
1007 * TestRectangleConverter.cs: Added.
1009 2004-04-21 Ravindra <rkumar@novell.com>
1011 * TestPens.cs: Added.
1013 2004-04-21 Ravindra <rkumar@novell.com>
1015 * TestBrushes.cs: Added.
1017 2004-04-16 Ravindra <rkumar@novell.com>
1019 * TestSystemPens.cs: Added.
1021 2004-03-13 Ravindra <rkumar@novell.com>
1023 * TestSystemBrushes.cs: Added test fail conditions.
1025 2004-03-12 Ravindra <rkumar@novell.com>
1027 * TestSystemBrushes.cs: Added.
1029 2004-03-17 Ravindra <rkumar@novell.com>
1030 * TestHatchBrush.cs: Added.
1032 2004-01-26 Ravindra <rkumar@novell.com>
1033 * TestPointF.cs: Added.
1034 * TestSize.cs: Added.
1037 2004-01-16 Ravindra <rkumar@novell.com>
1038 * BmpPaint.cs did not run on .NET.
1039 Modified to make it run on .NET. Specs say
1040 "Do not save an image to the same stream
1041 that was used to construct the image."
1043 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1044 * BmpPaint.cs modified
1046 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1047 * hering.cs save as Jpeg also
1049 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1052 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1055 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1056 * BmpPaint.cs ImageFormat specified for Save()
1059 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1062 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1064 * TestPoint.cs : Tests I've had in my node forever.