1 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
3 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
4 methods. Add test case for drawing lines with a pen's width > 1.
6 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
8 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
9 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
10 the saved bitmap (used for debugging).
12 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
14 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
16 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
18 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
19 cases as it's not supported in libgdiplus.
21 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
23 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
24 Point or PointF arrays as destination points.
26 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
28 * TestGraphics.cs: Add test cases for the normal behaviour of
31 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
33 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
34 NULL. This match MS behavior as seen in (unfixed) bug #81709.
36 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
38 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
39 pointer correctly in 64bits architectures. Thanks to Zoltan.
41 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
43 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
44 GdipDrawImageRectRect (GraphicsUnit).
45 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
46 DrawImageUnscaledAndClipped (2.0).
47 * TestRectangle.cs: Add test cases for negative width/height. Fix some
48 test cases that were using RectangleF instead of Rectangle.
49 * TestRectangleF.cs: Add test cases for negative width/height.
51 2007-05-08 Everaldo Canuto <everaldo@simios.org>
53 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
54 it is a reproduction of bug #81572 that checks width for multiline
57 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
59 * TestColor.cs: Under Windows ensure we're getting the same values for
62 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
64 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
65 and it's parameter's validations.
67 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
69 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
70 reworked LockUnlockBitmap (e.g. add assert messages).
72 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
74 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
75 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
76 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
79 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
81 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
84 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
86 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
87 if in particular case (it doesn't). Added Categoty("Valgrind") to a
88 test know to leak due to the API design.
90 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
92 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
93 the data when using ImageLockMode.ReadOnly (this makes some results
94 random when using MS GDI+).
96 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
98 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
99 (without unlocking it first).
100 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
101 returns a named color and a unnamed color.
102 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
103 two additionnal test cases for LockBits, Double locks (exception) and
104 invalid ImageLockMode (no exception).
106 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
108 * TestColor.cs: Add a few more test cases for ==, != and Equals
110 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
112 * ColorConverter.cs: Add test case with a null CultureInfo for
114 * ColorTranslator.cs: Add test cases with known values for FromHtml
115 * TestColor.cs: Made some test clearer about what they do/check.
117 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
119 * TestFont.cs: Add test cases for GetHeight(Graphics) and
120 GetHeight(float) methods.
122 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
124 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
125 crash libgdiplus if it's not updated to the latest svn revision).
126 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
127 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
129 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
131 * TestFont.cs: Add a test for exception thrown when an unavailable font
132 style is requested. (Marked NotWorking due to being platform specific.)
134 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
136 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
137 available on the system.
139 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
141 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
142 the test cases are now working properly.
143 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
145 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
147 * TestImage.cs: Add test cases for loading invalid files as an Image.
149 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
151 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
152 * TestImage.cs: Add test cases for loading metafile as Image.
154 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
156 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
159 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
161 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
162 for TARGET_JVM with not supported method calls
164 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
166 * SystemFontsTest.cs: Add more tests cases including disposing the
167 font instance returned by the SystemFonts class.
169 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
171 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
172 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
174 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
176 * ColorConverter.cs: Rename fixture to match our styleguide.
177 * ColorTranslator.cs: Rename fixture to match our styleguide.
179 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
181 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
184 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
186 * TestRegion.cs: Add test cases for matrix operations on infinite
187 regions (result is always an infinite region). Add test cases for
188 scale and scale+translate on regions (to see that they do not trigger
189 a convertion into bitmap-based regions).
191 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
193 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
194 and for checking clip bounds after operation on world tranformations.
196 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
198 * TestGraphics.cs: Add test case for trailing spaces when calling
199 MeasureString. #80680
201 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
203 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
204 serialization, which "works" under 2.0 but not under 1.1.
205 * TestImage.cs: Add test case for XmlSerializer on Image type, which
206 "works" under 2.0 but not under 1.1.
208 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
210 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
211 which use a decoder-only codec.
213 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
215 * GDIPlusTest.cs: Add test cases for loading unexisting files in
216 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
217 for error code returned by GdipGetImageGraphicsContext for indexed
220 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
222 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
223 implementation leads to false conclusions. MS GDI+ upgrades the
224 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
225 possible to create a Graphics from them.
226 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
227 under MS 1.x with ArgumentNullException.
229 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
231 * TestBitmap.cs: Added test case to create multiple bitmaps from a
233 * TestIcon.cs: Added test cases to create multiple icons from a
234 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
236 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
238 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
239 coexists in the same icon file.
241 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
243 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
244 11x22, to test for non perfect match icon selection.
245 * TestImage.cs: Add test cases for locked/unlocked streams when using
246 GDI+ (e.g. Mono running on Windows).
248 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
250 * TestIcon.cs: Add test cases for XP (32bpp) icons.
252 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
254 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
255 GetHbitmap and FromHbitmap.
256 * TestIcon.cs: Add test cases for all constructors. Add test cases for
257 saving icons (all sizes). Add test cases for roundtripping icons using
260 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
262 * GDIPlusTest.cs: Add test case for loading an icon and playing with
264 * TestIcon.cs: Add test cases for different sizes of icons.
266 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
268 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
269 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
271 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
272 specific, ignored test case.
274 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
276 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
277 on Linux MS Sans Sarif is mapped to other available font.
279 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
281 * SystemFontsTest.cs: Added test for DefaultFont.
283 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
285 * TestBrushes.cs: Ensure that the unit tests are destructive on the
286 brushes (since you can change their color and dispose them). Now only
287 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
288 any other unit test that use Brushes.* executed after this one.
290 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
292 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
294 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
296 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
297 icons provided here behave differently than normal icons (can't be
300 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
302 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
303 names, currently not working), GetStandardValuesSupported and
304 GetStandardValues methods.
306 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
308 * TestGraphics.cs: Add new MeasureString test cases.
309 * TestRectangle.cs: Add unit tests for == and != operators. Update
310 tests to NUnit 2.2 syntax.
311 * TestRectangleF.cs: Add unit tests for == and != operators. Update
312 tests to NUnit 2.2 syntax.
314 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
316 * TestGraphics.cs: Ignore new test cases when font is null (not
317 available). Add pixel size compares to MeasureString_Bug76664.
319 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
321 * TestGraphics.cs: Added test case to measure strings, some aren't yet
322 working. Modified some to get better checks (e.g. Int32.MaxValue for
325 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
327 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
329 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
331 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
332 tests dynamically (when fonts aren't installed).
334 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
336 * TestGraphics.cs: Added test cases for bug #77699 (with and without
339 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
341 * TestStringFormat.cs: fix build for TARGET_JVM.
343 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
345 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
346 like handling bad ranges (start, length) and hotkey prefix handling.
348 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
350 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
351 GdipSetStringFormatTabStops functions.
352 * TestStringFormat.cs: Added a more complex test case for Clone.
354 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
356 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
357 StringFormat functions.
358 * TestGraphics.cs: Avoid test cases failure if the font object can't
359 be created during fixture's setup.
360 * TestStringFormat.cs: Increased coverage of the unit tests.
362 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
364 * TestGraphics.cs: Add test cases for MeasureString and
365 MeasureCharacterRanges methods.
367 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
369 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
370 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
373 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
375 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
376 test. The test is bad because sometimes it uses Size instead of SizeF.
378 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
380 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
382 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
384 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
385 * TestImageConverter.cs: Added a test case when value is null (should
386 return "(none)"). Uncommented and splitted all exception test cases
387 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
389 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
391 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
392 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
394 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
396 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
397 seems to work only when the destination format is 32 bits.
399 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
401 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
403 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
405 * TextureBrushTest.cs: More test cases when only a partial part of the
406 image is being used and for cloning the brush.
408 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
410 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
411 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
413 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
415 * ColorConverter.cs: Add a new test case for a color with a integer
416 part that is too large to convert into an int.
417 * ColorTranslator.cs: Add more test cases for FromHtml method.
419 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
421 * GDIPlusTest.cs: Fix ImageAttributes test case.
422 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
424 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
426 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
427 Added new test cases for ImageAttributes. Removed some assertion for
428 GpGraphicsPath (which returns different value on monobuild win32 bot
429 than my own machine, uninit field ?).
431 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
433 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
434 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
436 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
438 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
440 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
442 * GDIPlusTest.cs: Added more test cases for Matrix functions.
444 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
446 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
449 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
451 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
453 * TestFont.cs: Ignore test cases if we cannot get any font family
456 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
458 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
459 struct like it's currently defined inside SD).
461 2006-08-12 Duncan Mak <duncan@novell.com>
463 * GDIPlusTest.cs: Removed all the local PInvoke methods.
464 (DrawingOperations): New test for various draw and fill operations
467 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
469 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
470 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
471 executes under Windows (GDI+);
472 * TestFont.cs: Added more test cases for ToLogFont including one that
473 shows that LOGFONT only works properly when it's a class (not a struct)
475 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
477 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
478 PathGradientBrush to fix unit tests under Windows.
479 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
480 fail when using MS GDI+ (e.g. Mono on Windows).
482 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
484 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
485 Widen) and some new tests for Matrix related GDI+ functions.
487 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
489 * TestRegion.cs: Add test case for excluding a rectangle from an
492 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
494 * GDIPlusTest.cs: Avoid leaking during tests.
496 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
498 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
501 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
503 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
504 Pen related GDI+ calls.
506 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
508 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
509 fixes some unit test failures seen with Mono running on Windows).
511 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
513 * TestFont.cs: Remove asserts that are system dependant.
515 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
517 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
519 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
521 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
522 * TestImage.cs: Added checks to validate that the thumbnail's callback
525 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
527 * SolidBrushTest.cs: New test case using DrawLine.
529 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
531 * TestImage.cs: Add test cases for GetThumbnailImage.
533 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
535 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
537 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
539 * TestFont.cs: Expanded a test case to check for bug #78721 where the
540 LOGFONT structure must be initialized even if the ToLogFont call fails
542 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
544 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
545 add a comment on a commented one (MakeTransparent ;-)
547 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
549 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
551 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
553 * TestColor.cs: added 2 more tests for serialization and enabled one
554 that was not working.
556 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
558 * FontFamilyTest.cs: New. Unit tests for FontFamily.
559 * TestFont.cs: Added more test cases to Font.
561 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
563 * TestImageFormatConverter.cs: Added test cases for all well known
564 ImageFormat short and long names using ConvertFrom.
566 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
568 * TestColor.cs: Added test cases for serialization. Currently we can't
569 deserialize Color coming from MS serialization.
571 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
573 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
574 permission and test the [Get|From]Hrgn methods.
576 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
578 * TestBitmap.cs: new tests for the default format and the default file
581 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
583 * ColorConverter.cs: Split unworking test case from ConvertFrom into
584 a separate test case (marked as NotWorking).
585 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
586 probably never tested under Windows (and doesn't work there).
587 * TestFontConverter.cs: Split test case for CreateInstance to check
588 for ArgumentException (2.0) or NullReferenceException (1.x).
589 * TestPointConverter.cs: Split test case for CreateInstance to check
590 for ArgumentException (2.0) or NullReferenceException (1.x).
591 * TestRectangleConverter.cs: Split test case for CreateInstance to
592 check for ArgumentException (2.0) or NullReferenceException (1.x).
593 * TestSizeConverter.cs: Split test case for CreateInstance to check
594 for ArgumentException (2.0) or NullReferenceException (1.x).
595 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
596 check for InvalidCastException and NullReferenceException.
597 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
598 Empty and SizeF(0,0) don't share the same hash code.
600 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
602 * TestImageConverter.cs: Adjust test cases as there is an additional
603 properties under 2.0.
604 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
606 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
608 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
609 * TestFont.cs: Fix tests under Windows (CAS related);
610 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
612 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
614 * PenTest.cs: Added a test case where the brush supplied to the .ctor
615 is disposed before the pen is used. Based on a sample from Paddy joy.
617 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
619 * PenTest.cs: New. Unit tests for Pen.
621 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
623 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
625 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
627 * TestRegion.cs: Added a new test case for unioning a rectangle with
628 infinity and a new test case for GetRegionScans.
630 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
632 * TestGraphics.cs: Re-introduce the removed check :)
634 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
636 * TestGraphics.cs: Temporarily remove the checks for the transform in
637 containers. This allows libgdiplus to get better visual results until
638 the matrix issue is fixed correctly (instead of returning the "right"
639 matrix and displaying wrong data).
641 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
643 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
644 for Save and Restore methods.
646 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
648 * TestGraphics.cs: Added new test cases for DrawCurve methods.
650 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
652 * TestBitmap.cs: added tests for UnlockBits when the target is an
653 indexed image and a non-indexed one.
655 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
657 * TestGraphics.cs: Added new test cases for clipping. Some of them do
660 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
662 * TestGraphics.cs: Added new test cases for bug #77129 where we should
663 not draw or fill rectangle(s) with negative width or height. Converted
664 all test cases to UNIX line endings.
666 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
668 * TestGraphics.cs: Added new test cases translating matrix with
669 different MatrixOrder and for multiplying a non-invertible matrix.
671 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
673 * TestGraphics.cs: Add new test cases for clipping.
675 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
677 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
678 path-based (using bitmaps in libgdiplus) and for regions that had a
679 binary operations applied (i.e. using a path tree in libgdiplus).
680 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
681 binary operators (Union, Intersection, Complement, Exclude and Xor)
682 on path based regions (using bitmaps in libgdiplus).
684 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
686 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
687 the appropriate size on each system
689 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
691 * RegionNonRectTest.cs: Updated comments on a test that fails on both
692 1.x and 2.0 MS runtime.
693 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
696 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
697 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
698 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
699 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
700 added #ifdef for TARGET_JVM.
702 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
703 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
705 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
707 * RegionDataTest.cs: New. Unit tests for RegionData.
708 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
709 * TestRegion.cs: Added new test cases for empty region and IsInfinite
710 behaviour with multiple rectangles / path-rectangle regions.
712 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
714 * TestRegion.cs: Mark a test case as NotWorking as it caused a
717 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
719 * RegionCas.cs: New. CAS unit tests for Region.
720 * TestRegion.cs: Added test cases to check for expected exceptions.
722 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
724 * TestFont.cs: Added test for LogFont conversion
726 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
728 * TestPoint.cs: Test new methods for .Net 2.0
729 * TestPointF.cs Test new methods for .Net 2.0
730 * ColorConverter.cs: Fixes for .Net 2.0
731 * TestSizeF.cs: Test new methods for .Net 2.0
732 * TestSize.cs: Test new methods for .Net 2.0
734 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
736 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
737 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
740 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
742 * ColorConverter.cs: added testcases for ConvertFrom and
743 three digit notaion color.
745 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
747 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
748 of indexed (1- and 4-bit) Bitmaps.
749 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
751 2005-09-19 Miguel de Icaza <miguel@novell.com>
753 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
755 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
757 * BitmapCas.cs: New. CAS unit tests for Bitmap.
758 * GraphicsCas.cs: New. CAS unit tests for Graphics.
759 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
760 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
761 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
762 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
763 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
764 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
765 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
766 UnmanagedCode permission to all tests. This shows (when executed under
767 MS runtime) that S.D API is safe and doesn't requires high privileges
768 to run - even if we know that, deep down, this calls into GDI+.
770 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
772 * TestGraphics.cs: Adds default properties, properties set/get and save
773 and restore status test
775 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
777 * TestGraphics.cs: resets graphics object status before every SetClip test
779 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
781 * TestImageConverter.cs: Re-enabled GetProperties test.
782 * TestPointConverter.cs: same.
783 * TestRectangleConverter.cs: same.
784 * TestSizeConverter.cs: same.
786 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
788 * TestImagge.cs: File not found exception, related to fix r49744
789 * TestBimap.cs: File not found exception, related to fix r49744
791 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
793 * TestGraphics.cs: New test case, only clipping for now
795 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
797 * TestPointConverter.cs: Use Assert class instead of deriving from
798 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
799 * TestRectangleConverter.cs: same.
800 * TestSizeConverter.cs: same.
802 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
804 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
807 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
809 * TestPens.cs: Add test for Equals method
810 * TestBrushes.cs: Add test for Equals method
812 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
814 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
815 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
816 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
817 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
819 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
821 * TestRegion.cs: Adds many new cases for the new region implementation
823 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
825 * ColorConverter.cs: Mono now also throws ArgumentException when
826 color value is not between 0 and 255.
827 * TestColor.cs: Added tests for invalid color values.
828 * TestRectangleConverter.cs: Fixed tests for conversion to/from
829 string. Added tests that verify results using specific cultures.
831 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
833 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
834 tests using current culture.
835 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
838 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
840 * TestColor.cs: Added test for ToString() on uninitialized color.
841 * TestColorConverter.cs: Added tests for ColorConverter.
843 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
845 * TestRegion.cs: new cases for Combine and Intersect
847 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
849 * TestRectangle.cs: Add new test.
851 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
853 * ColorConverter.cs, ColorTranslator.cs: added
854 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
855 tests for convert to/from string
857 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
859 * Color.cs: many new testcases added
861 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
863 * Size.cs, SizeF.cs: GetHashCode and ToString tests
865 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
867 * TestRectangle.cs, TestRectangleF.cs: add new testcases
869 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
871 * TestPoint.cs: GetHashCode and ToString tests added
872 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
875 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
877 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
878 the original stack trace.
880 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
882 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
883 tests to use tolerance.
885 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
887 * TestColor.cs: Added tests for GetHue, GetBrightness
890 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
891 * TestRegion.cs: added new IsVisible cases
893 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
895 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
897 2004-06-17 Ravindra <rkumar@novell.com>
899 * graphicsUi.cs: Formatted and moved to
900 Samples/System.Drawing directory.
901 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
902 Samples/System.Drawing directory.
903 * hering.cs: Formatted and moved to Samples/General directory.
904 * BmpPaint.cs: Ficed, formatted and moved to
905 Samples/System.Drawing directory.
906 * font1.cs: Formatted and renamed to font.cs. Moved to
907 Samples/System.Drawing directory.
909 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
911 * TestBitmap.cs: Corrected issues from my previous checkin.
913 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
915 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
916 dependency on obsolete class, Assertion from NUnit.
918 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
920 * TestImageConverter.cs: Removed dependency on obsolete class,
921 Assertion from NUnit.
923 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
925 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
926 dependency on obsolete class, Assertion from NUnit.
928 2004-05-27 Ravindra <rkumar@novell.com>
930 * TestRectangleConverter.cs: Ignored the test that is failing
931 because of bug #58435.
932 * TestPointConverter.cs: Same.
933 * TestSizeConverter.cs: Same.
934 * TestImageConverter.cs: Same.
936 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
938 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
941 2004-05-26 Ravindra <rkumar@novell.com>
943 * TestColor.cs: Added a test for testing ARGB values for all
944 the static color properties.
946 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
948 * TestIcon.cs: Added.
949 * bitmaps/smiley.ico: Added.
951 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
953 * TestImageFormatConverter.cs: Fixed issues with test case.
955 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
957 * TestImageConverter.cs: Fixed issues with test case.
959 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
961 * TestIconConverter.cs: Fixed issues with test case.
963 2004-05-18 Ravindra <rkumar@novell.com>
965 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
966 this under Test/System.Drawing.Drawing2D directory.
968 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
970 * TestIconConverter.cs: Added.
971 * bitmaps/VisualPng.ico: Added
972 * bitmaps/VisualPng1.ico: Added
974 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
976 * TestBitmap.cs: Modified method signature to static to be used in other file.
977 * TestImageConverter.cs: Added.
978 * TestImageFormatConverter.cs: Added
980 2004-05-12 Jordi Mas <jordi@ximan.com>
981 * TestBitmap.cs: added lockbitmap tests
983 2004-05-07 Jordi Mas <jordi@ximan.com>
984 * TestBitmap.cs: added rotation tests
986 2004-04-23 Ravindra <rkumar@novell.com>
988 * TestSystemPens.cs: Removed some unused exception variables.
989 * TestRectangleConverter.cs: Removed culture dependent tests.
990 * TestPointConverter.cs: Removed culture dependent tests.
991 * TestSizeConverter.cs: Removed culture dependent tests.
992 (These tests were not right because a constant culture specific string
993 was being parsed by using current culture of the thread. It resulted in
994 test failures when cultures do not match.)
996 2004-04-22 Ravindra <rkumar@novell.com>
998 * TestPointConverter.cs: Added.
999 * TestSizeConverter.cs: Added.
1001 2004-04-22 Ravindra <rkumar@novell.com>
1003 * TestRectangleConverter.cs: Added.
1005 2004-04-21 Ravindra <rkumar@novell.com>
1007 * TestPens.cs: Added.
1009 2004-04-21 Ravindra <rkumar@novell.com>
1011 * TestBrushes.cs: Added.
1013 2004-04-16 Ravindra <rkumar@novell.com>
1015 * TestSystemPens.cs: Added.
1017 2004-03-13 Ravindra <rkumar@novell.com>
1019 * TestSystemBrushes.cs: Added test fail conditions.
1021 2004-03-12 Ravindra <rkumar@novell.com>
1023 * TestSystemBrushes.cs: Added.
1025 2004-03-17 Ravindra <rkumar@novell.com>
1026 * TestHatchBrush.cs: Added.
1028 2004-01-26 Ravindra <rkumar@novell.com>
1029 * TestPointF.cs: Added.
1030 * TestSize.cs: Added.
1033 2004-01-16 Ravindra <rkumar@novell.com>
1034 * BmpPaint.cs did not run on .NET.
1035 Modified to make it run on .NET. Specs say
1036 "Do not save an image to the same stream
1037 that was used to construct the image."
1039 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1040 * BmpPaint.cs modified
1042 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1043 * hering.cs save as Jpeg also
1045 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1048 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1051 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1052 * BmpPaint.cs ImageFormat specified for Save()
1055 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1058 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1060 * TestPoint.cs : Tests I've had in my node forever.