1 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
3 * TestGraphics.cs: Add test case on TransformPoints for #349800.
5 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
7 * GDIPlusTest.cs : fix test build.
9 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
11 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
13 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
15 * TestBitmap.cs: XML serialization test case (#323246).
16 * TestImage.cs: XML serialization test case (#323246).
18 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
20 * Image.cs: Add test cases for the stream position when loading and
21 saving bitmaps and metafiles. Some of them are based on Gert Driesen
24 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
26 * TestGraphics.cs: Test against NRE in MultiplyTransform
28 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
30 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
31 now that #81572 is fixed.
33 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
35 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
37 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
39 * TextureBrushTest.cs: Added test cases for textures using alpha
42 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
44 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
46 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
48 * RegionNonRectTest.cs: Add test cases for combining empty paths and
49 regions with infinite regions.
51 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
53 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
55 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
57 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
58 methods. Add test case for drawing lines with a pen's width > 1.
60 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
62 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
63 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
64 the saved bitmap (used for debugging).
66 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
68 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
70 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
72 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
73 cases as it's not supported in libgdiplus.
75 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
77 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
78 Point or PointF arrays as destination points.
80 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
82 * TestGraphics.cs: Add test cases for the normal behaviour of
85 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
87 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
88 NULL. This match MS behavior as seen in (unfixed) bug #81709.
90 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
92 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
93 pointer correctly in 64bits architectures. Thanks to Zoltan.
95 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
97 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
98 GdipDrawImageRectRect (GraphicsUnit).
99 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
100 DrawImageUnscaledAndClipped (2.0).
101 * TestRectangle.cs: Add test cases for negative width/height. Fix some
102 test cases that were using RectangleF instead of Rectangle.
103 * TestRectangleF.cs: Add test cases for negative width/height.
105 2007-05-08 Everaldo Canuto <everaldo@simios.org>
107 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
108 it is a reproduction of bug #81572 that checks width for multiline
111 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
113 * TestColor.cs: Under Windows ensure we're getting the same values for
116 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
118 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
119 and it's parameter's validations.
121 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
123 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
124 reworked LockUnlockBitmap (e.g. add assert messages).
126 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
128 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
129 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
130 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
131 Format16bppGrayScale.
133 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
135 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
138 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
140 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
141 if in particular case (it doesn't). Added Categoty("Valgrind") to a
142 test know to leak due to the API design.
144 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
146 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
147 the data when using ImageLockMode.ReadOnly (this makes some results
148 random when using MS GDI+).
150 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
152 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
153 (without unlocking it first).
154 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
155 returns a named color and a unnamed color.
156 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
157 two additionnal test cases for LockBits, Double locks (exception) and
158 invalid ImageLockMode (no exception).
160 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
162 * TestColor.cs: Add a few more test cases for ==, != and Equals
164 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
166 * ColorConverter.cs: Add test case with a null CultureInfo for
168 * ColorTranslator.cs: Add test cases with known values for FromHtml
169 * TestColor.cs: Made some test clearer about what they do/check.
171 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
173 * TestFont.cs: Add test cases for GetHeight(Graphics) and
174 GetHeight(float) methods.
176 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
178 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
179 crash libgdiplus if it's not updated to the latest svn revision).
180 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
181 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
183 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
185 * TestFont.cs: Add a test for exception thrown when an unavailable font
186 style is requested. (Marked NotWorking due to being platform specific.)
188 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
190 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
191 available on the system.
193 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
195 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
196 the test cases are now working properly.
197 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
199 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
201 * TestImage.cs: Add test cases for loading invalid files as an Image.
203 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
205 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
206 * TestImage.cs: Add test cases for loading metafile as Image.
208 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
210 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
213 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
215 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
216 for TARGET_JVM with not supported method calls
218 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
220 * SystemFontsTest.cs: Add more tests cases including disposing the
221 font instance returned by the SystemFonts class.
223 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
225 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
226 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
228 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
230 * ColorConverter.cs: Rename fixture to match our styleguide.
231 * ColorTranslator.cs: Rename fixture to match our styleguide.
233 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
235 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
238 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
240 * TestRegion.cs: Add test cases for matrix operations on infinite
241 regions (result is always an infinite region). Add test cases for
242 scale and scale+translate on regions (to see that they do not trigger
243 a convertion into bitmap-based regions).
245 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
247 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
248 and for checking clip bounds after operation on world tranformations.
250 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
252 * TestGraphics.cs: Add test case for trailing spaces when calling
253 MeasureString. #80680
255 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
257 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
258 serialization, which "works" under 2.0 but not under 1.1.
259 * TestImage.cs: Add test case for XmlSerializer on Image type, which
260 "works" under 2.0 but not under 1.1.
262 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
264 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
265 which use a decoder-only codec.
267 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
269 * GDIPlusTest.cs: Add test cases for loading unexisting files in
270 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
271 for error code returned by GdipGetImageGraphicsContext for indexed
274 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
276 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
277 implementation leads to false conclusions. MS GDI+ upgrades the
278 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
279 possible to create a Graphics from them.
280 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
281 under MS 1.x with ArgumentNullException.
283 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
285 * TestBitmap.cs: Added test case to create multiple bitmaps from a
287 * TestIcon.cs: Added test cases to create multiple icons from a
288 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
290 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
292 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
293 coexists in the same icon file.
295 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
297 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
298 11x22, to test for non perfect match icon selection.
299 * TestImage.cs: Add test cases for locked/unlocked streams when using
300 GDI+ (e.g. Mono running on Windows).
302 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
304 * TestIcon.cs: Add test cases for XP (32bpp) icons.
306 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
308 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
309 GetHbitmap and FromHbitmap.
310 * TestIcon.cs: Add test cases for all constructors. Add test cases for
311 saving icons (all sizes). Add test cases for roundtripping icons using
314 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
316 * GDIPlusTest.cs: Add test case for loading an icon and playing with
318 * TestIcon.cs: Add test cases for different sizes of icons.
320 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
322 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
323 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
325 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
326 specific, ignored test case.
328 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
330 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
331 on Linux MS Sans Sarif is mapped to other available font.
333 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
335 * SystemFontsTest.cs: Added test for DefaultFont.
337 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
339 * TestBrushes.cs: Ensure that the unit tests are destructive on the
340 brushes (since you can change their color and dispose them). Now only
341 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
342 any other unit test that use Brushes.* executed after this one.
344 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
346 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
348 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
350 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
351 icons provided here behave differently than normal icons (can't be
354 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
356 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
357 names, currently not working), GetStandardValuesSupported and
358 GetStandardValues methods.
360 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
362 * TestGraphics.cs: Add new MeasureString test cases.
363 * TestRectangle.cs: Add unit tests for == and != operators. Update
364 tests to NUnit 2.2 syntax.
365 * TestRectangleF.cs: Add unit tests for == and != operators. Update
366 tests to NUnit 2.2 syntax.
368 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
370 * TestGraphics.cs: Ignore new test cases when font is null (not
371 available). Add pixel size compares to MeasureString_Bug76664.
373 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
375 * TestGraphics.cs: Added test case to measure strings, some aren't yet
376 working. Modified some to get better checks (e.g. Int32.MaxValue for
379 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
381 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
383 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
385 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
386 tests dynamically (when fonts aren't installed).
388 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
390 * TestGraphics.cs: Added test cases for bug #77699 (with and without
393 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
395 * TestStringFormat.cs: fix build for TARGET_JVM.
397 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
399 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
400 like handling bad ranges (start, length) and hotkey prefix handling.
402 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
404 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
405 GdipSetStringFormatTabStops functions.
406 * TestStringFormat.cs: Added a more complex test case for Clone.
408 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
410 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
411 StringFormat functions.
412 * TestGraphics.cs: Avoid test cases failure if the font object can't
413 be created during fixture's setup.
414 * TestStringFormat.cs: Increased coverage of the unit tests.
416 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
418 * TestGraphics.cs: Add test cases for MeasureString and
419 MeasureCharacterRanges methods.
421 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
423 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
424 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
427 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
429 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
430 test. The test is bad because sometimes it uses Size instead of SizeF.
432 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
434 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
436 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
438 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
439 * TestImageConverter.cs: Added a test case when value is null (should
440 return "(none)"). Uncommented and splitted all exception test cases
441 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
443 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
445 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
446 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
448 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
450 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
451 seems to work only when the destination format is 32 bits.
453 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
455 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
457 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
459 * TextureBrushTest.cs: More test cases when only a partial part of the
460 image is being used and for cloning the brush.
462 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
464 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
465 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
467 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
469 * ColorConverter.cs: Add a new test case for a color with a integer
470 part that is too large to convert into an int.
471 * ColorTranslator.cs: Add more test cases for FromHtml method.
473 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
475 * GDIPlusTest.cs: Fix ImageAttributes test case.
476 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
478 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
480 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
481 Added new test cases for ImageAttributes. Removed some assertion for
482 GpGraphicsPath (which returns different value on monobuild win32 bot
483 than my own machine, uninit field ?).
485 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
487 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
488 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
490 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
492 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
494 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
496 * GDIPlusTest.cs: Added more test cases for Matrix functions.
498 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
500 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
503 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
505 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
507 * TestFont.cs: Ignore test cases if we cannot get any font family
510 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
512 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
513 struct like it's currently defined inside SD).
515 2006-08-12 Duncan Mak <duncan@novell.com>
517 * GDIPlusTest.cs: Removed all the local PInvoke methods.
518 (DrawingOperations): New test for various draw and fill operations
521 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
523 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
524 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
525 executes under Windows (GDI+);
526 * TestFont.cs: Added more test cases for ToLogFont including one that
527 shows that LOGFONT only works properly when it's a class (not a struct)
529 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
531 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
532 PathGradientBrush to fix unit tests under Windows.
533 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
534 fail when using MS GDI+ (e.g. Mono on Windows).
536 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
538 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
539 Widen) and some new tests for Matrix related GDI+ functions.
541 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
543 * TestRegion.cs: Add test case for excluding a rectangle from an
546 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
548 * GDIPlusTest.cs: Avoid leaking during tests.
550 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
552 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
555 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
557 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
558 Pen related GDI+ calls.
560 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
562 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
563 fixes some unit test failures seen with Mono running on Windows).
565 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
567 * TestFont.cs: Remove asserts that are system dependant.
569 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
571 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
573 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
575 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
576 * TestImage.cs: Added checks to validate that the thumbnail's callback
579 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
581 * SolidBrushTest.cs: New test case using DrawLine.
583 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
585 * TestImage.cs: Add test cases for GetThumbnailImage.
587 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
589 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
591 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
593 * TestFont.cs: Expanded a test case to check for bug #78721 where the
594 LOGFONT structure must be initialized even if the ToLogFont call fails
596 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
598 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
599 add a comment on a commented one (MakeTransparent ;-)
601 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
603 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
605 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
607 * TestColor.cs: added 2 more tests for serialization and enabled one
608 that was not working.
610 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
612 * FontFamilyTest.cs: New. Unit tests for FontFamily.
613 * TestFont.cs: Added more test cases to Font.
615 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
617 * TestImageFormatConverter.cs: Added test cases for all well known
618 ImageFormat short and long names using ConvertFrom.
620 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
622 * TestColor.cs: Added test cases for serialization. Currently we can't
623 deserialize Color coming from MS serialization.
625 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
627 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
628 permission and test the [Get|From]Hrgn methods.
630 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
632 * TestBitmap.cs: new tests for the default format and the default file
635 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
637 * ColorConverter.cs: Split unworking test case from ConvertFrom into
638 a separate test case (marked as NotWorking).
639 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
640 probably never tested under Windows (and doesn't work there).
641 * TestFontConverter.cs: Split test case for CreateInstance to check
642 for ArgumentException (2.0) or NullReferenceException (1.x).
643 * TestPointConverter.cs: Split test case for CreateInstance to check
644 for ArgumentException (2.0) or NullReferenceException (1.x).
645 * TestRectangleConverter.cs: Split test case for CreateInstance to
646 check for ArgumentException (2.0) or NullReferenceException (1.x).
647 * TestSizeConverter.cs: Split test case for CreateInstance to check
648 for ArgumentException (2.0) or NullReferenceException (1.x).
649 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
650 check for InvalidCastException and NullReferenceException.
651 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
652 Empty and SizeF(0,0) don't share the same hash code.
654 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
656 * TestImageConverter.cs: Adjust test cases as there is an additional
657 properties under 2.0.
658 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
660 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
662 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
663 * TestFont.cs: Fix tests under Windows (CAS related);
664 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
666 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
668 * PenTest.cs: Added a test case where the brush supplied to the .ctor
669 is disposed before the pen is used. Based on a sample from Paddy joy.
671 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
673 * PenTest.cs: New. Unit tests for Pen.
675 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
677 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
679 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
681 * TestRegion.cs: Added a new test case for unioning a rectangle with
682 infinity and a new test case for GetRegionScans.
684 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
686 * TestGraphics.cs: Re-introduce the removed check :)
688 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
690 * TestGraphics.cs: Temporarily remove the checks for the transform in
691 containers. This allows libgdiplus to get better visual results until
692 the matrix issue is fixed correctly (instead of returning the "right"
693 matrix and displaying wrong data).
695 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
697 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
698 for Save and Restore methods.
700 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
702 * TestGraphics.cs: Added new test cases for DrawCurve methods.
704 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
706 * TestBitmap.cs: added tests for UnlockBits when the target is an
707 indexed image and a non-indexed one.
709 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
711 * TestGraphics.cs: Added new test cases for clipping. Some of them do
714 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
716 * TestGraphics.cs: Added new test cases for bug #77129 where we should
717 not draw or fill rectangle(s) with negative width or height. Converted
718 all test cases to UNIX line endings.
720 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
722 * TestGraphics.cs: Added new test cases translating matrix with
723 different MatrixOrder and for multiplying a non-invertible matrix.
725 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
727 * TestGraphics.cs: Add new test cases for clipping.
729 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
731 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
732 path-based (using bitmaps in libgdiplus) and for regions that had a
733 binary operations applied (i.e. using a path tree in libgdiplus).
734 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
735 binary operators (Union, Intersection, Complement, Exclude and Xor)
736 on path based regions (using bitmaps in libgdiplus).
738 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
740 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
741 the appropriate size on each system
743 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
745 * RegionNonRectTest.cs: Updated comments on a test that fails on both
746 1.x and 2.0 MS runtime.
747 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
750 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
751 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
752 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
753 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
754 added #ifdef for TARGET_JVM.
756 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
757 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
759 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
761 * RegionDataTest.cs: New. Unit tests for RegionData.
762 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
763 * TestRegion.cs: Added new test cases for empty region and IsInfinite
764 behaviour with multiple rectangles / path-rectangle regions.
766 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
768 * TestRegion.cs: Mark a test case as NotWorking as it caused a
771 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
773 * RegionCas.cs: New. CAS unit tests for Region.
774 * TestRegion.cs: Added test cases to check for expected exceptions.
776 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
778 * TestFont.cs: Added test for LogFont conversion
780 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
782 * TestPoint.cs: Test new methods for .Net 2.0
783 * TestPointF.cs Test new methods for .Net 2.0
784 * ColorConverter.cs: Fixes for .Net 2.0
785 * TestSizeF.cs: Test new methods for .Net 2.0
786 * TestSize.cs: Test new methods for .Net 2.0
788 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
790 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
791 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
794 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
796 * ColorConverter.cs: added testcases for ConvertFrom and
797 three digit notaion color.
799 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
801 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
802 of indexed (1- and 4-bit) Bitmaps.
803 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
805 2005-09-19 Miguel de Icaza <miguel@novell.com>
807 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
809 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
811 * BitmapCas.cs: New. CAS unit tests for Bitmap.
812 * GraphicsCas.cs: New. CAS unit tests for Graphics.
813 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
814 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
815 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
816 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
817 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
818 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
819 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
820 UnmanagedCode permission to all tests. This shows (when executed under
821 MS runtime) that S.D API is safe and doesn't requires high privileges
822 to run - even if we know that, deep down, this calls into GDI+.
824 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
826 * TestGraphics.cs: Adds default properties, properties set/get and save
827 and restore status test
829 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
831 * TestGraphics.cs: resets graphics object status before every SetClip test
833 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
835 * TestImageConverter.cs: Re-enabled GetProperties test.
836 * TestPointConverter.cs: same.
837 * TestRectangleConverter.cs: same.
838 * TestSizeConverter.cs: same.
840 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
842 * TestImagge.cs: File not found exception, related to fix r49744
843 * TestBimap.cs: File not found exception, related to fix r49744
845 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
847 * TestGraphics.cs: New test case, only clipping for now
849 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
851 * TestPointConverter.cs: Use Assert class instead of deriving from
852 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
853 * TestRectangleConverter.cs: same.
854 * TestSizeConverter.cs: same.
856 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
858 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
861 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
863 * TestPens.cs: Add test for Equals method
864 * TestBrushes.cs: Add test for Equals method
866 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
868 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
869 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
870 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
871 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
873 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
875 * TestRegion.cs: Adds many new cases for the new region implementation
877 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
879 * ColorConverter.cs: Mono now also throws ArgumentException when
880 color value is not between 0 and 255.
881 * TestColor.cs: Added tests for invalid color values.
882 * TestRectangleConverter.cs: Fixed tests for conversion to/from
883 string. Added tests that verify results using specific cultures.
885 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
887 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
888 tests using current culture.
889 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
892 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
894 * TestColor.cs: Added test for ToString() on uninitialized color.
895 * TestColorConverter.cs: Added tests for ColorConverter.
897 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
899 * TestRegion.cs: new cases for Combine and Intersect
901 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
903 * TestRectangle.cs: Add new test.
905 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
907 * ColorConverter.cs, ColorTranslator.cs: added
908 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
909 tests for convert to/from string
911 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
913 * Color.cs: many new testcases added
915 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
917 * Size.cs, SizeF.cs: GetHashCode and ToString tests
919 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
921 * TestRectangle.cs, TestRectangleF.cs: add new testcases
923 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
925 * TestPoint.cs: GetHashCode and ToString tests added
926 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
929 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
931 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
932 the original stack trace.
934 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
936 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
937 tests to use tolerance.
939 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
941 * TestColor.cs: Added tests for GetHue, GetBrightness
944 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
945 * TestRegion.cs: added new IsVisible cases
947 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
949 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
951 2004-06-17 Ravindra <rkumar@novell.com>
953 * graphicsUi.cs: Formatted and moved to
954 Samples/System.Drawing directory.
955 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
956 Samples/System.Drawing directory.
957 * hering.cs: Formatted and moved to Samples/General directory.
958 * BmpPaint.cs: Ficed, formatted and moved to
959 Samples/System.Drawing directory.
960 * font1.cs: Formatted and renamed to font.cs. Moved to
961 Samples/System.Drawing directory.
963 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
965 * TestBitmap.cs: Corrected issues from my previous checkin.
967 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
969 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
970 dependency on obsolete class, Assertion from NUnit.
972 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
974 * TestImageConverter.cs: Removed dependency on obsolete class,
975 Assertion from NUnit.
977 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
979 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
980 dependency on obsolete class, Assertion from NUnit.
982 2004-05-27 Ravindra <rkumar@novell.com>
984 * TestRectangleConverter.cs: Ignored the test that is failing
985 because of bug #58435.
986 * TestPointConverter.cs: Same.
987 * TestSizeConverter.cs: Same.
988 * TestImageConverter.cs: Same.
990 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
992 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
995 2004-05-26 Ravindra <rkumar@novell.com>
997 * TestColor.cs: Added a test for testing ARGB values for all
998 the static color properties.
1000 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1002 * TestIcon.cs: Added.
1003 * bitmaps/smiley.ico: Added.
1005 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1007 * TestImageFormatConverter.cs: Fixed issues with test case.
1009 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1011 * TestImageConverter.cs: Fixed issues with test case.
1013 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1015 * TestIconConverter.cs: Fixed issues with test case.
1017 2004-05-18 Ravindra <rkumar@novell.com>
1019 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1020 this under Test/System.Drawing.Drawing2D directory.
1022 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1024 * TestIconConverter.cs: Added.
1025 * bitmaps/VisualPng.ico: Added
1026 * bitmaps/VisualPng1.ico: Added
1028 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1030 * TestBitmap.cs: Modified method signature to static to be used in other file.
1031 * TestImageConverter.cs: Added.
1032 * TestImageFormatConverter.cs: Added
1034 2004-05-12 Jordi Mas <jordi@ximan.com>
1035 * TestBitmap.cs: added lockbitmap tests
1037 2004-05-07 Jordi Mas <jordi@ximan.com>
1038 * TestBitmap.cs: added rotation tests
1040 2004-04-23 Ravindra <rkumar@novell.com>
1042 * TestSystemPens.cs: Removed some unused exception variables.
1043 * TestRectangleConverter.cs: Removed culture dependent tests.
1044 * TestPointConverter.cs: Removed culture dependent tests.
1045 * TestSizeConverter.cs: Removed culture dependent tests.
1046 (These tests were not right because a constant culture specific string
1047 was being parsed by using current culture of the thread. It resulted in
1048 test failures when cultures do not match.)
1050 2004-04-22 Ravindra <rkumar@novell.com>
1052 * TestPointConverter.cs: Added.
1053 * TestSizeConverter.cs: Added.
1055 2004-04-22 Ravindra <rkumar@novell.com>
1057 * TestRectangleConverter.cs: Added.
1059 2004-04-21 Ravindra <rkumar@novell.com>
1061 * TestPens.cs: Added.
1063 2004-04-21 Ravindra <rkumar@novell.com>
1065 * TestBrushes.cs: Added.
1067 2004-04-16 Ravindra <rkumar@novell.com>
1069 * TestSystemPens.cs: Added.
1071 2004-03-13 Ravindra <rkumar@novell.com>
1073 * TestSystemBrushes.cs: Added test fail conditions.
1075 2004-03-12 Ravindra <rkumar@novell.com>
1077 * TestSystemBrushes.cs: Added.
1079 2004-03-17 Ravindra <rkumar@novell.com>
1080 * TestHatchBrush.cs: Added.
1082 2004-01-26 Ravindra <rkumar@novell.com>
1083 * TestPointF.cs: Added.
1084 * TestSize.cs: Added.
1087 2004-01-16 Ravindra <rkumar@novell.com>
1088 * BmpPaint.cs did not run on .NET.
1089 Modified to make it run on .NET. Specs say
1090 "Do not save an image to the same stream
1091 that was used to construct the image."
1093 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1094 * BmpPaint.cs modified
1096 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1097 * hering.cs save as Jpeg also
1099 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1102 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1105 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1106 * BmpPaint.cs ImageFormat specified for Save()
1109 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1112 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1114 * TestPoint.cs : Tests I've had in my node forever.