1 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
3 * GDIPlusTest.cs: Don't use internal Unit enum anymore.
5 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
7 * TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
10 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
12 * TestGraphics.cs: Add test case on TransformPoints for #349800.
14 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
16 * GDIPlusTest.cs : fix test build.
18 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
20 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
22 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
24 * TestBitmap.cs: XML serialization test case (#323246).
25 * TestImage.cs: XML serialization test case (#323246).
27 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
29 * Image.cs: Add test cases for the stream position when loading and
30 saving bitmaps and metafiles. Some of them are based on Gert Driesen
33 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
35 * TestGraphics.cs: Test against NRE in MultiplyTransform
37 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
39 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
40 now that #81572 is fixed.
42 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
44 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
46 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
48 * TextureBrushTest.cs: Added test cases for textures using alpha
51 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
53 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
55 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
57 * RegionNonRectTest.cs: Add test cases for combining empty paths and
58 regions with infinite regions.
60 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
62 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
64 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
66 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
67 methods. Add test case for drawing lines with a pen's width > 1.
69 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
71 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
72 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
73 the saved bitmap (used for debugging).
75 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
77 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
79 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
81 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
82 cases as it's not supported in libgdiplus.
84 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
86 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
87 Point or PointF arrays as destination points.
89 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
91 * TestGraphics.cs: Add test cases for the normal behaviour of
94 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
96 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
97 NULL. This match MS behavior as seen in (unfixed) bug #81709.
99 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
101 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
102 pointer correctly in 64bits architectures. Thanks to Zoltan.
104 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
106 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
107 GdipDrawImageRectRect (GraphicsUnit).
108 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
109 DrawImageUnscaledAndClipped (2.0).
110 * TestRectangle.cs: Add test cases for negative width/height. Fix some
111 test cases that were using RectangleF instead of Rectangle.
112 * TestRectangleF.cs: Add test cases for negative width/height.
114 2007-05-08 Everaldo Canuto <everaldo@simios.org>
116 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
117 it is a reproduction of bug #81572 that checks width for multiline
120 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
122 * TestColor.cs: Under Windows ensure we're getting the same values for
125 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
127 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
128 and it's parameter's validations.
130 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
132 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
133 reworked LockUnlockBitmap (e.g. add assert messages).
135 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
137 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
138 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
139 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
140 Format16bppGrayScale.
142 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
144 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
147 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
149 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
150 if in particular case (it doesn't). Added Categoty("Valgrind") to a
151 test know to leak due to the API design.
153 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
155 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
156 the data when using ImageLockMode.ReadOnly (this makes some results
157 random when using MS GDI+).
159 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
161 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
162 (without unlocking it first).
163 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
164 returns a named color and a unnamed color.
165 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
166 two additionnal test cases for LockBits, Double locks (exception) and
167 invalid ImageLockMode (no exception).
169 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
171 * TestColor.cs: Add a few more test cases for ==, != and Equals
173 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
175 * ColorConverter.cs: Add test case with a null CultureInfo for
177 * ColorTranslator.cs: Add test cases with known values for FromHtml
178 * TestColor.cs: Made some test clearer about what they do/check.
180 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
182 * TestFont.cs: Add test cases for GetHeight(Graphics) and
183 GetHeight(float) methods.
185 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
187 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
188 crash libgdiplus if it's not updated to the latest svn revision).
189 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
190 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
192 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
194 * TestFont.cs: Add a test for exception thrown when an unavailable font
195 style is requested. (Marked NotWorking due to being platform specific.)
197 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
199 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
200 available on the system.
202 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
204 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
205 the test cases are now working properly.
206 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
208 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
210 * TestImage.cs: Add test cases for loading invalid files as an Image.
212 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
214 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
215 * TestImage.cs: Add test cases for loading metafile as Image.
217 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
219 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
222 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
224 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
225 for TARGET_JVM with not supported method calls
227 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
229 * SystemFontsTest.cs: Add more tests cases including disposing the
230 font instance returned by the SystemFonts class.
232 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
234 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
235 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
237 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
239 * ColorConverter.cs: Rename fixture to match our styleguide.
240 * ColorTranslator.cs: Rename fixture to match our styleguide.
242 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
244 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
247 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
249 * TestRegion.cs: Add test cases for matrix operations on infinite
250 regions (result is always an infinite region). Add test cases for
251 scale and scale+translate on regions (to see that they do not trigger
252 a convertion into bitmap-based regions).
254 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
256 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
257 and for checking clip bounds after operation on world tranformations.
259 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
261 * TestGraphics.cs: Add test case for trailing spaces when calling
262 MeasureString. #80680
264 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
266 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
267 serialization, which "works" under 2.0 but not under 1.1.
268 * TestImage.cs: Add test case for XmlSerializer on Image type, which
269 "works" under 2.0 but not under 1.1.
271 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
273 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
274 which use a decoder-only codec.
276 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
278 * GDIPlusTest.cs: Add test cases for loading unexisting files in
279 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
280 for error code returned by GdipGetImageGraphicsContext for indexed
283 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
285 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
286 implementation leads to false conclusions. MS GDI+ upgrades the
287 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
288 possible to create a Graphics from them.
289 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
290 under MS 1.x with ArgumentNullException.
292 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
294 * TestBitmap.cs: Added test case to create multiple bitmaps from a
296 * TestIcon.cs: Added test cases to create multiple icons from a
297 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
299 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
301 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
302 coexists in the same icon file.
304 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
306 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
307 11x22, to test for non perfect match icon selection.
308 * TestImage.cs: Add test cases for locked/unlocked streams when using
309 GDI+ (e.g. Mono running on Windows).
311 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
313 * TestIcon.cs: Add test cases for XP (32bpp) icons.
315 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
317 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
318 GetHbitmap and FromHbitmap.
319 * TestIcon.cs: Add test cases for all constructors. Add test cases for
320 saving icons (all sizes). Add test cases for roundtripping icons using
323 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
325 * GDIPlusTest.cs: Add test case for loading an icon and playing with
327 * TestIcon.cs: Add test cases for different sizes of icons.
329 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
331 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
332 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
334 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
335 specific, ignored test case.
337 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
339 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
340 on Linux MS Sans Sarif is mapped to other available font.
342 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
344 * SystemFontsTest.cs: Added test for DefaultFont.
346 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
348 * TestBrushes.cs: Ensure that the unit tests are destructive on the
349 brushes (since you can change their color and dispose them). Now only
350 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
351 any other unit test that use Brushes.* executed after this one.
353 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
355 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
357 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
359 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
360 icons provided here behave differently than normal icons (can't be
363 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
365 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
366 names, currently not working), GetStandardValuesSupported and
367 GetStandardValues methods.
369 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
371 * TestGraphics.cs: Add new MeasureString test cases.
372 * TestRectangle.cs: Add unit tests for == and != operators. Update
373 tests to NUnit 2.2 syntax.
374 * TestRectangleF.cs: Add unit tests for == and != operators. Update
375 tests to NUnit 2.2 syntax.
377 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
379 * TestGraphics.cs: Ignore new test cases when font is null (not
380 available). Add pixel size compares to MeasureString_Bug76664.
382 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
384 * TestGraphics.cs: Added test case to measure strings, some aren't yet
385 working. Modified some to get better checks (e.g. Int32.MaxValue for
388 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
390 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
392 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
394 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
395 tests dynamically (when fonts aren't installed).
397 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
399 * TestGraphics.cs: Added test cases for bug #77699 (with and without
402 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
404 * TestStringFormat.cs: fix build for TARGET_JVM.
406 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
408 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
409 like handling bad ranges (start, length) and hotkey prefix handling.
411 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
413 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
414 GdipSetStringFormatTabStops functions.
415 * TestStringFormat.cs: Added a more complex test case for Clone.
417 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
419 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
420 StringFormat functions.
421 * TestGraphics.cs: Avoid test cases failure if the font object can't
422 be created during fixture's setup.
423 * TestStringFormat.cs: Increased coverage of the unit tests.
425 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
427 * TestGraphics.cs: Add test cases for MeasureString and
428 MeasureCharacterRanges methods.
430 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
432 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
433 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
436 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
438 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
439 test. The test is bad because sometimes it uses Size instead of SizeF.
441 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
443 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
445 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
447 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
448 * TestImageConverter.cs: Added a test case when value is null (should
449 return "(none)"). Uncommented and splitted all exception test cases
450 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
452 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
454 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
455 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
457 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
459 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
460 seems to work only when the destination format is 32 bits.
462 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
464 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
466 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
468 * TextureBrushTest.cs: More test cases when only a partial part of the
469 image is being used and for cloning the brush.
471 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
473 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
474 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
476 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
478 * ColorConverter.cs: Add a new test case for a color with a integer
479 part that is too large to convert into an int.
480 * ColorTranslator.cs: Add more test cases for FromHtml method.
482 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
484 * GDIPlusTest.cs: Fix ImageAttributes test case.
485 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
487 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
489 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
490 Added new test cases for ImageAttributes. Removed some assertion for
491 GpGraphicsPath (which returns different value on monobuild win32 bot
492 than my own machine, uninit field ?).
494 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
496 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
497 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
499 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
501 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
503 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
505 * GDIPlusTest.cs: Added more test cases for Matrix functions.
507 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
509 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
512 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
514 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
516 * TestFont.cs: Ignore test cases if we cannot get any font family
519 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
521 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
522 struct like it's currently defined inside SD).
524 2006-08-12 Duncan Mak <duncan@novell.com>
526 * GDIPlusTest.cs: Removed all the local PInvoke methods.
527 (DrawingOperations): New test for various draw and fill operations
530 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
532 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
533 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
534 executes under Windows (GDI+);
535 * TestFont.cs: Added more test cases for ToLogFont including one that
536 shows that LOGFONT only works properly when it's a class (not a struct)
538 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
540 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
541 PathGradientBrush to fix unit tests under Windows.
542 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
543 fail when using MS GDI+ (e.g. Mono on Windows).
545 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
547 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
548 Widen) and some new tests for Matrix related GDI+ functions.
550 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
552 * TestRegion.cs: Add test case for excluding a rectangle from an
555 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
557 * GDIPlusTest.cs: Avoid leaking during tests.
559 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
561 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
564 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
566 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
567 Pen related GDI+ calls.
569 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
571 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
572 fixes some unit test failures seen with Mono running on Windows).
574 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
576 * TestFont.cs: Remove asserts that are system dependant.
578 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
580 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
582 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
584 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
585 * TestImage.cs: Added checks to validate that the thumbnail's callback
588 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
590 * SolidBrushTest.cs: New test case using DrawLine.
592 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
594 * TestImage.cs: Add test cases for GetThumbnailImage.
596 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
598 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
600 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
602 * TestFont.cs: Expanded a test case to check for bug #78721 where the
603 LOGFONT structure must be initialized even if the ToLogFont call fails
605 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
607 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
608 add a comment on a commented one (MakeTransparent ;-)
610 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
612 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
614 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
616 * TestColor.cs: added 2 more tests for serialization and enabled one
617 that was not working.
619 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
621 * FontFamilyTest.cs: New. Unit tests for FontFamily.
622 * TestFont.cs: Added more test cases to Font.
624 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
626 * TestImageFormatConverter.cs: Added test cases for all well known
627 ImageFormat short and long names using ConvertFrom.
629 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
631 * TestColor.cs: Added test cases for serialization. Currently we can't
632 deserialize Color coming from MS serialization.
634 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
636 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
637 permission and test the [Get|From]Hrgn methods.
639 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
641 * TestBitmap.cs: new tests for the default format and the default file
644 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
646 * ColorConverter.cs: Split unworking test case from ConvertFrom into
647 a separate test case (marked as NotWorking).
648 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
649 probably never tested under Windows (and doesn't work there).
650 * TestFontConverter.cs: Split test case for CreateInstance to check
651 for ArgumentException (2.0) or NullReferenceException (1.x).
652 * TestPointConverter.cs: Split test case for CreateInstance to check
653 for ArgumentException (2.0) or NullReferenceException (1.x).
654 * TestRectangleConverter.cs: Split test case for CreateInstance to
655 check for ArgumentException (2.0) or NullReferenceException (1.x).
656 * TestSizeConverter.cs: Split test case for CreateInstance to check
657 for ArgumentException (2.0) or NullReferenceException (1.x).
658 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
659 check for InvalidCastException and NullReferenceException.
660 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
661 Empty and SizeF(0,0) don't share the same hash code.
663 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
665 * TestImageConverter.cs: Adjust test cases as there is an additional
666 properties under 2.0.
667 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
669 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
671 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
672 * TestFont.cs: Fix tests under Windows (CAS related);
673 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
675 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
677 * PenTest.cs: Added a test case where the brush supplied to the .ctor
678 is disposed before the pen is used. Based on a sample from Paddy joy.
680 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
682 * PenTest.cs: New. Unit tests for Pen.
684 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
686 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
688 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
690 * TestRegion.cs: Added a new test case for unioning a rectangle with
691 infinity and a new test case for GetRegionScans.
693 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
695 * TestGraphics.cs: Re-introduce the removed check :)
697 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
699 * TestGraphics.cs: Temporarily remove the checks for the transform in
700 containers. This allows libgdiplus to get better visual results until
701 the matrix issue is fixed correctly (instead of returning the "right"
702 matrix and displaying wrong data).
704 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
706 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
707 for Save and Restore methods.
709 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
711 * TestGraphics.cs: Added new test cases for DrawCurve methods.
713 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
715 * TestBitmap.cs: added tests for UnlockBits when the target is an
716 indexed image and a non-indexed one.
718 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
720 * TestGraphics.cs: Added new test cases for clipping. Some of them do
723 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
725 * TestGraphics.cs: Added new test cases for bug #77129 where we should
726 not draw or fill rectangle(s) with negative width or height. Converted
727 all test cases to UNIX line endings.
729 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
731 * TestGraphics.cs: Added new test cases translating matrix with
732 different MatrixOrder and for multiplying a non-invertible matrix.
734 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
736 * TestGraphics.cs: Add new test cases for clipping.
738 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
740 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
741 path-based (using bitmaps in libgdiplus) and for regions that had a
742 binary operations applied (i.e. using a path tree in libgdiplus).
743 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
744 binary operators (Union, Intersection, Complement, Exclude and Xor)
745 on path based regions (using bitmaps in libgdiplus).
747 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
749 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
750 the appropriate size on each system
752 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
754 * RegionNonRectTest.cs: Updated comments on a test that fails on both
755 1.x and 2.0 MS runtime.
756 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
759 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
760 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
761 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
762 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
763 added #ifdef for TARGET_JVM.
765 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
766 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
768 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
770 * RegionDataTest.cs: New. Unit tests for RegionData.
771 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
772 * TestRegion.cs: Added new test cases for empty region and IsInfinite
773 behaviour with multiple rectangles / path-rectangle regions.
775 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
777 * TestRegion.cs: Mark a test case as NotWorking as it caused a
780 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
782 * RegionCas.cs: New. CAS unit tests for Region.
783 * TestRegion.cs: Added test cases to check for expected exceptions.
785 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
787 * TestFont.cs: Added test for LogFont conversion
789 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
791 * TestPoint.cs: Test new methods for .Net 2.0
792 * TestPointF.cs Test new methods for .Net 2.0
793 * ColorConverter.cs: Fixes for .Net 2.0
794 * TestSizeF.cs: Test new methods for .Net 2.0
795 * TestSize.cs: Test new methods for .Net 2.0
797 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
799 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
800 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
803 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
805 * ColorConverter.cs: added testcases for ConvertFrom and
806 three digit notaion color.
808 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
810 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
811 of indexed (1- and 4-bit) Bitmaps.
812 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
814 2005-09-19 Miguel de Icaza <miguel@novell.com>
816 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
818 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
820 * BitmapCas.cs: New. CAS unit tests for Bitmap.
821 * GraphicsCas.cs: New. CAS unit tests for Graphics.
822 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
823 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
824 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
825 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
826 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
827 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
828 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
829 UnmanagedCode permission to all tests. This shows (when executed under
830 MS runtime) that S.D API is safe and doesn't requires high privileges
831 to run - even if we know that, deep down, this calls into GDI+.
833 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
835 * TestGraphics.cs: Adds default properties, properties set/get and save
836 and restore status test
838 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
840 * TestGraphics.cs: resets graphics object status before every SetClip test
842 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
844 * TestImageConverter.cs: Re-enabled GetProperties test.
845 * TestPointConverter.cs: same.
846 * TestRectangleConverter.cs: same.
847 * TestSizeConverter.cs: same.
849 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
851 * TestImagge.cs: File not found exception, related to fix r49744
852 * TestBimap.cs: File not found exception, related to fix r49744
854 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
856 * TestGraphics.cs: New test case, only clipping for now
858 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
860 * TestPointConverter.cs: Use Assert class instead of deriving from
861 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
862 * TestRectangleConverter.cs: same.
863 * TestSizeConverter.cs: same.
865 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
867 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
870 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
872 * TestPens.cs: Add test for Equals method
873 * TestBrushes.cs: Add test for Equals method
875 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
877 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
878 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
879 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
880 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
882 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
884 * TestRegion.cs: Adds many new cases for the new region implementation
886 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
888 * ColorConverter.cs: Mono now also throws ArgumentException when
889 color value is not between 0 and 255.
890 * TestColor.cs: Added tests for invalid color values.
891 * TestRectangleConverter.cs: Fixed tests for conversion to/from
892 string. Added tests that verify results using specific cultures.
894 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
896 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
897 tests using current culture.
898 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
901 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
903 * TestColor.cs: Added test for ToString() on uninitialized color.
904 * TestColorConverter.cs: Added tests for ColorConverter.
906 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
908 * TestRegion.cs: new cases for Combine and Intersect
910 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
912 * TestRectangle.cs: Add new test.
914 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
916 * ColorConverter.cs, ColorTranslator.cs: added
917 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
918 tests for convert to/from string
920 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
922 * Color.cs: many new testcases added
924 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
926 * Size.cs, SizeF.cs: GetHashCode and ToString tests
928 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
930 * TestRectangle.cs, TestRectangleF.cs: add new testcases
932 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
934 * TestPoint.cs: GetHashCode and ToString tests added
935 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
938 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
940 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
941 the original stack trace.
943 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
945 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
946 tests to use tolerance.
948 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
950 * TestColor.cs: Added tests for GetHue, GetBrightness
953 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
954 * TestRegion.cs: added new IsVisible cases
956 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
958 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
960 2004-06-17 Ravindra <rkumar@novell.com>
962 * graphicsUi.cs: Formatted and moved to
963 Samples/System.Drawing directory.
964 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
965 Samples/System.Drawing directory.
966 * hering.cs: Formatted and moved to Samples/General directory.
967 * BmpPaint.cs: Ficed, formatted and moved to
968 Samples/System.Drawing directory.
969 * font1.cs: Formatted and renamed to font.cs. Moved to
970 Samples/System.Drawing directory.
972 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
974 * TestBitmap.cs: Corrected issues from my previous checkin.
976 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
978 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
979 dependency on obsolete class, Assertion from NUnit.
981 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
983 * TestImageConverter.cs: Removed dependency on obsolete class,
984 Assertion from NUnit.
986 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
988 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
989 dependency on obsolete class, Assertion from NUnit.
991 2004-05-27 Ravindra <rkumar@novell.com>
993 * TestRectangleConverter.cs: Ignored the test that is failing
994 because of bug #58435.
995 * TestPointConverter.cs: Same.
996 * TestSizeConverter.cs: Same.
997 * TestImageConverter.cs: Same.
999 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1001 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
1004 2004-05-26 Ravindra <rkumar@novell.com>
1006 * TestColor.cs: Added a test for testing ARGB values for all
1007 the static color properties.
1009 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1011 * TestIcon.cs: Added.
1012 * bitmaps/smiley.ico: Added.
1014 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1016 * TestImageFormatConverter.cs: Fixed issues with test case.
1018 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1020 * TestImageConverter.cs: Fixed issues with test case.
1022 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1024 * TestIconConverter.cs: Fixed issues with test case.
1026 2004-05-18 Ravindra <rkumar@novell.com>
1028 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1029 this under Test/System.Drawing.Drawing2D directory.
1031 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1033 * TestIconConverter.cs: Added.
1034 * bitmaps/VisualPng.ico: Added
1035 * bitmaps/VisualPng1.ico: Added
1037 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1039 * TestBitmap.cs: Modified method signature to static to be used in other file.
1040 * TestImageConverter.cs: Added.
1041 * TestImageFormatConverter.cs: Added
1043 2004-05-12 Jordi Mas <jordi@ximan.com>
1044 * TestBitmap.cs: added lockbitmap tests
1046 2004-05-07 Jordi Mas <jordi@ximan.com>
1047 * TestBitmap.cs: added rotation tests
1049 2004-04-23 Ravindra <rkumar@novell.com>
1051 * TestSystemPens.cs: Removed some unused exception variables.
1052 * TestRectangleConverter.cs: Removed culture dependent tests.
1053 * TestPointConverter.cs: Removed culture dependent tests.
1054 * TestSizeConverter.cs: Removed culture dependent tests.
1055 (These tests were not right because a constant culture specific string
1056 was being parsed by using current culture of the thread. It resulted in
1057 test failures when cultures do not match.)
1059 2004-04-22 Ravindra <rkumar@novell.com>
1061 * TestPointConverter.cs: Added.
1062 * TestSizeConverter.cs: Added.
1064 2004-04-22 Ravindra <rkumar@novell.com>
1066 * TestRectangleConverter.cs: Added.
1068 2004-04-21 Ravindra <rkumar@novell.com>
1070 * TestPens.cs: Added.
1072 2004-04-21 Ravindra <rkumar@novell.com>
1074 * TestBrushes.cs: Added.
1076 2004-04-16 Ravindra <rkumar@novell.com>
1078 * TestSystemPens.cs: Added.
1080 2004-03-13 Ravindra <rkumar@novell.com>
1082 * TestSystemBrushes.cs: Added test fail conditions.
1084 2004-03-12 Ravindra <rkumar@novell.com>
1086 * TestSystemBrushes.cs: Added.
1088 2004-03-17 Ravindra <rkumar@novell.com>
1089 * TestHatchBrush.cs: Added.
1091 2004-01-26 Ravindra <rkumar@novell.com>
1092 * TestPointF.cs: Added.
1093 * TestSize.cs: Added.
1096 2004-01-16 Ravindra <rkumar@novell.com>
1097 * BmpPaint.cs did not run on .NET.
1098 Modified to make it run on .NET. Specs say
1099 "Do not save an image to the same stream
1100 that was used to construct the image."
1102 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1103 * BmpPaint.cs modified
1105 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1106 * hering.cs save as Jpeg also
1108 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1111 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1114 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1115 * BmpPaint.cs ImageFormat specified for Save()
1118 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1121 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1123 * TestPoint.cs : Tests I've had in my node forever.