1 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
3 * TestBitmap.cs: XML serialization test case (#323246).
4 * TestImage.cs: XML serialization test case (#323246).
6 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
8 * Image.cs: Add test cases for the stream position when loading and
9 saving bitmaps and metafiles. Some of them are based on Gert Driesen
12 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
14 * TestGraphics.cs: Test against NRE in MultiplyTransform
16 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
18 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
19 now that #81572 is fixed.
21 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
23 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
25 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
27 * TextureBrushTest.cs: Added test cases for textures using alpha
30 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
32 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
34 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
36 * RegionNonRectTest.cs: Add test cases for combining empty paths and
37 regions with infinite regions.
39 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
41 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
43 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
45 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
46 methods. Add test case for drawing lines with a pen's width > 1.
48 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
50 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
51 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
52 the saved bitmap (used for debugging).
54 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
56 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
58 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
60 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
61 cases as it's not supported in libgdiplus.
63 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
65 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
66 Point or PointF arrays as destination points.
68 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
70 * TestGraphics.cs: Add test cases for the normal behaviour of
73 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
75 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
76 NULL. This match MS behavior as seen in (unfixed) bug #81709.
78 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
80 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
81 pointer correctly in 64bits architectures. Thanks to Zoltan.
83 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
85 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
86 GdipDrawImageRectRect (GraphicsUnit).
87 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
88 DrawImageUnscaledAndClipped (2.0).
89 * TestRectangle.cs: Add test cases for negative width/height. Fix some
90 test cases that were using RectangleF instead of Rectangle.
91 * TestRectangleF.cs: Add test cases for negative width/height.
93 2007-05-08 Everaldo Canuto <everaldo@simios.org>
95 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
96 it is a reproduction of bug #81572 that checks width for multiline
99 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
101 * TestColor.cs: Under Windows ensure we're getting the same values for
104 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
106 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
107 and it's parameter's validations.
109 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
111 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
112 reworked LockUnlockBitmap (e.g. add assert messages).
114 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
116 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
117 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
118 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
119 Format16bppGrayScale.
121 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
123 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
126 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
128 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
129 if in particular case (it doesn't). Added Categoty("Valgrind") to a
130 test know to leak due to the API design.
132 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
134 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
135 the data when using ImageLockMode.ReadOnly (this makes some results
136 random when using MS GDI+).
138 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
140 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
141 (without unlocking it first).
142 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
143 returns a named color and a unnamed color.
144 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
145 two additionnal test cases for LockBits, Double locks (exception) and
146 invalid ImageLockMode (no exception).
148 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
150 * TestColor.cs: Add a few more test cases for ==, != and Equals
152 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
154 * ColorConverter.cs: Add test case with a null CultureInfo for
156 * ColorTranslator.cs: Add test cases with known values for FromHtml
157 * TestColor.cs: Made some test clearer about what they do/check.
159 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
161 * TestFont.cs: Add test cases for GetHeight(Graphics) and
162 GetHeight(float) methods.
164 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
166 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
167 crash libgdiplus if it's not updated to the latest svn revision).
168 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
169 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
171 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
173 * TestFont.cs: Add a test for exception thrown when an unavailable font
174 style is requested. (Marked NotWorking due to being platform specific.)
176 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
178 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
179 available on the system.
181 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
183 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
184 the test cases are now working properly.
185 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
187 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
189 * TestImage.cs: Add test cases for loading invalid files as an Image.
191 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
193 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
194 * TestImage.cs: Add test cases for loading metafile as Image.
196 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
198 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
201 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
203 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
204 for TARGET_JVM with not supported method calls
206 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
208 * SystemFontsTest.cs: Add more tests cases including disposing the
209 font instance returned by the SystemFonts class.
211 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
213 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
214 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
216 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
218 * ColorConverter.cs: Rename fixture to match our styleguide.
219 * ColorTranslator.cs: Rename fixture to match our styleguide.
221 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
223 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
226 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
228 * TestRegion.cs: Add test cases for matrix operations on infinite
229 regions (result is always an infinite region). Add test cases for
230 scale and scale+translate on regions (to see that they do not trigger
231 a convertion into bitmap-based regions).
233 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
235 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
236 and for checking clip bounds after operation on world tranformations.
238 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
240 * TestGraphics.cs: Add test case for trailing spaces when calling
241 MeasureString. #80680
243 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
245 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
246 serialization, which "works" under 2.0 but not under 1.1.
247 * TestImage.cs: Add test case for XmlSerializer on Image type, which
248 "works" under 2.0 but not under 1.1.
250 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
252 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
253 which use a decoder-only codec.
255 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
257 * GDIPlusTest.cs: Add test cases for loading unexisting files in
258 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
259 for error code returned by GdipGetImageGraphicsContext for indexed
262 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
264 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
265 implementation leads to false conclusions. MS GDI+ upgrades the
266 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
267 possible to create a Graphics from them.
268 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
269 under MS 1.x with ArgumentNullException.
271 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
273 * TestBitmap.cs: Added test case to create multiple bitmaps from a
275 * TestIcon.cs: Added test cases to create multiple icons from a
276 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
278 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
280 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
281 coexists in the same icon file.
283 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
285 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
286 11x22, to test for non perfect match icon selection.
287 * TestImage.cs: Add test cases for locked/unlocked streams when using
288 GDI+ (e.g. Mono running on Windows).
290 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
292 * TestIcon.cs: Add test cases for XP (32bpp) icons.
294 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
296 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
297 GetHbitmap and FromHbitmap.
298 * TestIcon.cs: Add test cases for all constructors. Add test cases for
299 saving icons (all sizes). Add test cases for roundtripping icons using
302 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
304 * GDIPlusTest.cs: Add test case for loading an icon and playing with
306 * TestIcon.cs: Add test cases for different sizes of icons.
308 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
310 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
311 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
313 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
314 specific, ignored test case.
316 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
318 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
319 on Linux MS Sans Sarif is mapped to other available font.
321 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
323 * SystemFontsTest.cs: Added test for DefaultFont.
325 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
327 * TestBrushes.cs: Ensure that the unit tests are destructive on the
328 brushes (since you can change their color and dispose them). Now only
329 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
330 any other unit test that use Brushes.* executed after this one.
332 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
334 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
336 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
338 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
339 icons provided here behave differently than normal icons (can't be
342 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
344 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
345 names, currently not working), GetStandardValuesSupported and
346 GetStandardValues methods.
348 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
350 * TestGraphics.cs: Add new MeasureString test cases.
351 * TestRectangle.cs: Add unit tests for == and != operators. Update
352 tests to NUnit 2.2 syntax.
353 * TestRectangleF.cs: Add unit tests for == and != operators. Update
354 tests to NUnit 2.2 syntax.
356 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
358 * TestGraphics.cs: Ignore new test cases when font is null (not
359 available). Add pixel size compares to MeasureString_Bug76664.
361 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
363 * TestGraphics.cs: Added test case to measure strings, some aren't yet
364 working. Modified some to get better checks (e.g. Int32.MaxValue for
367 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
369 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
371 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
373 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
374 tests dynamically (when fonts aren't installed).
376 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
378 * TestGraphics.cs: Added test cases for bug #77699 (with and without
381 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
383 * TestStringFormat.cs: fix build for TARGET_JVM.
385 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
387 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
388 like handling bad ranges (start, length) and hotkey prefix handling.
390 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
392 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
393 GdipSetStringFormatTabStops functions.
394 * TestStringFormat.cs: Added a more complex test case for Clone.
396 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
398 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
399 StringFormat functions.
400 * TestGraphics.cs: Avoid test cases failure if the font object can't
401 be created during fixture's setup.
402 * TestStringFormat.cs: Increased coverage of the unit tests.
404 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
406 * TestGraphics.cs: Add test cases for MeasureString and
407 MeasureCharacterRanges methods.
409 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
411 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
412 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
415 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
417 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
418 test. The test is bad because sometimes it uses Size instead of SizeF.
420 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
422 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
424 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
426 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
427 * TestImageConverter.cs: Added a test case when value is null (should
428 return "(none)"). Uncommented and splitted all exception test cases
429 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
431 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
433 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
434 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
436 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
438 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
439 seems to work only when the destination format is 32 bits.
441 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
443 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
445 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
447 * TextureBrushTest.cs: More test cases when only a partial part of the
448 image is being used and for cloning the brush.
450 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
452 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
453 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
455 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
457 * ColorConverter.cs: Add a new test case for a color with a integer
458 part that is too large to convert into an int.
459 * ColorTranslator.cs: Add more test cases for FromHtml method.
461 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
463 * GDIPlusTest.cs: Fix ImageAttributes test case.
464 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
466 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
468 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
469 Added new test cases for ImageAttributes. Removed some assertion for
470 GpGraphicsPath (which returns different value on monobuild win32 bot
471 than my own machine, uninit field ?).
473 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
475 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
476 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
478 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
480 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
482 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
484 * GDIPlusTest.cs: Added more test cases for Matrix functions.
486 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
488 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
491 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
493 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
495 * TestFont.cs: Ignore test cases if we cannot get any font family
498 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
500 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
501 struct like it's currently defined inside SD).
503 2006-08-12 Duncan Mak <duncan@novell.com>
505 * GDIPlusTest.cs: Removed all the local PInvoke methods.
506 (DrawingOperations): New test for various draw and fill operations
509 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
511 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
512 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
513 executes under Windows (GDI+);
514 * TestFont.cs: Added more test cases for ToLogFont including one that
515 shows that LOGFONT only works properly when it's a class (not a struct)
517 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
519 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
520 PathGradientBrush to fix unit tests under Windows.
521 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
522 fail when using MS GDI+ (e.g. Mono on Windows).
524 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
526 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
527 Widen) and some new tests for Matrix related GDI+ functions.
529 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
531 * TestRegion.cs: Add test case for excluding a rectangle from an
534 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
536 * GDIPlusTest.cs: Avoid leaking during tests.
538 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
540 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
543 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
545 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
546 Pen related GDI+ calls.
548 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
550 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
551 fixes some unit test failures seen with Mono running on Windows).
553 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
555 * TestFont.cs: Remove asserts that are system dependant.
557 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
559 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
561 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
563 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
564 * TestImage.cs: Added checks to validate that the thumbnail's callback
567 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
569 * SolidBrushTest.cs: New test case using DrawLine.
571 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
573 * TestImage.cs: Add test cases for GetThumbnailImage.
575 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
577 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
579 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
581 * TestFont.cs: Expanded a test case to check for bug #78721 where the
582 LOGFONT structure must be initialized even if the ToLogFont call fails
584 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
586 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
587 add a comment on a commented one (MakeTransparent ;-)
589 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
591 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
593 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
595 * TestColor.cs: added 2 more tests for serialization and enabled one
596 that was not working.
598 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
600 * FontFamilyTest.cs: New. Unit tests for FontFamily.
601 * TestFont.cs: Added more test cases to Font.
603 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
605 * TestImageFormatConverter.cs: Added test cases for all well known
606 ImageFormat short and long names using ConvertFrom.
608 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
610 * TestColor.cs: Added test cases for serialization. Currently we can't
611 deserialize Color coming from MS serialization.
613 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
615 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
616 permission and test the [Get|From]Hrgn methods.
618 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
620 * TestBitmap.cs: new tests for the default format and the default file
623 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
625 * ColorConverter.cs: Split unworking test case from ConvertFrom into
626 a separate test case (marked as NotWorking).
627 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
628 probably never tested under Windows (and doesn't work there).
629 * TestFontConverter.cs: Split test case for CreateInstance to check
630 for ArgumentException (2.0) or NullReferenceException (1.x).
631 * TestPointConverter.cs: Split test case for CreateInstance to check
632 for ArgumentException (2.0) or NullReferenceException (1.x).
633 * TestRectangleConverter.cs: Split test case for CreateInstance to
634 check for ArgumentException (2.0) or NullReferenceException (1.x).
635 * TestSizeConverter.cs: Split test case for CreateInstance to check
636 for ArgumentException (2.0) or NullReferenceException (1.x).
637 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
638 check for InvalidCastException and NullReferenceException.
639 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
640 Empty and SizeF(0,0) don't share the same hash code.
642 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
644 * TestImageConverter.cs: Adjust test cases as there is an additional
645 properties under 2.0.
646 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
648 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
650 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
651 * TestFont.cs: Fix tests under Windows (CAS related);
652 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
654 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
656 * PenTest.cs: Added a test case where the brush supplied to the .ctor
657 is disposed before the pen is used. Based on a sample from Paddy joy.
659 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
661 * PenTest.cs: New. Unit tests for Pen.
663 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
665 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
667 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
669 * TestRegion.cs: Added a new test case for unioning a rectangle with
670 infinity and a new test case for GetRegionScans.
672 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
674 * TestGraphics.cs: Re-introduce the removed check :)
676 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
678 * TestGraphics.cs: Temporarily remove the checks for the transform in
679 containers. This allows libgdiplus to get better visual results until
680 the matrix issue is fixed correctly (instead of returning the "right"
681 matrix and displaying wrong data).
683 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
685 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
686 for Save and Restore methods.
688 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
690 * TestGraphics.cs: Added new test cases for DrawCurve methods.
692 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
694 * TestBitmap.cs: added tests for UnlockBits when the target is an
695 indexed image and a non-indexed one.
697 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
699 * TestGraphics.cs: Added new test cases for clipping. Some of them do
702 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
704 * TestGraphics.cs: Added new test cases for bug #77129 where we should
705 not draw or fill rectangle(s) with negative width or height. Converted
706 all test cases to UNIX line endings.
708 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
710 * TestGraphics.cs: Added new test cases translating matrix with
711 different MatrixOrder and for multiplying a non-invertible matrix.
713 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
715 * TestGraphics.cs: Add new test cases for clipping.
717 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
719 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
720 path-based (using bitmaps in libgdiplus) and for regions that had a
721 binary operations applied (i.e. using a path tree in libgdiplus).
722 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
723 binary operators (Union, Intersection, Complement, Exclude and Xor)
724 on path based regions (using bitmaps in libgdiplus).
726 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
728 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
729 the appropriate size on each system
731 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
733 * RegionNonRectTest.cs: Updated comments on a test that fails on both
734 1.x and 2.0 MS runtime.
735 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
738 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
739 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
740 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
741 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
742 added #ifdef for TARGET_JVM.
744 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
745 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
747 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
749 * RegionDataTest.cs: New. Unit tests for RegionData.
750 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
751 * TestRegion.cs: Added new test cases for empty region and IsInfinite
752 behaviour with multiple rectangles / path-rectangle regions.
754 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
756 * TestRegion.cs: Mark a test case as NotWorking as it caused a
759 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
761 * RegionCas.cs: New. CAS unit tests for Region.
762 * TestRegion.cs: Added test cases to check for expected exceptions.
764 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
766 * TestFont.cs: Added test for LogFont conversion
768 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
770 * TestPoint.cs: Test new methods for .Net 2.0
771 * TestPointF.cs Test new methods for .Net 2.0
772 * ColorConverter.cs: Fixes for .Net 2.0
773 * TestSizeF.cs: Test new methods for .Net 2.0
774 * TestSize.cs: Test new methods for .Net 2.0
776 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
778 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
779 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
782 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
784 * ColorConverter.cs: added testcases for ConvertFrom and
785 three digit notaion color.
787 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
789 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
790 of indexed (1- and 4-bit) Bitmaps.
791 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
793 2005-09-19 Miguel de Icaza <miguel@novell.com>
795 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
797 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
799 * BitmapCas.cs: New. CAS unit tests for Bitmap.
800 * GraphicsCas.cs: New. CAS unit tests for Graphics.
801 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
802 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
803 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
804 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
805 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
806 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
807 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
808 UnmanagedCode permission to all tests. This shows (when executed under
809 MS runtime) that S.D API is safe and doesn't requires high privileges
810 to run - even if we know that, deep down, this calls into GDI+.
812 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
814 * TestGraphics.cs: Adds default properties, properties set/get and save
815 and restore status test
817 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
819 * TestGraphics.cs: resets graphics object status before every SetClip test
821 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
823 * TestImageConverter.cs: Re-enabled GetProperties test.
824 * TestPointConverter.cs: same.
825 * TestRectangleConverter.cs: same.
826 * TestSizeConverter.cs: same.
828 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
830 * TestImagge.cs: File not found exception, related to fix r49744
831 * TestBimap.cs: File not found exception, related to fix r49744
833 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
835 * TestGraphics.cs: New test case, only clipping for now
837 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
839 * TestPointConverter.cs: Use Assert class instead of deriving from
840 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
841 * TestRectangleConverter.cs: same.
842 * TestSizeConverter.cs: same.
844 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
846 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
849 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
851 * TestPens.cs: Add test for Equals method
852 * TestBrushes.cs: Add test for Equals method
854 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
856 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
857 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
858 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
859 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
861 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
863 * TestRegion.cs: Adds many new cases for the new region implementation
865 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
867 * ColorConverter.cs: Mono now also throws ArgumentException when
868 color value is not between 0 and 255.
869 * TestColor.cs: Added tests for invalid color values.
870 * TestRectangleConverter.cs: Fixed tests for conversion to/from
871 string. Added tests that verify results using specific cultures.
873 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
875 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
876 tests using current culture.
877 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
880 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
882 * TestColor.cs: Added test for ToString() on uninitialized color.
883 * TestColorConverter.cs: Added tests for ColorConverter.
885 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
887 * TestRegion.cs: new cases for Combine and Intersect
889 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
891 * TestRectangle.cs: Add new test.
893 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
895 * ColorConverter.cs, ColorTranslator.cs: added
896 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
897 tests for convert to/from string
899 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
901 * Color.cs: many new testcases added
903 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
905 * Size.cs, SizeF.cs: GetHashCode and ToString tests
907 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
909 * TestRectangle.cs, TestRectangleF.cs: add new testcases
911 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
913 * TestPoint.cs: GetHashCode and ToString tests added
914 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
917 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
919 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
920 the original stack trace.
922 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
924 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
925 tests to use tolerance.
927 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
929 * TestColor.cs: Added tests for GetHue, GetBrightness
932 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
933 * TestRegion.cs: added new IsVisible cases
935 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
937 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
939 2004-06-17 Ravindra <rkumar@novell.com>
941 * graphicsUi.cs: Formatted and moved to
942 Samples/System.Drawing directory.
943 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
944 Samples/System.Drawing directory.
945 * hering.cs: Formatted and moved to Samples/General directory.
946 * BmpPaint.cs: Ficed, formatted and moved to
947 Samples/System.Drawing directory.
948 * font1.cs: Formatted and renamed to font.cs. Moved to
949 Samples/System.Drawing directory.
951 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
953 * TestBitmap.cs: Corrected issues from my previous checkin.
955 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
957 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
958 dependency on obsolete class, Assertion from NUnit.
960 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
962 * TestImageConverter.cs: Removed dependency on obsolete class,
963 Assertion from NUnit.
965 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
967 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
968 dependency on obsolete class, Assertion from NUnit.
970 2004-05-27 Ravindra <rkumar@novell.com>
972 * TestRectangleConverter.cs: Ignored the test that is failing
973 because of bug #58435.
974 * TestPointConverter.cs: Same.
975 * TestSizeConverter.cs: Same.
976 * TestImageConverter.cs: Same.
978 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
980 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
983 2004-05-26 Ravindra <rkumar@novell.com>
985 * TestColor.cs: Added a test for testing ARGB values for all
986 the static color properties.
988 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
990 * TestIcon.cs: Added.
991 * bitmaps/smiley.ico: Added.
993 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
995 * TestImageFormatConverter.cs: Fixed issues with test case.
997 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
999 * TestImageConverter.cs: Fixed issues with test case.
1001 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1003 * TestIconConverter.cs: Fixed issues with test case.
1005 2004-05-18 Ravindra <rkumar@novell.com>
1007 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1008 this under Test/System.Drawing.Drawing2D directory.
1010 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1012 * TestIconConverter.cs: Added.
1013 * bitmaps/VisualPng.ico: Added
1014 * bitmaps/VisualPng1.ico: Added
1016 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1018 * TestBitmap.cs: Modified method signature to static to be used in other file.
1019 * TestImageConverter.cs: Added.
1020 * TestImageFormatConverter.cs: Added
1022 2004-05-12 Jordi Mas <jordi@ximan.com>
1023 * TestBitmap.cs: added lockbitmap tests
1025 2004-05-07 Jordi Mas <jordi@ximan.com>
1026 * TestBitmap.cs: added rotation tests
1028 2004-04-23 Ravindra <rkumar@novell.com>
1030 * TestSystemPens.cs: Removed some unused exception variables.
1031 * TestRectangleConverter.cs: Removed culture dependent tests.
1032 * TestPointConverter.cs: Removed culture dependent tests.
1033 * TestSizeConverter.cs: Removed culture dependent tests.
1034 (These tests were not right because a constant culture specific string
1035 was being parsed by using current culture of the thread. It resulted in
1036 test failures when cultures do not match.)
1038 2004-04-22 Ravindra <rkumar@novell.com>
1040 * TestPointConverter.cs: Added.
1041 * TestSizeConverter.cs: Added.
1043 2004-04-22 Ravindra <rkumar@novell.com>
1045 * TestRectangleConverter.cs: Added.
1047 2004-04-21 Ravindra <rkumar@novell.com>
1049 * TestPens.cs: Added.
1051 2004-04-21 Ravindra <rkumar@novell.com>
1053 * TestBrushes.cs: Added.
1055 2004-04-16 Ravindra <rkumar@novell.com>
1057 * TestSystemPens.cs: Added.
1059 2004-03-13 Ravindra <rkumar@novell.com>
1061 * TestSystemBrushes.cs: Added test fail conditions.
1063 2004-03-12 Ravindra <rkumar@novell.com>
1065 * TestSystemBrushes.cs: Added.
1067 2004-03-17 Ravindra <rkumar@novell.com>
1068 * TestHatchBrush.cs: Added.
1070 2004-01-26 Ravindra <rkumar@novell.com>
1071 * TestPointF.cs: Added.
1072 * TestSize.cs: Added.
1075 2004-01-16 Ravindra <rkumar@novell.com>
1076 * BmpPaint.cs did not run on .NET.
1077 Modified to make it run on .NET. Specs say
1078 "Do not save an image to the same stream
1079 that was used to construct the image."
1081 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1082 * BmpPaint.cs modified
1084 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1085 * hering.cs save as Jpeg also
1087 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1090 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1093 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1094 * BmpPaint.cs ImageFormat specified for Save()
1097 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1100 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1102 * TestPoint.cs : Tests I've had in my node forever.