1 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
3 * TextureBrushTest.cs: Added test cases for textures using alpha
6 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
8 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
10 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
12 * RegionNonRectTest.cs: Add test cases for combining empty paths and
13 regions with infinite regions.
15 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
17 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
19 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
21 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
22 methods. Add test case for drawing lines with a pen's width > 1.
24 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
26 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
27 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
28 the saved bitmap (used for debugging).
30 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
32 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
34 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
36 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
37 cases as it's not supported in libgdiplus.
39 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
41 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
42 Point or PointF arrays as destination points.
44 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
46 * TestGraphics.cs: Add test cases for the normal behaviour of
49 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
51 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
52 NULL. This match MS behavior as seen in (unfixed) bug #81709.
54 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
56 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
57 pointer correctly in 64bits architectures. Thanks to Zoltan.
59 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
61 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
62 GdipDrawImageRectRect (GraphicsUnit).
63 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
64 DrawImageUnscaledAndClipped (2.0).
65 * TestRectangle.cs: Add test cases for negative width/height. Fix some
66 test cases that were using RectangleF instead of Rectangle.
67 * TestRectangleF.cs: Add test cases for negative width/height.
69 2007-05-08 Everaldo Canuto <everaldo@simios.org>
71 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
72 it is a reproduction of bug #81572 that checks width for multiline
75 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
77 * TestColor.cs: Under Windows ensure we're getting the same values for
80 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
82 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
83 and it's parameter's validations.
85 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
87 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
88 reworked LockUnlockBitmap (e.g. add assert messages).
90 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
92 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
93 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
94 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
97 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
99 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
102 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
104 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
105 if in particular case (it doesn't). Added Categoty("Valgrind") to a
106 test know to leak due to the API design.
108 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
110 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
111 the data when using ImageLockMode.ReadOnly (this makes some results
112 random when using MS GDI+).
114 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
116 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
117 (without unlocking it first).
118 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
119 returns a named color and a unnamed color.
120 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
121 two additionnal test cases for LockBits, Double locks (exception) and
122 invalid ImageLockMode (no exception).
124 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
126 * TestColor.cs: Add a few more test cases for ==, != and Equals
128 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
130 * ColorConverter.cs: Add test case with a null CultureInfo for
132 * ColorTranslator.cs: Add test cases with known values for FromHtml
133 * TestColor.cs: Made some test clearer about what they do/check.
135 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
137 * TestFont.cs: Add test cases for GetHeight(Graphics) and
138 GetHeight(float) methods.
140 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
142 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
143 crash libgdiplus if it's not updated to the latest svn revision).
144 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
145 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
147 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
149 * TestFont.cs: Add a test for exception thrown when an unavailable font
150 style is requested. (Marked NotWorking due to being platform specific.)
152 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
154 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
155 available on the system.
157 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
159 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
160 the test cases are now working properly.
161 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
163 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
165 * TestImage.cs: Add test cases for loading invalid files as an Image.
167 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
169 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
170 * TestImage.cs: Add test cases for loading metafile as Image.
172 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
174 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
177 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
179 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
180 for TARGET_JVM with not supported method calls
182 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
184 * SystemFontsTest.cs: Add more tests cases including disposing the
185 font instance returned by the SystemFonts class.
187 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
189 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
190 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
192 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
194 * ColorConverter.cs: Rename fixture to match our styleguide.
195 * ColorTranslator.cs: Rename fixture to match our styleguide.
197 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
199 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
202 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
204 * TestRegion.cs: Add test cases for matrix operations on infinite
205 regions (result is always an infinite region). Add test cases for
206 scale and scale+translate on regions (to see that they do not trigger
207 a convertion into bitmap-based regions).
209 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
211 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
212 and for checking clip bounds after operation on world tranformations.
214 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
216 * TestGraphics.cs: Add test case for trailing spaces when calling
217 MeasureString. #80680
219 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
221 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
222 serialization, which "works" under 2.0 but not under 1.1.
223 * TestImage.cs: Add test case for XmlSerializer on Image type, which
224 "works" under 2.0 but not under 1.1.
226 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
228 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
229 which use a decoder-only codec.
231 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
233 * GDIPlusTest.cs: Add test cases for loading unexisting files in
234 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
235 for error code returned by GdipGetImageGraphicsContext for indexed
238 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
240 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
241 implementation leads to false conclusions. MS GDI+ upgrades the
242 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
243 possible to create a Graphics from them.
244 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
245 under MS 1.x with ArgumentNullException.
247 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
249 * TestBitmap.cs: Added test case to create multiple bitmaps from a
251 * TestIcon.cs: Added test cases to create multiple icons from a
252 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
254 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
256 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
257 coexists in the same icon file.
259 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
261 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
262 11x22, to test for non perfect match icon selection.
263 * TestImage.cs: Add test cases for locked/unlocked streams when using
264 GDI+ (e.g. Mono running on Windows).
266 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
268 * TestIcon.cs: Add test cases for XP (32bpp) icons.
270 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
272 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
273 GetHbitmap and FromHbitmap.
274 * TestIcon.cs: Add test cases for all constructors. Add test cases for
275 saving icons (all sizes). Add test cases for roundtripping icons using
278 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
280 * GDIPlusTest.cs: Add test case for loading an icon and playing with
282 * TestIcon.cs: Add test cases for different sizes of icons.
284 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
286 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
287 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
289 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
290 specific, ignored test case.
292 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
294 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
295 on Linux MS Sans Sarif is mapped to other available font.
297 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
299 * SystemFontsTest.cs: Added test for DefaultFont.
301 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
303 * TestBrushes.cs: Ensure that the unit tests are destructive on the
304 brushes (since you can change their color and dispose them). Now only
305 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
306 any other unit test that use Brushes.* executed after this one.
308 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
310 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
312 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
314 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
315 icons provided here behave differently than normal icons (can't be
318 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
320 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
321 names, currently not working), GetStandardValuesSupported and
322 GetStandardValues methods.
324 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
326 * TestGraphics.cs: Add new MeasureString test cases.
327 * TestRectangle.cs: Add unit tests for == and != operators. Update
328 tests to NUnit 2.2 syntax.
329 * TestRectangleF.cs: Add unit tests for == and != operators. Update
330 tests to NUnit 2.2 syntax.
332 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
334 * TestGraphics.cs: Ignore new test cases when font is null (not
335 available). Add pixel size compares to MeasureString_Bug76664.
337 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
339 * TestGraphics.cs: Added test case to measure strings, some aren't yet
340 working. Modified some to get better checks (e.g. Int32.MaxValue for
343 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
345 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
347 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
349 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
350 tests dynamically (when fonts aren't installed).
352 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
354 * TestGraphics.cs: Added test cases for bug #77699 (with and without
357 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
359 * TestStringFormat.cs: fix build for TARGET_JVM.
361 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
363 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
364 like handling bad ranges (start, length) and hotkey prefix handling.
366 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
368 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
369 GdipSetStringFormatTabStops functions.
370 * TestStringFormat.cs: Added a more complex test case for Clone.
372 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
374 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
375 StringFormat functions.
376 * TestGraphics.cs: Avoid test cases failure if the font object can't
377 be created during fixture's setup.
378 * TestStringFormat.cs: Increased coverage of the unit tests.
380 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
382 * TestGraphics.cs: Add test cases for MeasureString and
383 MeasureCharacterRanges methods.
385 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
387 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
388 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
391 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
393 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
394 test. The test is bad because sometimes it uses Size instead of SizeF.
396 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
398 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
400 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
402 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
403 * TestImageConverter.cs: Added a test case when value is null (should
404 return "(none)"). Uncommented and splitted all exception test cases
405 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
407 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
409 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
410 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
412 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
414 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
415 seems to work only when the destination format is 32 bits.
417 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
419 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
421 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
423 * TextureBrushTest.cs: More test cases when only a partial part of the
424 image is being used and for cloning the brush.
426 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
428 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
429 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
431 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
433 * ColorConverter.cs: Add a new test case for a color with a integer
434 part that is too large to convert into an int.
435 * ColorTranslator.cs: Add more test cases for FromHtml method.
437 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
439 * GDIPlusTest.cs: Fix ImageAttributes test case.
440 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
442 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
444 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
445 Added new test cases for ImageAttributes. Removed some assertion for
446 GpGraphicsPath (which returns different value on monobuild win32 bot
447 than my own machine, uninit field ?).
449 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
451 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
452 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
454 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
456 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
458 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
460 * GDIPlusTest.cs: Added more test cases for Matrix functions.
462 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
464 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
467 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
469 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
471 * TestFont.cs: Ignore test cases if we cannot get any font family
474 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
476 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
477 struct like it's currently defined inside SD).
479 2006-08-12 Duncan Mak <duncan@novell.com>
481 * GDIPlusTest.cs: Removed all the local PInvoke methods.
482 (DrawingOperations): New test for various draw and fill operations
485 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
487 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
488 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
489 executes under Windows (GDI+);
490 * TestFont.cs: Added more test cases for ToLogFont including one that
491 shows that LOGFONT only works properly when it's a class (not a struct)
493 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
495 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
496 PathGradientBrush to fix unit tests under Windows.
497 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
498 fail when using MS GDI+ (e.g. Mono on Windows).
500 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
502 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
503 Widen) and some new tests for Matrix related GDI+ functions.
505 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
507 * TestRegion.cs: Add test case for excluding a rectangle from an
510 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
512 * GDIPlusTest.cs: Avoid leaking during tests.
514 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
516 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
519 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
521 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
522 Pen related GDI+ calls.
524 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
526 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
527 fixes some unit test failures seen with Mono running on Windows).
529 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
531 * TestFont.cs: Remove asserts that are system dependant.
533 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
535 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
537 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
539 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
540 * TestImage.cs: Added checks to validate that the thumbnail's callback
543 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
545 * SolidBrushTest.cs: New test case using DrawLine.
547 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
549 * TestImage.cs: Add test cases for GetThumbnailImage.
551 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
553 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
555 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
557 * TestFont.cs: Expanded a test case to check for bug #78721 where the
558 LOGFONT structure must be initialized even if the ToLogFont call fails
560 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
562 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
563 add a comment on a commented one (MakeTransparent ;-)
565 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
567 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
569 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
571 * TestColor.cs: added 2 more tests for serialization and enabled one
572 that was not working.
574 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
576 * FontFamilyTest.cs: New. Unit tests for FontFamily.
577 * TestFont.cs: Added more test cases to Font.
579 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
581 * TestImageFormatConverter.cs: Added test cases for all well known
582 ImageFormat short and long names using ConvertFrom.
584 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
586 * TestColor.cs: Added test cases for serialization. Currently we can't
587 deserialize Color coming from MS serialization.
589 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
591 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
592 permission and test the [Get|From]Hrgn methods.
594 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
596 * TestBitmap.cs: new tests for the default format and the default file
599 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
601 * ColorConverter.cs: Split unworking test case from ConvertFrom into
602 a separate test case (marked as NotWorking).
603 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
604 probably never tested under Windows (and doesn't work there).
605 * TestFontConverter.cs: Split test case for CreateInstance to check
606 for ArgumentException (2.0) or NullReferenceException (1.x).
607 * TestPointConverter.cs: Split test case for CreateInstance to check
608 for ArgumentException (2.0) or NullReferenceException (1.x).
609 * TestRectangleConverter.cs: Split test case for CreateInstance to
610 check for ArgumentException (2.0) or NullReferenceException (1.x).
611 * TestSizeConverter.cs: Split test case for CreateInstance to check
612 for ArgumentException (2.0) or NullReferenceException (1.x).
613 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
614 check for InvalidCastException and NullReferenceException.
615 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
616 Empty and SizeF(0,0) don't share the same hash code.
618 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
620 * TestImageConverter.cs: Adjust test cases as there is an additional
621 properties under 2.0.
622 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
624 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
626 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
627 * TestFont.cs: Fix tests under Windows (CAS related);
628 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
630 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
632 * PenTest.cs: Added a test case where the brush supplied to the .ctor
633 is disposed before the pen is used. Based on a sample from Paddy joy.
635 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
637 * PenTest.cs: New. Unit tests for Pen.
639 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
641 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
643 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
645 * TestRegion.cs: Added a new test case for unioning a rectangle with
646 infinity and a new test case for GetRegionScans.
648 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
650 * TestGraphics.cs: Re-introduce the removed check :)
652 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
654 * TestGraphics.cs: Temporarily remove the checks for the transform in
655 containers. This allows libgdiplus to get better visual results until
656 the matrix issue is fixed correctly (instead of returning the "right"
657 matrix and displaying wrong data).
659 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
661 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
662 for Save and Restore methods.
664 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
666 * TestGraphics.cs: Added new test cases for DrawCurve methods.
668 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
670 * TestBitmap.cs: added tests for UnlockBits when the target is an
671 indexed image and a non-indexed one.
673 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
675 * TestGraphics.cs: Added new test cases for clipping. Some of them do
678 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
680 * TestGraphics.cs: Added new test cases for bug #77129 where we should
681 not draw or fill rectangle(s) with negative width or height. Converted
682 all test cases to UNIX line endings.
684 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
686 * TestGraphics.cs: Added new test cases translating matrix with
687 different MatrixOrder and for multiplying a non-invertible matrix.
689 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
691 * TestGraphics.cs: Add new test cases for clipping.
693 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
695 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
696 path-based (using bitmaps in libgdiplus) and for regions that had a
697 binary operations applied (i.e. using a path tree in libgdiplus).
698 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
699 binary operators (Union, Intersection, Complement, Exclude and Xor)
700 on path based regions (using bitmaps in libgdiplus).
702 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
704 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
705 the appropriate size on each system
707 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
709 * RegionNonRectTest.cs: Updated comments on a test that fails on both
710 1.x and 2.0 MS runtime.
711 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
714 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
715 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
716 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
717 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
718 added #ifdef for TARGET_JVM.
720 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
721 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
723 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
725 * RegionDataTest.cs: New. Unit tests for RegionData.
726 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
727 * TestRegion.cs: Added new test cases for empty region and IsInfinite
728 behaviour with multiple rectangles / path-rectangle regions.
730 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
732 * TestRegion.cs: Mark a test case as NotWorking as it caused a
735 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
737 * RegionCas.cs: New. CAS unit tests for Region.
738 * TestRegion.cs: Added test cases to check for expected exceptions.
740 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
742 * TestFont.cs: Added test for LogFont conversion
744 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
746 * TestPoint.cs: Test new methods for .Net 2.0
747 * TestPointF.cs Test new methods for .Net 2.0
748 * ColorConverter.cs: Fixes for .Net 2.0
749 * TestSizeF.cs: Test new methods for .Net 2.0
750 * TestSize.cs: Test new methods for .Net 2.0
752 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
754 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
755 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
758 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
760 * ColorConverter.cs: added testcases for ConvertFrom and
761 three digit notaion color.
763 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
765 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
766 of indexed (1- and 4-bit) Bitmaps.
767 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
769 2005-09-19 Miguel de Icaza <miguel@novell.com>
771 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
773 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
775 * BitmapCas.cs: New. CAS unit tests for Bitmap.
776 * GraphicsCas.cs: New. CAS unit tests for Graphics.
777 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
778 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
779 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
780 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
781 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
782 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
783 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
784 UnmanagedCode permission to all tests. This shows (when executed under
785 MS runtime) that S.D API is safe and doesn't requires high privileges
786 to run - even if we know that, deep down, this calls into GDI+.
788 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
790 * TestGraphics.cs: Adds default properties, properties set/get and save
791 and restore status test
793 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
795 * TestGraphics.cs: resets graphics object status before every SetClip test
797 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
799 * TestImageConverter.cs: Re-enabled GetProperties test.
800 * TestPointConverter.cs: same.
801 * TestRectangleConverter.cs: same.
802 * TestSizeConverter.cs: same.
804 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
806 * TestImagge.cs: File not found exception, related to fix r49744
807 * TestBimap.cs: File not found exception, related to fix r49744
809 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
811 * TestGraphics.cs: New test case, only clipping for now
813 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
815 * TestPointConverter.cs: Use Assert class instead of deriving from
816 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
817 * TestRectangleConverter.cs: same.
818 * TestSizeConverter.cs: same.
820 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
822 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
825 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
827 * TestPens.cs: Add test for Equals method
828 * TestBrushes.cs: Add test for Equals method
830 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
832 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
833 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
834 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
835 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
837 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
839 * TestRegion.cs: Adds many new cases for the new region implementation
841 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
843 * ColorConverter.cs: Mono now also throws ArgumentException when
844 color value is not between 0 and 255.
845 * TestColor.cs: Added tests for invalid color values.
846 * TestRectangleConverter.cs: Fixed tests for conversion to/from
847 string. Added tests that verify results using specific cultures.
849 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
851 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
852 tests using current culture.
853 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
856 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
858 * TestColor.cs: Added test for ToString() on uninitialized color.
859 * TestColorConverter.cs: Added tests for ColorConverter.
861 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
863 * TestRegion.cs: new cases for Combine and Intersect
865 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
867 * TestRectangle.cs: Add new test.
869 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
871 * ColorConverter.cs, ColorTranslator.cs: added
872 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
873 tests for convert to/from string
875 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
877 * Color.cs: many new testcases added
879 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
881 * Size.cs, SizeF.cs: GetHashCode and ToString tests
883 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
885 * TestRectangle.cs, TestRectangleF.cs: add new testcases
887 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
889 * TestPoint.cs: GetHashCode and ToString tests added
890 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
893 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
895 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
896 the original stack trace.
898 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
900 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
901 tests to use tolerance.
903 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
905 * TestColor.cs: Added tests for GetHue, GetBrightness
908 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
909 * TestRegion.cs: added new IsVisible cases
911 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
913 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
915 2004-06-17 Ravindra <rkumar@novell.com>
917 * graphicsUi.cs: Formatted and moved to
918 Samples/System.Drawing directory.
919 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
920 Samples/System.Drawing directory.
921 * hering.cs: Formatted and moved to Samples/General directory.
922 * BmpPaint.cs: Ficed, formatted and moved to
923 Samples/System.Drawing directory.
924 * font1.cs: Formatted and renamed to font.cs. Moved to
925 Samples/System.Drawing directory.
927 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
929 * TestBitmap.cs: Corrected issues from my previous checkin.
931 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
933 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
934 dependency on obsolete class, Assertion from NUnit.
936 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
938 * TestImageConverter.cs: Removed dependency on obsolete class,
939 Assertion from NUnit.
941 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
943 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
944 dependency on obsolete class, Assertion from NUnit.
946 2004-05-27 Ravindra <rkumar@novell.com>
948 * TestRectangleConverter.cs: Ignored the test that is failing
949 because of bug #58435.
950 * TestPointConverter.cs: Same.
951 * TestSizeConverter.cs: Same.
952 * TestImageConverter.cs: Same.
954 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
956 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
959 2004-05-26 Ravindra <rkumar@novell.com>
961 * TestColor.cs: Added a test for testing ARGB values for all
962 the static color properties.
964 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
966 * TestIcon.cs: Added.
967 * bitmaps/smiley.ico: Added.
969 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
971 * TestImageFormatConverter.cs: Fixed issues with test case.
973 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
975 * TestImageConverter.cs: Fixed issues with test case.
977 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
979 * TestIconConverter.cs: Fixed issues with test case.
981 2004-05-18 Ravindra <rkumar@novell.com>
983 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
984 this under Test/System.Drawing.Drawing2D directory.
986 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
988 * TestIconConverter.cs: Added.
989 * bitmaps/VisualPng.ico: Added
990 * bitmaps/VisualPng1.ico: Added
992 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
994 * TestBitmap.cs: Modified method signature to static to be used in other file.
995 * TestImageConverter.cs: Added.
996 * TestImageFormatConverter.cs: Added
998 2004-05-12 Jordi Mas <jordi@ximan.com>
999 * TestBitmap.cs: added lockbitmap tests
1001 2004-05-07 Jordi Mas <jordi@ximan.com>
1002 * TestBitmap.cs: added rotation tests
1004 2004-04-23 Ravindra <rkumar@novell.com>
1006 * TestSystemPens.cs: Removed some unused exception variables.
1007 * TestRectangleConverter.cs: Removed culture dependent tests.
1008 * TestPointConverter.cs: Removed culture dependent tests.
1009 * TestSizeConverter.cs: Removed culture dependent tests.
1010 (These tests were not right because a constant culture specific string
1011 was being parsed by using current culture of the thread. It resulted in
1012 test failures when cultures do not match.)
1014 2004-04-22 Ravindra <rkumar@novell.com>
1016 * TestPointConverter.cs: Added.
1017 * TestSizeConverter.cs: Added.
1019 2004-04-22 Ravindra <rkumar@novell.com>
1021 * TestRectangleConverter.cs: Added.
1023 2004-04-21 Ravindra <rkumar@novell.com>
1025 * TestPens.cs: Added.
1027 2004-04-21 Ravindra <rkumar@novell.com>
1029 * TestBrushes.cs: Added.
1031 2004-04-16 Ravindra <rkumar@novell.com>
1033 * TestSystemPens.cs: Added.
1035 2004-03-13 Ravindra <rkumar@novell.com>
1037 * TestSystemBrushes.cs: Added test fail conditions.
1039 2004-03-12 Ravindra <rkumar@novell.com>
1041 * TestSystemBrushes.cs: Added.
1043 2004-03-17 Ravindra <rkumar@novell.com>
1044 * TestHatchBrush.cs: Added.
1046 2004-01-26 Ravindra <rkumar@novell.com>
1047 * TestPointF.cs: Added.
1048 * TestSize.cs: Added.
1051 2004-01-16 Ravindra <rkumar@novell.com>
1052 * BmpPaint.cs did not run on .NET.
1053 Modified to make it run on .NET. Specs say
1054 "Do not save an image to the same stream
1055 that was used to construct the image."
1057 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1058 * BmpPaint.cs modified
1060 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1061 * hering.cs save as Jpeg also
1063 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1066 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1069 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1070 * BmpPaint.cs ImageFormat specified for Save()
1073 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1076 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1078 * TestPoint.cs : Tests I've had in my node forever.