1 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
3 * RegionNonRectTest.cs: Add test cases for combining empty paths and
4 regions with infinite regions.
6 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
8 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
10 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
12 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
13 methods. Add test case for drawing lines with a pen's width > 1.
15 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
17 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
18 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
19 the saved bitmap (used for debugging).
21 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
23 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
25 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
27 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
28 cases as it's not supported in libgdiplus.
30 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
32 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
33 Point or PointF arrays as destination points.
35 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
37 * TestGraphics.cs: Add test cases for the normal behaviour of
40 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
42 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
43 NULL. This match MS behavior as seen in (unfixed) bug #81709.
45 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
47 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
48 pointer correctly in 64bits architectures. Thanks to Zoltan.
50 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
52 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
53 GdipDrawImageRectRect (GraphicsUnit).
54 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
55 DrawImageUnscaledAndClipped (2.0).
56 * TestRectangle.cs: Add test cases for negative width/height. Fix some
57 test cases that were using RectangleF instead of Rectangle.
58 * TestRectangleF.cs: Add test cases for negative width/height.
60 2007-05-08 Everaldo Canuto <everaldo@simios.org>
62 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
63 it is a reproduction of bug #81572 that checks width for multiline
66 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
68 * TestColor.cs: Under Windows ensure we're getting the same values for
71 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
73 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
74 and it's parameter's validations.
76 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
78 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
79 reworked LockUnlockBitmap (e.g. add assert messages).
81 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
83 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
84 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
85 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
88 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
90 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
93 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
95 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
96 if in particular case (it doesn't). Added Categoty("Valgrind") to a
97 test know to leak due to the API design.
99 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
101 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
102 the data when using ImageLockMode.ReadOnly (this makes some results
103 random when using MS GDI+).
105 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
107 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
108 (without unlocking it first).
109 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
110 returns a named color and a unnamed color.
111 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
112 two additionnal test cases for LockBits, Double locks (exception) and
113 invalid ImageLockMode (no exception).
115 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
117 * TestColor.cs: Add a few more test cases for ==, != and Equals
119 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
121 * ColorConverter.cs: Add test case with a null CultureInfo for
123 * ColorTranslator.cs: Add test cases with known values for FromHtml
124 * TestColor.cs: Made some test clearer about what they do/check.
126 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
128 * TestFont.cs: Add test cases for GetHeight(Graphics) and
129 GetHeight(float) methods.
131 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
133 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
134 crash libgdiplus if it's not updated to the latest svn revision).
135 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
136 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
138 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
140 * TestFont.cs: Add a test for exception thrown when an unavailable font
141 style is requested. (Marked NotWorking due to being platform specific.)
143 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
145 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
146 available on the system.
148 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
150 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
151 the test cases are now working properly.
152 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
154 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
156 * TestImage.cs: Add test cases for loading invalid files as an Image.
158 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
160 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
161 * TestImage.cs: Add test cases for loading metafile as Image.
163 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
165 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
168 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
170 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
171 for TARGET_JVM with not supported method calls
173 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
175 * SystemFontsTest.cs: Add more tests cases including disposing the
176 font instance returned by the SystemFonts class.
178 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
180 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
181 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
183 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
185 * ColorConverter.cs: Rename fixture to match our styleguide.
186 * ColorTranslator.cs: Rename fixture to match our styleguide.
188 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
190 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
193 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
195 * TestRegion.cs: Add test cases for matrix operations on infinite
196 regions (result is always an infinite region). Add test cases for
197 scale and scale+translate on regions (to see that they do not trigger
198 a convertion into bitmap-based regions).
200 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
202 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
203 and for checking clip bounds after operation on world tranformations.
205 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
207 * TestGraphics.cs: Add test case for trailing spaces when calling
208 MeasureString. #80680
210 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
212 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
213 serialization, which "works" under 2.0 but not under 1.1.
214 * TestImage.cs: Add test case for XmlSerializer on Image type, which
215 "works" under 2.0 but not under 1.1.
217 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
219 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
220 which use a decoder-only codec.
222 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
224 * GDIPlusTest.cs: Add test cases for loading unexisting files in
225 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
226 for error code returned by GdipGetImageGraphicsContext for indexed
229 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
231 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
232 implementation leads to false conclusions. MS GDI+ upgrades the
233 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
234 possible to create a Graphics from them.
235 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
236 under MS 1.x with ArgumentNullException.
238 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
240 * TestBitmap.cs: Added test case to create multiple bitmaps from a
242 * TestIcon.cs: Added test cases to create multiple icons from a
243 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
245 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
247 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
248 coexists in the same icon file.
250 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
252 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
253 11x22, to test for non perfect match icon selection.
254 * TestImage.cs: Add test cases for locked/unlocked streams when using
255 GDI+ (e.g. Mono running on Windows).
257 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
259 * TestIcon.cs: Add test cases for XP (32bpp) icons.
261 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
263 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
264 GetHbitmap and FromHbitmap.
265 * TestIcon.cs: Add test cases for all constructors. Add test cases for
266 saving icons (all sizes). Add test cases for roundtripping icons using
269 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
271 * GDIPlusTest.cs: Add test case for loading an icon and playing with
273 * TestIcon.cs: Add test cases for different sizes of icons.
275 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
277 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
278 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
280 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
281 specific, ignored test case.
283 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
285 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
286 on Linux MS Sans Sarif is mapped to other available font.
288 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
290 * SystemFontsTest.cs: Added test for DefaultFont.
292 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
294 * TestBrushes.cs: Ensure that the unit tests are destructive on the
295 brushes (since you can change their color and dispose them). Now only
296 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
297 any other unit test that use Brushes.* executed after this one.
299 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
301 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
303 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
305 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
306 icons provided here behave differently than normal icons (can't be
309 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
311 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
312 names, currently not working), GetStandardValuesSupported and
313 GetStandardValues methods.
315 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
317 * TestGraphics.cs: Add new MeasureString test cases.
318 * TestRectangle.cs: Add unit tests for == and != operators. Update
319 tests to NUnit 2.2 syntax.
320 * TestRectangleF.cs: Add unit tests for == and != operators. Update
321 tests to NUnit 2.2 syntax.
323 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
325 * TestGraphics.cs: Ignore new test cases when font is null (not
326 available). Add pixel size compares to MeasureString_Bug76664.
328 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
330 * TestGraphics.cs: Added test case to measure strings, some aren't yet
331 working. Modified some to get better checks (e.g. Int32.MaxValue for
334 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
336 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
338 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
340 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
341 tests dynamically (when fonts aren't installed).
343 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
345 * TestGraphics.cs: Added test cases for bug #77699 (with and without
348 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
350 * TestStringFormat.cs: fix build for TARGET_JVM.
352 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
354 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
355 like handling bad ranges (start, length) and hotkey prefix handling.
357 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
359 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
360 GdipSetStringFormatTabStops functions.
361 * TestStringFormat.cs: Added a more complex test case for Clone.
363 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
365 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
366 StringFormat functions.
367 * TestGraphics.cs: Avoid test cases failure if the font object can't
368 be created during fixture's setup.
369 * TestStringFormat.cs: Increased coverage of the unit tests.
371 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
373 * TestGraphics.cs: Add test cases for MeasureString and
374 MeasureCharacterRanges methods.
376 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
378 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
379 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
382 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
384 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
385 test. The test is bad because sometimes it uses Size instead of SizeF.
387 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
389 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
391 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
393 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
394 * TestImageConverter.cs: Added a test case when value is null (should
395 return "(none)"). Uncommented and splitted all exception test cases
396 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
398 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
400 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
401 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
403 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
405 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
406 seems to work only when the destination format is 32 bits.
408 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
410 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
412 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
414 * TextureBrushTest.cs: More test cases when only a partial part of the
415 image is being used and for cloning the brush.
417 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
419 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
420 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
422 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
424 * ColorConverter.cs: Add a new test case for a color with a integer
425 part that is too large to convert into an int.
426 * ColorTranslator.cs: Add more test cases for FromHtml method.
428 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
430 * GDIPlusTest.cs: Fix ImageAttributes test case.
431 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
433 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
435 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
436 Added new test cases for ImageAttributes. Removed some assertion for
437 GpGraphicsPath (which returns different value on monobuild win32 bot
438 than my own machine, uninit field ?).
440 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
442 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
443 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
445 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
447 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
449 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
451 * GDIPlusTest.cs: Added more test cases for Matrix functions.
453 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
455 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
458 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
460 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
462 * TestFont.cs: Ignore test cases if we cannot get any font family
465 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
467 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
468 struct like it's currently defined inside SD).
470 2006-08-12 Duncan Mak <duncan@novell.com>
472 * GDIPlusTest.cs: Removed all the local PInvoke methods.
473 (DrawingOperations): New test for various draw and fill operations
476 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
478 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
479 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
480 executes under Windows (GDI+);
481 * TestFont.cs: Added more test cases for ToLogFont including one that
482 shows that LOGFONT only works properly when it's a class (not a struct)
484 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
486 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
487 PathGradientBrush to fix unit tests under Windows.
488 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
489 fail when using MS GDI+ (e.g. Mono on Windows).
491 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
493 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
494 Widen) and some new tests for Matrix related GDI+ functions.
496 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
498 * TestRegion.cs: Add test case for excluding a rectangle from an
501 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
503 * GDIPlusTest.cs: Avoid leaking during tests.
505 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
507 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
510 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
512 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
513 Pen related GDI+ calls.
515 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
517 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
518 fixes some unit test failures seen with Mono running on Windows).
520 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
522 * TestFont.cs: Remove asserts that are system dependant.
524 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
526 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
528 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
530 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
531 * TestImage.cs: Added checks to validate that the thumbnail's callback
534 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
536 * SolidBrushTest.cs: New test case using DrawLine.
538 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
540 * TestImage.cs: Add test cases for GetThumbnailImage.
542 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
544 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
546 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
548 * TestFont.cs: Expanded a test case to check for bug #78721 where the
549 LOGFONT structure must be initialized even if the ToLogFont call fails
551 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
553 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
554 add a comment on a commented one (MakeTransparent ;-)
556 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
558 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
560 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
562 * TestColor.cs: added 2 more tests for serialization and enabled one
563 that was not working.
565 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
567 * FontFamilyTest.cs: New. Unit tests for FontFamily.
568 * TestFont.cs: Added more test cases to Font.
570 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
572 * TestImageFormatConverter.cs: Added test cases for all well known
573 ImageFormat short and long names using ConvertFrom.
575 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
577 * TestColor.cs: Added test cases for serialization. Currently we can't
578 deserialize Color coming from MS serialization.
580 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
582 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
583 permission and test the [Get|From]Hrgn methods.
585 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
587 * TestBitmap.cs: new tests for the default format and the default file
590 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
592 * ColorConverter.cs: Split unworking test case from ConvertFrom into
593 a separate test case (marked as NotWorking).
594 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
595 probably never tested under Windows (and doesn't work there).
596 * TestFontConverter.cs: Split test case for CreateInstance to check
597 for ArgumentException (2.0) or NullReferenceException (1.x).
598 * TestPointConverter.cs: Split test case for CreateInstance to check
599 for ArgumentException (2.0) or NullReferenceException (1.x).
600 * TestRectangleConverter.cs: Split test case for CreateInstance to
601 check for ArgumentException (2.0) or NullReferenceException (1.x).
602 * TestSizeConverter.cs: Split test case for CreateInstance to check
603 for ArgumentException (2.0) or NullReferenceException (1.x).
604 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
605 check for InvalidCastException and NullReferenceException.
606 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
607 Empty and SizeF(0,0) don't share the same hash code.
609 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
611 * TestImageConverter.cs: Adjust test cases as there is an additional
612 properties under 2.0.
613 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
615 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
617 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
618 * TestFont.cs: Fix tests under Windows (CAS related);
619 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
621 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
623 * PenTest.cs: Added a test case where the brush supplied to the .ctor
624 is disposed before the pen is used. Based on a sample from Paddy joy.
626 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
628 * PenTest.cs: New. Unit tests for Pen.
630 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
632 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
634 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
636 * TestRegion.cs: Added a new test case for unioning a rectangle with
637 infinity and a new test case for GetRegionScans.
639 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
641 * TestGraphics.cs: Re-introduce the removed check :)
643 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
645 * TestGraphics.cs: Temporarily remove the checks for the transform in
646 containers. This allows libgdiplus to get better visual results until
647 the matrix issue is fixed correctly (instead of returning the "right"
648 matrix and displaying wrong data).
650 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
652 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
653 for Save and Restore methods.
655 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
657 * TestGraphics.cs: Added new test cases for DrawCurve methods.
659 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
661 * TestBitmap.cs: added tests for UnlockBits when the target is an
662 indexed image and a non-indexed one.
664 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
666 * TestGraphics.cs: Added new test cases for clipping. Some of them do
669 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
671 * TestGraphics.cs: Added new test cases for bug #77129 where we should
672 not draw or fill rectangle(s) with negative width or height. Converted
673 all test cases to UNIX line endings.
675 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
677 * TestGraphics.cs: Added new test cases translating matrix with
678 different MatrixOrder and for multiplying a non-invertible matrix.
680 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
682 * TestGraphics.cs: Add new test cases for clipping.
684 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
686 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
687 path-based (using bitmaps in libgdiplus) and for regions that had a
688 binary operations applied (i.e. using a path tree in libgdiplus).
689 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
690 binary operators (Union, Intersection, Complement, Exclude and Xor)
691 on path based regions (using bitmaps in libgdiplus).
693 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
695 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
696 the appropriate size on each system
698 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
700 * RegionNonRectTest.cs: Updated comments on a test that fails on both
701 1.x and 2.0 MS runtime.
702 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
705 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
706 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
707 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
708 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
709 added #ifdef for TARGET_JVM.
711 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
712 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
714 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
716 * RegionDataTest.cs: New. Unit tests for RegionData.
717 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
718 * TestRegion.cs: Added new test cases for empty region and IsInfinite
719 behaviour with multiple rectangles / path-rectangle regions.
721 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
723 * TestRegion.cs: Mark a test case as NotWorking as it caused a
726 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
728 * RegionCas.cs: New. CAS unit tests for Region.
729 * TestRegion.cs: Added test cases to check for expected exceptions.
731 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
733 * TestFont.cs: Added test for LogFont conversion
735 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
737 * TestPoint.cs: Test new methods for .Net 2.0
738 * TestPointF.cs Test new methods for .Net 2.0
739 * ColorConverter.cs: Fixes for .Net 2.0
740 * TestSizeF.cs: Test new methods for .Net 2.0
741 * TestSize.cs: Test new methods for .Net 2.0
743 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
745 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
746 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
749 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
751 * ColorConverter.cs: added testcases for ConvertFrom and
752 three digit notaion color.
754 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
756 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
757 of indexed (1- and 4-bit) Bitmaps.
758 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
760 2005-09-19 Miguel de Icaza <miguel@novell.com>
762 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
764 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
766 * BitmapCas.cs: New. CAS unit tests for Bitmap.
767 * GraphicsCas.cs: New. CAS unit tests for Graphics.
768 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
769 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
770 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
771 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
772 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
773 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
774 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
775 UnmanagedCode permission to all tests. This shows (when executed under
776 MS runtime) that S.D API is safe and doesn't requires high privileges
777 to run - even if we know that, deep down, this calls into GDI+.
779 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
781 * TestGraphics.cs: Adds default properties, properties set/get and save
782 and restore status test
784 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
786 * TestGraphics.cs: resets graphics object status before every SetClip test
788 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
790 * TestImageConverter.cs: Re-enabled GetProperties test.
791 * TestPointConverter.cs: same.
792 * TestRectangleConverter.cs: same.
793 * TestSizeConverter.cs: same.
795 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
797 * TestImagge.cs: File not found exception, related to fix r49744
798 * TestBimap.cs: File not found exception, related to fix r49744
800 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
802 * TestGraphics.cs: New test case, only clipping for now
804 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
806 * TestPointConverter.cs: Use Assert class instead of deriving from
807 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
808 * TestRectangleConverter.cs: same.
809 * TestSizeConverter.cs: same.
811 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
813 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
816 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
818 * TestPens.cs: Add test for Equals method
819 * TestBrushes.cs: Add test for Equals method
821 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
823 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
824 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
825 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
826 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
828 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
830 * TestRegion.cs: Adds many new cases for the new region implementation
832 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
834 * ColorConverter.cs: Mono now also throws ArgumentException when
835 color value is not between 0 and 255.
836 * TestColor.cs: Added tests for invalid color values.
837 * TestRectangleConverter.cs: Fixed tests for conversion to/from
838 string. Added tests that verify results using specific cultures.
840 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
842 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
843 tests using current culture.
844 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
847 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
849 * TestColor.cs: Added test for ToString() on uninitialized color.
850 * TestColorConverter.cs: Added tests for ColorConverter.
852 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
854 * TestRegion.cs: new cases for Combine and Intersect
856 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
858 * TestRectangle.cs: Add new test.
860 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
862 * ColorConverter.cs, ColorTranslator.cs: added
863 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
864 tests for convert to/from string
866 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
868 * Color.cs: many new testcases added
870 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
872 * Size.cs, SizeF.cs: GetHashCode and ToString tests
874 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
876 * TestRectangle.cs, TestRectangleF.cs: add new testcases
878 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
880 * TestPoint.cs: GetHashCode and ToString tests added
881 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
884 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
886 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
887 the original stack trace.
889 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
891 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
892 tests to use tolerance.
894 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
896 * TestColor.cs: Added tests for GetHue, GetBrightness
899 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
900 * TestRegion.cs: added new IsVisible cases
902 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
904 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
906 2004-06-17 Ravindra <rkumar@novell.com>
908 * graphicsUi.cs: Formatted and moved to
909 Samples/System.Drawing directory.
910 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
911 Samples/System.Drawing directory.
912 * hering.cs: Formatted and moved to Samples/General directory.
913 * BmpPaint.cs: Ficed, formatted and moved to
914 Samples/System.Drawing directory.
915 * font1.cs: Formatted and renamed to font.cs. Moved to
916 Samples/System.Drawing directory.
918 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
920 * TestBitmap.cs: Corrected issues from my previous checkin.
922 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
924 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
925 dependency on obsolete class, Assertion from NUnit.
927 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
929 * TestImageConverter.cs: Removed dependency on obsolete class,
930 Assertion from NUnit.
932 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
934 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
935 dependency on obsolete class, Assertion from NUnit.
937 2004-05-27 Ravindra <rkumar@novell.com>
939 * TestRectangleConverter.cs: Ignored the test that is failing
940 because of bug #58435.
941 * TestPointConverter.cs: Same.
942 * TestSizeConverter.cs: Same.
943 * TestImageConverter.cs: Same.
945 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
947 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
950 2004-05-26 Ravindra <rkumar@novell.com>
952 * TestColor.cs: Added a test for testing ARGB values for all
953 the static color properties.
955 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
957 * TestIcon.cs: Added.
958 * bitmaps/smiley.ico: Added.
960 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
962 * TestImageFormatConverter.cs: Fixed issues with test case.
964 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
966 * TestImageConverter.cs: Fixed issues with test case.
968 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
970 * TestIconConverter.cs: Fixed issues with test case.
972 2004-05-18 Ravindra <rkumar@novell.com>
974 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
975 this under Test/System.Drawing.Drawing2D directory.
977 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
979 * TestIconConverter.cs: Added.
980 * bitmaps/VisualPng.ico: Added
981 * bitmaps/VisualPng1.ico: Added
983 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
985 * TestBitmap.cs: Modified method signature to static to be used in other file.
986 * TestImageConverter.cs: Added.
987 * TestImageFormatConverter.cs: Added
989 2004-05-12 Jordi Mas <jordi@ximan.com>
990 * TestBitmap.cs: added lockbitmap tests
992 2004-05-07 Jordi Mas <jordi@ximan.com>
993 * TestBitmap.cs: added rotation tests
995 2004-04-23 Ravindra <rkumar@novell.com>
997 * TestSystemPens.cs: Removed some unused exception variables.
998 * TestRectangleConverter.cs: Removed culture dependent tests.
999 * TestPointConverter.cs: Removed culture dependent tests.
1000 * TestSizeConverter.cs: Removed culture dependent tests.
1001 (These tests were not right because a constant culture specific string
1002 was being parsed by using current culture of the thread. It resulted in
1003 test failures when cultures do not match.)
1005 2004-04-22 Ravindra <rkumar@novell.com>
1007 * TestPointConverter.cs: Added.
1008 * TestSizeConverter.cs: Added.
1010 2004-04-22 Ravindra <rkumar@novell.com>
1012 * TestRectangleConverter.cs: Added.
1014 2004-04-21 Ravindra <rkumar@novell.com>
1016 * TestPens.cs: Added.
1018 2004-04-21 Ravindra <rkumar@novell.com>
1020 * TestBrushes.cs: Added.
1022 2004-04-16 Ravindra <rkumar@novell.com>
1024 * TestSystemPens.cs: Added.
1026 2004-03-13 Ravindra <rkumar@novell.com>
1028 * TestSystemBrushes.cs: Added test fail conditions.
1030 2004-03-12 Ravindra <rkumar@novell.com>
1032 * TestSystemBrushes.cs: Added.
1034 2004-03-17 Ravindra <rkumar@novell.com>
1035 * TestHatchBrush.cs: Added.
1037 2004-01-26 Ravindra <rkumar@novell.com>
1038 * TestPointF.cs: Added.
1039 * TestSize.cs: Added.
1042 2004-01-16 Ravindra <rkumar@novell.com>
1043 * BmpPaint.cs did not run on .NET.
1044 Modified to make it run on .NET. Specs say
1045 "Do not save an image to the same stream
1046 that was used to construct the image."
1048 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1049 * BmpPaint.cs modified
1051 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1052 * hering.cs save as Jpeg also
1054 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1057 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1060 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1061 * BmpPaint.cs ImageFormat specified for Save()
1064 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1067 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1069 * TestPoint.cs : Tests I've had in my node forever.