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