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