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