2007-05-08 Everaldo Canuto <everaldo@simios.org>
[mono.git] / mcs / class / System.Drawing / Test / System.Drawing / ChangeLog
1 2007-05-08  Everaldo Canuto  <everaldo@simios.org>
2
3         * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
4         it is a reproduction of bug #81572 that checks width for multiline
5         string measurement.
6
7 2007-05-02  Sebastien Pouliot  <sebastien@ximian.com>
8
9         * TestColor.cs: Under Windows ensure we're getting the same values for
10         the desktop colors.
11
12 2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>
13
14         * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
15         and it's parameter's validations.
16
17 2007-04-16  Sebastien Pouliot  <sebastien@ximian.com> 
18
19         * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
20         reworked LockUnlockBitmap (e.g. add assert messages).
21
22 2007-04-16  Sebastien Pouliot  <sebastien@ximian.com>
23
24         * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
25         indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
26         * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and 
27         Format16bppGrayScale.
28
29 2007-04-14  Sebastien Pouliot  <sebastien@ximian.com>
30
31         * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian 
32         issues.
33
34 2007-04-12  Sebastien Pouliot  <sebastien@ximian.com>
35
36         * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
37         if in particular case (it doesn't). Added Categoty("Valgrind") to a 
38         test know to leak due to the API design.
39
40 2007-04-12  Sebastien Pouliot  <sebastien@ximian.com> 
41
42         * TestBitmap.cs: Split LockBitmap into several tests and do not modify
43         the data when using ImageLockMode.ReadOnly (this makes some results 
44         random when using MS GDI+).
45
46 2007-04-11  Sebastien Pouliot  <sebastien@ximian.com> 
47
48         * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
49         (without unlocking it first).
50         * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
51         returns a named color and a unnamed color.
52         * TestBitmap.cs: Renable four test cases depending on LockBits. Add 
53         two additionnal test cases for LockBits, Double locks (exception) and
54         invalid ImageLockMode (no exception).
55
56 2007-04-09  Sebastien Pouliot  <sebastien@ximian.com> 
57
58         * TestColor.cs: Add a few more test cases for ==, != and Equals
59
60 2007-04-09  Sebastien Pouliot  <sebastien@ximian.com>
61
62         * ColorConverter.cs: Add test case with a null CultureInfo for 
63         ConvertFrom.
64         * ColorTranslator.cs: Add test cases with known values for FromHtml
65         * TestColor.cs: Made some test clearer about what they do/check.
66
67 2007-04-02  Sebastien Pouliot  <sebastien@ximian.com>
68
69         * TestFont.cs: Add test cases for GetHeight(Graphics) and 
70         GetHeight(float) methods.
71
72 2007-03-30  Sebastien Pouliot  <sebastien@ximian.com>
73
74         * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
75         crash libgdiplus if it's not updated to the latest svn revision).
76         * SystemFontsTest.cs: Allow a small delta when comparing floats. This
77         allows the ARM to work properly (e.g. 8.249999 versus 8.25).
78
79 2007-03-19  Jonathan Pobst  <monkey@jpobst.com>
80
81         * TestFont.cs: Add a test for exception thrown when an unavailable font 
82         style is requested.  (Marked NotWorking due to being platform specific.)
83
84 2007-03-16  Sebastien Pouliot  <sebastien@ximian.com> 
85
86         * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are 
87         available on the system.
88
89 2007-03-15  Sebastien Pouliot  <sebastien@ximian.com> 
90
91         * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
92         the test cases are now working properly.
93         * ColorTranslator.cs: Add two other #hex cases. Fix typo.
94
95 2007-03-14  Sebastien Pouliot  <sebastien@ximian.com>
96
97         * TestImage.cs: Add test cases for loading invalid files as an Image.
98
99 2007-03-09  Sebastien Pouliot  <sebastien@ximian.com>
100
101         * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
102         * TestImage.cs: Add test cases for loading metafile as Image.
103
104 2007-03-08  Sebastien Pouliot  <sebastien@ximian.com>
105
106         * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by 
107         mistake.
108
109 2007-03-07  Vladimir Krasnov  <vladimirk@mainsoft.com>
110
111         * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
112         for TARGET_JVM with not supported method calls
113
114 2007-02-28  Sebastien Pouliot  <sebastien@ximian.com>
115
116         * SystemFontsTest.cs: Add more tests cases including disposing the
117         font instance returned by the SystemFonts class.
118
119 2007-02-26  Sebastien Pouliot  <sebastien@ximian.com>
120
121         * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
122         to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
123
124 2007-02-21  Sebastien Pouliot  <sebastien@ximian.com> 
125
126         * ColorConverter.cs: Rename fixture to match our styleguide.
127         * ColorTranslator.cs: Rename fixture to match our styleguide.
128
129 2007-02-14  Sebastien Pouliot  <sebastien@ximian.com> 
130
131         * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
132         bpp indexed formats.
133
134 2007-02-08  Sebastien Pouliot  <sebastien@ximian.com>
135
136         * TestRegion.cs: Add test cases for matrix operations on infinite 
137         regions (result is always an infinite region). Add test cases for
138         scale and scale+translate on regions (to see that they do not trigger
139         a convertion into bitmap-based regions).
140
141 2007-02-01  Sebastien Pouliot  <sebastien@ximian.com>
142
143         * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
144         and for checking clip bounds after operation on world tranformations.
145
146 2007-01-31  Sebastien Pouliot  <sebastien@ximian.com>
147
148         * TestGraphics.cs: Add test case for trailing spaces when calling
149         MeasureString. #80680
150
151 2007-01-30  Sebastien Pouliot  <sebastien@ximian.com> 
152
153         * TestBitmap.cs: Add a test cases for SoapFormatter and Xml 
154         serialization, which "works" under 2.0 but not under 1.1.
155         * TestImage.cs: Add test case for XmlSerializer on Image type, which
156         "works" under 2.0 but not under 1.1.
157
158 2007-01-30  Sebastien Pouliot  <sebastien@ximian.com>
159
160         * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
161         which use a decoder-only codec.
162
163 2007-01-19  Sebastien Pouliot  <sebastien@ximian.com>
164
165         * GDIPlusTest.cs: Add test cases for loading unexisting files in
166         GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
167         for error code returned by GdipGetImageGraphicsContext for indexed
168         bitmaps.
169
170 2007-01-18  Sebastien Pouliot  <sebastien@ximian.com>
171
172         * TestGraphics.cs: Fix the LoadIndexed test case as it's current 
173         implementation leads to false conclusions. MS GDI+ upgrades the 
174         indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not 
175         possible to create a Graphics from them.
176         * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
177         under MS 1.x with ArgumentNullException.
178
179 2007-01-16  Sebastien Pouliot  <sebastien@ximian.com> 
180
181         * TestBitmap.cs: Added test case to create multiple bitmaps from a
182         single HBITMAP.
183         * TestIcon.cs: Added test cases to create multiple icons from a
184         single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
185
186 2007-01-15  Sebastien Pouliot  <sebastien@ximian.com> 
187
188         * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
189         coexists in the same icon file.
190
191 2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>
192
193         * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
194         11x22, to test for non perfect match icon selection.
195         * TestImage.cs: Add test cases for locked/unlocked streams when using
196         GDI+ (e.g. Mono running on Windows).
197
198 2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>
199
200         * TestIcon.cs: Add test cases for XP (32bpp) icons.
201
202 2007-01-12  Sebastien Pouliot  <sebastien@ximian.com>
203
204         * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
205         GetHbitmap and FromHbitmap.
206         * TestIcon.cs: Add test cases for all constructors. Add test cases for
207         saving icons (all sizes). Add test cases for roundtripping icons using
208         Handle and HICON.
209
210 2007-01-11  Sebastien Pouliot  <sebastien@ximian.com>
211
212         * GDIPlusTest.cs: Add test case for loading an icon and playing with
213         it's color palette.
214         * TestIcon.cs: Add test cases for different sizes of icons.
215
216 2007-01-07  Sebastien Pouliot  <sebastien@ximian.com>
217
218         * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
219         MeasureString_Wrapping_Dots as a possible, host specific, ignored test
220         cases.
221         * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
222         specific, ignored test case.
223
224 2006-12-29  Gert Driesen  <drieseng@users.sourceforge.net>
225
226         * SystemFontsTest.cs: Split DefaultFont test into two parts, since
227         on Linux MS Sans Sarif is mapped to other available font.
228
229 2006-12-29  Gert Driesen  <drieseng@users.sourceforge.net>
230
231         * SystemFontsTest.cs: Added test for DefaultFont.
232
233 2006-12-22  Sebastien Pouliot  <sebastien@ximian.com>
234
235         * TestBrushes.cs: Ensure that the unit tests are destructive on the 
236         brushes (since you can change their color and dispose them). Now only
237         Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
238         any other unit test that use Brushes.* executed after this one.
239
240 2006-12-19  Sebastien Pouliot  <sebastien@ximian.com>
241
242         * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
243
244 2006-12-03  Sebastien Pouliot  <sebastien@ximian.com>
245
246         * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
247         icons provided here behave differently than normal icons (can't be 
248         disposed).
249
250 2006-11-23  Sebastien Pouliot  <sebastien@ximian.com>
251
252         * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long 
253         names, currently not working), GetStandardValuesSupported and 
254         GetStandardValues methods.
255
256 2006-11-06  Sebastien Pouliot  <sebastien@ximian.com> 
257
258         * TestGraphics.cs: Add new MeasureString test cases.
259         * TestRectangle.cs: Add unit tests for == and != operators. Update 
260         tests to NUnit 2.2 syntax.
261         * TestRectangleF.cs: Add unit tests for == and != operators. Update 
262         tests to NUnit 2.2 syntax.
263
264 2006-10-18  Sebastien Pouliot  <sebastien@ximian.com>
265
266         * TestGraphics.cs: Ignore new test cases when font is null (not 
267         available). Add pixel size compares to MeasureString_Bug76664.
268
269 2006-10-11  Sebastien Pouliot  <sebastien@ximian.com>
270
271         * TestGraphics.cs: Added test case to measure strings, some aren't yet
272         working. Modified some to get better checks (e.g. Int32.MaxValue for 
273         #79643).
274
275 2006-10-03      Boris Kirzner <borisk@mainsoft.com>
276
277         * TestStringFormat.cs: mark tests not working in TARGET_JVM.
278
279 2006-09-29  Sebastien Pouliot  <sebastien@ximian.com>
280
281         * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
282         tests dynamically (when fonts aren't installed).
283
284 2006-09-28  Sebastien Pouliot  <sebastien@ximian.com>
285
286         * TestGraphics.cs: Added test cases for bug #77699 (with and without 
287         wrapping).
288
289 2006-09-26      Boris Kirzner <borisk@mainsoft.com>
290
291         * TestStringFormat.cs: fix build for TARGET_JVM.
292
293 2006-09-22  Sebastien Pouliot  <sebastien@ximian.com>
294
295         * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
296         like handling bad ranges (start, length) and hotkey prefix handling.
297
298 2006-09-21  Sebastien Pouliot  <sebastien@ximian.com> 
299
300         * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
301         GdipSetStringFormatTabStops functions.
302         * TestStringFormat.cs: Added a more complex test case for Clone.
303
304 2006-09-19  Sebastien Pouliot  <sebastien@ximian.com> 
305
306         * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
307         StringFormat functions.
308         * TestGraphics.cs: Avoid test cases failure if the font object can't 
309         be created during fixture's setup.
310         * TestStringFormat.cs: Increased coverage of the unit tests.
311
312 2006-09-18  Sebastien Pouliot  <sebastien@ximian.com>
313
314         * TestGraphics.cs: Add test cases for MeasureString and 
315         MeasureCharacterRanges methods.
316
317 2006-09-18      Boris Kirzner <borisk@mainsoft.com>
318
319         * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
320         TestRegion.cs,TestSizeFConverter.cs : mark tests not working
321         in TARGET_JVM.
322
323 2006-09-16  Sebastien Pouliot  <sebastien@ximian.com>
324
325         * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
326         test. The test is bad because sometimes it uses Size instead of SizeF.
327
328 2006-09-14  Sebastien Pouliot  <sebastien@ximian.com>
329
330         * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
331
332 2006-09-11  Sebastien Pouliot  <sebastien@ximian.com>
333
334         * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
335         * TestImageConverter.cs: Added a test case when value is null (should
336         return "(none)"). Uncommented and splitted all exception test cases 
337         into individual tests. Still got one faulty test: ConvertTo_ByteArray.
338
339 2006-09-04  Jonathan Gilbert  <logic@deltaq.org>
340
341         * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
342         to ignore the test if Microsoft's GDIPLUS.DLL is in use.
343
344 2006-09-01  Sebastien Pouliot  <sebastien@ximian.com>
345
346         * TestBitmap.cs: Add more test cases for LockBits which, on Mono, 
347         seems to work only when the destination format is 32 bits.
348
349 2006-08-31  Sebastien Pouliot  <sebastien@ximian.com>
350
351         * TextureBrushTest.cs: Remove NotWorking from rotation test case.
352
353 2006-08-30  Sebastien Pouliot  <sebastien@ximian.com>
354
355         * TextureBrushTest.cs: More test cases when only a partial part of the
356         image is being used and for cloning the brush.
357
358 2006-08-28  Sebastien Pouliot  <sebastien@ximian.com> 
359
360         * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
361         * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
362
363 2006-08-27  Sebastien Pouliot  <sebastien@ximian.com> 
364
365         * ColorConverter.cs: Add a new test case for a color with a integer 
366         part that is too large to convert into an int.
367         * ColorTranslator.cs: Add more test cases for FromHtml method.
368
369 2006-08-25  Sebastien Pouliot  <sebastien@ximian.com> 
370
371         * GDIPlusTest.cs: Fix ImageAttributes test case.
372         * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
373
374 2006-08-24  Sebastien Pouliot  <sebastien@ximian.com>
375
376         * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
377         Added new test cases for ImageAttributes. Removed some assertion for 
378         GpGraphicsPath (which returns different value on monobuild win32 bot 
379         than my own machine, uninit field ?).
380
381 2006-08-23  Sebastien Pouliot  <sebastien@ximian.com>
382
383         * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
384         * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
385
386 2006-08-19  Sebastien Pouliot  <sebastien@ximian.com>
387
388         * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
389
390 2006-08-18  Sebastien Pouliot  <sebastien@ximian.com>
391
392         * GDIPlusTest.cs: Added more test cases for Matrix functions.
393
394 2006-08-16  Sebastien Pouliot  <sebastien@ximian.com>
395
396         * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
397         family from GDI+.
398
399 2006-08-15  Sebastien Pouliot  <sebastien@ximian.com>
400
401         * FontFamilyTest.cs: Ignore test cases if we cannot get any font 
402         family from GDI+.
403         * TestFont.cs: Ignore test cases if we cannot get any font family 
404         from GDI+.
405
406 2006-08-14  Sebastien Pouliot  <sebastien@ximian.com> 
407
408         * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
409         struct like it's currently defined inside SD).
410
411 2006-08-12  Duncan Mak  <duncan@novell.com>
412
413         * GDIPlusTest.cs: Removed all the local PInvoke methods.
414         (DrawingOperations): New test for various draw and fill operations
415         in Graphics.
416
417 2006-08-11  Sebastien Pouliot  <sebastien@ximian.com> 
418
419         * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
420         * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono 
421         executes under Windows (GDI+);
422         * TestFont.cs: Added more test cases for ToLogFont including one that
423         shows that LOGFONT only works properly when it's a class (not a struct)
424
425 2006-08-10  Sebastien Pouliot  <sebastien@ximian.com>
426
427         * GDIPlusTest.cs: Add more test cases for GraphicsPath and 
428         PathGradientBrush to fix unit tests under Windows.
429         * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
430         fail when using MS GDI+ (e.g. Mono on Windows).
431
432 2006-08-10  Sebastien Pouliot  <sebastien@ximian.com> 
433
434         * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and 
435         Widen) and some new tests for Matrix related GDI+ functions.
436
437 2006-08-08  Sebastien Pouliot  <sebastien@ximian.com>
438
439         * TestRegion.cs: Add test case for excluding a rectangle from an 
440         infinite region.
441
442 2006-08-07  Sebastien Pouliot  <sebastien@ximian.com> 
443
444         * GDIPlusTest.cs: Avoid leaking during tests.
445
446 2006-08-05  Sebastien Pouliot  <sebastien@ximian.com> 
447
448         * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+ 
449         functions.
450
451 2006-08-04  Sebastien Pouliot  <sebastien@ximian.com> 
452
453         * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
454         Pen related GDI+ calls.
455  
456 2006-08-03  Sebastien Pouliot  <sebastien@ximian.com> 
457
458         * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
459         fixes some unit test failures seen with Mono running on Windows).
460
461 2006-08-03  Sebastien Pouliot  <sebastien@ximian.com>
462
463         * TestFont.cs: Remove asserts that are system dependant.
464
465 2006-07-20  Sebastien Pouliot  <sebastien@ximian.com>
466
467         * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
468
469 2006-07-06  Sebastien Pouliot  <sebastien@ximian.com> 
470
471         * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
472         * TestImage.cs: Added checks to validate that the thumbnail's callback
473         is never called.
474
475 2006-07-06  Sebastien Pouliot  <sebastien@ximian.com>
476
477         * SolidBrushTest.cs: New test case using DrawLine.
478
479 2006-07-04  Sebastien Pouliot  <sebastien@ximian.com>
480
481         * TestImage.cs: Add test cases for GetThumbnailImage.
482
483 2006-06-30  Sebastien Pouliot  <sebastien@ximian.com>
484
485         * SolidBrushTest.cs: New. Unit tests for SolidBrush.
486
487 2006-06-28  Sebastien Pouliot  <sebastien@ximian.com>
488
489         * TestFont.cs: Expanded a test case to check for bug #78721 where the
490         LOGFONT structure must be initialized even if the ToLogFont call fails
491
492 2006-06-27  Sebastien Pouliot  <sebastien@ximian.com>
493
494         * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
495         add a comment on a commented one (MakeTransparent ;-)
496
497 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
498
499         * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
500
501 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
502
503         * TestColor.cs: added 2 more tests for serialization and enabled one
504         that was not working.
505
506 2006-05-30  Sebastien Pouliot  <sebastien@ximian.com>
507
508         * FontFamilyTest.cs: New. Unit tests for FontFamily.
509         * TestFont.cs: Added more test cases to Font.
510
511 2006-05-29  Sebastien Pouliot  <sebastien@ximian.com>
512
513         * TestImageFormatConverter.cs: Added test cases for all well known
514         ImageFormat short and long names using ConvertFrom.
515
516 2006-05-26  Sebastien Pouliot  <sebastien@ximian.com>
517
518         * TestColor.cs: Added test cases for serialization. Currently we can't
519         deserialize Color coming from MS serialization.
520
521 2006-05-25  Sebastien Pouliot  <sebastien@ximian.com> 
522
523         * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
524         permission and test the [Get|From]Hrgn methods.
525
526 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
527
528         * TestBitmap.cs: new tests for the default format and the default file
529         type.
530
531 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com> 
532
533         * ColorConverter.cs: Split unworking test case from ConvertFrom into
534         a separate test case (marked as NotWorking).
535         * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
536         probably never tested under Windows (and doesn't work there).
537         * TestFontConverter.cs: Split test case for CreateInstance to check 
538         for ArgumentException (2.0) or NullReferenceException (1.x).
539         * TestPointConverter.cs: Split test case for CreateInstance to check 
540         for ArgumentException (2.0) or NullReferenceException (1.x).
541         * TestRectangleConverter.cs: Split test case for CreateInstance to 
542         check for ArgumentException (2.0) or NullReferenceException (1.x).
543         * TestSizeConverter.cs: Split test case for CreateInstance to check 
544         for ArgumentException (2.0) or NullReferenceException (1.x).
545         * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
546         check for InvalidCastException and NullReferenceException.
547         * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
548         Empty and SizeF(0,0) don't share the same hash code.
549
550 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com>
551
552         * TestImageConverter.cs: Adjust test cases as there is an additional
553         properties under 2.0.
554         * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
555
556 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com> 
557
558         * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
559         * TestFont.cs: Fix tests under Windows (CAS related);
560         * TestGraphics.cs: Fix and add more test cases for FillRectangles.
561
562 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com>
563
564         * PenTest.cs: Added a test case where the brush supplied to the .ctor 
565         is disposed before the pen is used. Based on a sample from Paddy joy.
566
567 2006-05-17  Sebastien Pouliot  <sebastien@ximian.com>
568
569         * PenTest.cs: New. Unit tests for Pen.
570
571 2006-05-15  Atsushi Enomoto  <atsushi@ximian.com>
572
573         * TestGraphics.cs : added test for bug #78408 (FillRectangles).
574
575 2006-05-12  Sebastien Pouliot  <sebastien@ximian.com>
576
577         * TestRegion.cs: Added a new test case for unioning a rectangle with 
578         infinity and a new test case for GetRegionScans.
579
580 2006-05-04  Sebastien Pouliot  <sebastien@ximian.com> 
581
582         * TestGraphics.cs: Re-introduce the removed check :)    
583
584 2006-05-04  Sebastien Pouliot  <sebastien@ximian.com>
585
586         * TestGraphics.cs: Temporarily remove the checks for the transform in
587         containers. This allows libgdiplus to get better visual results until
588         the matrix issue is fixed correctly (instead of returning the "right"
589         matrix and displaying wrong data).
590
591 2006-05-02  Sebastien Pouliot  <sebastien@ximian.com>
592
593         * TestGraphics.cs: Added new test cases for [Begin|End]Container and
594         for Save and Restore methods.
595
596 2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>
597
598         * TestGraphics.cs: Added new test cases for DrawCurve methods.
599
600 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
601
602         * TestBitmap.cs: added tests for UnlockBits when the target is an
603         indexed image and a non-indexed one.
604
605 2006-04-21  Sebastien Pouliot  <sebastien@ximian.com>
606
607         * TestGraphics.cs: Added new test cases for clipping. Some of them do 
608         not work yet.
609
610 2006-04-11  Sebastien Pouliot  <sebastien@ximian.com>
611
612         * TestGraphics.cs: Added new test cases for bug #77129 where we should
613         not draw or fill rectangle(s) with negative width or height. Converted
614         all test cases to UNIX line endings.
615
616 2006-03-30  Sebastien Pouliot  <sebastien@ximian.com>
617
618         * TestGraphics.cs: Added new test cases translating matrix with 
619         different MatrixOrder and for multiplying a non-invertible matrix.
620
621 2006-03-28  Sebastien Pouliot  <sebastien@ximian.com>
622
623         * TestGraphics.cs: Add new test cases for clipping.
624
625 2006-03-25  Sebastien Pouliot  <sebastien@ximian.com>
626
627         * RegionDataTest.cs: Add test cases for GetRegionData when a region is
628         path-based (using bitmaps in libgdiplus) and for regions that had a 
629         binary operations applied (i.e. using a path tree in libgdiplus).
630         * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
631         binary operators (Union, Intersection, Complement, Exclude and Xor)
632         on path based regions (using bitmaps in libgdiplus).
633
634 2006-02-29  Peter Dennis Bartok  <pbartok@novell.com>
635
636         * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
637           the appropriate size on each system
638
639 2006-01-27  Sebastien Pouliot  <sebastien@ximian.com>
640
641         * RegionNonRectTest.cs: Updated comments on a test that fails on both
642         1.x and 2.0 MS runtime.
643         * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
644         each asserts.
645
646 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
647         * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
648         TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
649         TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs: 
650         added #ifdef for TARGET_JVM.
651
652 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
653         * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.    
654
655 2006-01-18  Sebastien Pouliot  <sebastien@ximian.com>
656
657         * RegionDataTest.cs: New. Unit tests for RegionData.
658         * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
659         * TestRegion.cs: Added new test cases for empty region and IsInfinite
660         behaviour with multiple rectangles / path-rectangle regions.
661
662 2006-01-16  Sebastien Pouliot  <sebastien@ximian.com>
663
664         * TestRegion.cs: Mark a test case as NotWorking as it caused a 
665         regression in SWF.
666
667 2006-01-11  Sebastien Pouliot  <sebastien@ximian.com>
668
669         * RegionCas.cs: New. CAS unit tests for Region.
670         * TestRegion.cs: Added test cases to check for expected exceptions.
671
672 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com>
673
674         * TestFont.cs: Added test for LogFont conversion
675
676 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
677
678         * TestPoint.cs: Test new methods for .Net 2.0
679         * TestPointF.cs Test new methods for .Net 2.0
680         * ColorConverter.cs: Fixes for .Net 2.0
681         * TestSizeF.cs: Test new methods for .Net 2.0
682         * TestSize.cs: Test new methods for .Net 2.0
683
684 2005-12-02  Jonathan Gilbert  <logic@deltaq.org>
685
686         * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
687           of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
688           values.
689
690 2005-11-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
691
692         * ColorConverter.cs: added testcases for ConvertFrom and 
693         three digit notaion color.
694
695 2005-10-23  Jonathan Gilbert  <logic@deltaq.org>
696
697         * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
698           of indexed (1- and 4-bit) Bitmaps.
699         * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
700
701 2005-09-19  Miguel de Icaza  <miguel@novell.com>
702
703         * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
704
705 2005-09-16  Sebastien Pouliot  <sebastien@ximian.com>
706
707         * BitmapCas.cs: New. CAS unit tests for Bitmap.
708         * GraphicsCas.cs: New. CAS unit tests for Graphics.
709         * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
710         TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
711         TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
712         TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
713         TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
714         TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
715         TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny 
716         UnmanagedCode permission to all tests. This shows (when executed under
717         MS runtime) that S.D API is safe and doesn't requires high privileges
718         to run - even if we know that, deep down, this calls into GDI+.
719
720 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
721
722         * TestGraphics.cs: Adds default properties, properties set/get and save
723         and restore status test
724
725 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
726
727         * TestGraphics.cs: resets graphics object status before every SetClip test
728
729 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
730
731         * TestImageConverter.cs: Re-enabled GetProperties test.
732         * TestPointConverter.cs: same.
733         * TestRectangleConverter.cs: same.
734         * TestSizeConverter.cs: same.
735
736 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
737
738         * TestImagge.cs: File not found exception, related to fix r49744
739         * TestBimap.cs: File not found exception, related to fix r49744
740
741 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
742
743         * TestGraphics.cs: New test case, only clipping for now
744
745 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
746
747         * TestPointConverter.cs: Use Assert class instead of deriving from
748         deprecated Assertion class. Tests now pass on both Mono and MS.NET.
749         * TestRectangleConverter.cs: same.
750         * TestSizeConverter.cs: same.
751
752 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
753
754         * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
755         MS.NET.
756
757 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
758
759         * TestPens.cs: Add test for Equals method
760         * TestBrushes.cs: Add test for Equals method
761
762 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
763
764         * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
765         * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
766         * TestSizeConverter.cs:  Fixes and changes to make the test locale unsensitive
767         * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
768
769 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
770
771         * TestRegion.cs: Adds many new cases for the new region implementation
772
773 2005-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
774
775         * ColorConverter.cs: Mono now also throws ArgumentException when
776         color value is not between 0 and 255.
777         * TestColor.cs: Added tests for invalid color values.
778         * TestRectangleConverter.cs: Fixed tests for conversion to/from 
779         string. Added tests that verify results using specific cultures.
780
781 2005-08-14  Gert Driesen  <drieseng@users.sourceforge.net>
782
783         * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
784         tests using current culture.
785         * TestColorConverter.cs: Merged tests with ColorConverter.cs and 
786         removed.
787
788 2005-08-14  Gert Driesen  <drieseng@users.sourceforge.net>
789
790         * TestColor.cs: Added test for ToString() on uninitialized color.
791         * TestColorConverter.cs: Added tests for ColorConverter.
792
793 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
794
795         * TestRegion.cs: new cases for Combine and Intersect
796
797 2005-08-10  Zoltan Varga  <vargaz@freemail.hu>
798
799         * TestRectangle.cs: Add new test.
800
801 2005-08-09  Andrew Skiba  <andrews@mainsoft.com>
802
803         * ColorConverter.cs, ColorTranslator.cs: added
804         * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
805         tests for convert to/from string
806
807 2005-08-07  Andrew Skiba  <andrews@mainsoft.com>
808
809         * Color.cs: many new testcases added
810
811 2005-08-07  Andrew Skiba  <andrews@mainsoft.com>
812
813         * Size.cs, SizeF.cs: GetHashCode and ToString tests
814
815 2005-08-07  Andrew Skiba  <andrews@mainsoft.com>
816
817         * TestRectangle.cs, TestRectangleF.cs: add new testcases
818
819 2005-08-07  Andrew Skiba  <andrews@mainsoft.com>
820
821         * TestPoint.cs: GetHashCode and ToString tests added
822         * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
823         tests improved
824
825 2005-08-07  Andrew Skiba  <andrews@mainsoft.com>
826
827         * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
828         the original stack trace.
829
830 2005-07-27  Andrew Skiba  <andrews@mainsoft.com>
831
832         * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
833         tests to use tolerance.
834
835 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
836
837         * TestColor.cs: Added tests for GetHue, GetBrightness
838         and GetSaturation.
839
840 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
841         * TestRegion.cs: added new IsVisible cases
842
843 2004-06-22  Sanjay Gupta <gsanjay@novell.com>
844
845         * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
846
847 2004-06-17  Ravindra <rkumar@novell.com>
848
849         * graphicsUi.cs: Formatted and moved to
850         Samples/System.Drawing directory.
851         * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
852         Samples/System.Drawing directory.
853         * hering.cs: Formatted and moved to Samples/General directory.
854         * BmpPaint.cs: Ficed, formatted and moved to 
855         Samples/System.Drawing directory.
856         * font1.cs: Formatted and renamed to font.cs. Moved to
857         Samples/System.Drawing directory.
858
859 2004-06-10  Sanjay Gupta <gsanjay@novell.com>
860
861         * TestBitmap.cs: Corrected issues from my previous checkin.
862
863 2004-06-10  Sanjay Gupta <gsanjay@novell.com>
864
865         * TestImageFormatConverter.cs, TestStringFormat.cs: Removed 
866         dependency on obsolete class, Assertion from NUnit.
867
868 2004-06-09  Sanjay Gupta <gsanjay@novell.com>
869
870         * TestImageConverter.cs: Removed dependency on obsolete class, 
871         Assertion from NUnit.
872
873 2004-06-09  Sanjay Gupta <gsanjay@novell.com>
874
875         * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
876         dependency on obsolete class, Assertion from NUnit.
877
878 2004-05-27  Ravindra <rkumar@novell.com>
879
880         * TestRectangleConverter.cs: Ignored the test that is failing
881         because of bug #58435.
882         * TestPointConverter.cs: Same.
883         * TestSizeConverter.cs: Same.
884         * TestImageConverter.cs: Same.
885
886 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
887
888         * TestImageFormatConverter.cs: Minor modification. Removed duplicate 
889         assertion numbers. 
890
891 2004-05-26 Ravindra <rkumar@novell.com>
892
893         * TestColor.cs: Added a test for testing ARGB values for all
894         the static color properties.
895
896 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
897         
898         * TestIcon.cs: Added.
899         * bitmaps/smiley.ico: Added.
900
901 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
902         
903         * TestImageFormatConverter.cs: Fixed issues with test case.
904
905 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
906         
907         * TestImageConverter.cs: Fixed issues with test case.
908
909 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
910         
911         * TestIconConverter.cs: Fixed issues with test case.
912
913 2004-05-18 Ravindra <rkumar@novell.com>
914
915         * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
916         this under Test/System.Drawing.Drawing2D directory.
917
918 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
919                                                                                                          
920         * TestIconConverter.cs: Added.
921         * bitmaps/VisualPng.ico: Added
922         * bitmaps/VisualPng1.ico: Added
923
924 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
925
926         * TestBitmap.cs: Modified method signature to static to be used in other file.
927         * TestImageConverter.cs: Added.
928         * TestImageFormatConverter.cs: Added
929
930 2004-05-12 Jordi Mas <jordi@ximan.com>
931         * TestBitmap.cs: added lockbitmap tests
932
933 2004-05-07 Jordi Mas <jordi@ximan.com>
934         * TestBitmap.cs: added rotation tests
935
936 2004-04-23  Ravindra <rkumar@novell.com>
937
938         * TestSystemPens.cs: Removed some unused exception variables.
939         * TestRectangleConverter.cs: Removed culture dependent tests.
940         * TestPointConverter.cs: Removed culture dependent tests.
941         * TestSizeConverter.cs: Removed culture dependent tests.
942         (These tests were not right because a constant culture specific string
943         was being parsed by using current culture of the thread. It resulted in
944         test failures when cultures do not match.)
945
946 2004-04-22  Ravindra <rkumar@novell.com>
947
948         * TestPointConverter.cs: Added.
949         * TestSizeConverter.cs: Added.
950
951 2004-04-22  Ravindra <rkumar@novell.com>
952
953         * TestRectangleConverter.cs: Added.
954
955 2004-04-21  Ravindra <rkumar@novell.com>
956
957         * TestPens.cs: Added.
958
959 2004-04-21  Ravindra <rkumar@novell.com>
960
961         * TestBrushes.cs: Added.
962
963 2004-04-16  Ravindra <rkumar@novell.com>
964
965         * TestSystemPens.cs: Added.
966
967 2004-03-13  Ravindra <rkumar@novell.com>
968
969         * TestSystemBrushes.cs: Added test fail conditions.
970
971 2004-03-12  Ravindra <rkumar@novell.com>
972
973         * TestSystemBrushes.cs: Added.
974
975 2004-03-17  Ravindra <rkumar@novell.com>
976         * TestHatchBrush.cs: Added.
977
978 2004-01-26  Ravindra <rkumar@novell.com>
979         * TestPointF.cs: Added.
980         * TestSize.cs: Added.
981         * TestSizeF: Added.
982
983 2004-01-16  Ravindra <rkumar@novell.com>
984         * BmpPaint.cs   did not run on .NET.
985         Modified to make it run on .NET. Specs say
986         "Do not save an image to the same stream
987         that was used to construct the image."
988
989 2003-07-30  Alexandre Pigolkine <pigolkine@gmx.de>
990         * BmpPaint.cs   modified
991
992 2003-06-28  Alexandre Pigolkine <pigolkine@gmx.de>
993         * hering.cs     save as Jpeg also
994
995 2003-06-22  Alexandre Pigolkine <pigolkine@gmx.de>
996         * font1.cs added
997
998 2003-06-17  Alexandre Pigolkine <pigolkine@gmx.de>
999         * hering.cs     added
1000         
1001 2003-06-15  Alexandre Pigolkine <pigolkine@gmx.de>
1002         * BmpPaint.cs   ImageFormat specified for Save()
1003         * image1.cs             added
1004
1005 2003-06-06  Alexandre Pigolkine <pigolkine@gmx.de>
1006         * BmpPaint.cs   added
1007
1008 2001-10-31  Mike Kestner <mkestner@speakeasy.net>
1009
1010         * TestPoint.cs : Tests I've had in my node forever.
1011