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