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