09c0ca64702071f9016a56263b45766a0a7271cc
[mono.git] / mcs / class / System.Drawing / Test / System.Drawing / ChangeLog
1 2006-08-04  Sebastien Pouliot  <sebastien@ximian.com> 
2
3         * GDIPlusTest.cs: Some test cases for GraphicsPath related GDI+ calls.
4  
5 2006-08-03  Sebastien Pouliot  <sebastien@ximian.com> 
6
7         * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
8         fixes some unit test failures seen with Mono running on Windows).
9
10 2006-08-03  Sebastien Pouliot  <sebastien@ximian.com>
11
12         * TestFont.cs: Remove asserts that are system dependant.
13
14 2006-07-20  Sebastien Pouliot  <sebastien@ximian.com>
15
16         * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
17
18 2006-07-06  Sebastien Pouliot  <sebastien@ximian.com> 
19
20         * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
21         * TestImage.cs: Added checks to validate that the thumbnail's callback
22         is never called.
23
24 2006-07-06  Sebastien Pouliot  <sebastien@ximian.com>
25
26         * SolidBrushTest.cs: New test case using DrawLine.
27
28 2006-07-04  Sebastien Pouliot  <sebastien@ximian.com>
29
30         * TestImage.cs: Add test cases for GetThumbnailImage.
31
32 2006-06-30  Sebastien Pouliot  <sebastien@ximian.com>
33
34         * SolidBrushTest.cs: New. Unit tests for SolidBrush.
35
36 2006-06-28  Sebastien Pouliot  <sebastien@ximian.com>
37
38         * TestFont.cs: Expanded a test case to check for bug #78721 where the
39         LOGFONT structure must be initialized even if the ToLogFont call fails
40
41 2006-06-27  Sebastien Pouliot  <sebastien@ximian.com>
42
43         * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
44         add a comment on a commented one (MakeTransparent ;-)
45
46 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
47
48         * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
49
50 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
51
52         * TestColor.cs: added 2 more tests for serialization and enabled one
53         that was not working.
54
55 2006-05-30  Sebastien Pouliot  <sebastien@ximian.com>
56
57         * FontFamilyTest.cs: New. Unit tests for FontFamily.
58         * TestFont.cs: Added more test cases to Font.
59
60 2006-05-29  Sebastien Pouliot  <sebastien@ximian.com>
61
62         * TestImageFormatConverter.cs: Added test cases for all well known
63         ImageFormat short and long names using ConvertFrom.
64
65 2006-05-26  Sebastien Pouliot  <sebastien@ximian.com>
66
67         * TestColor.cs: Added test cases for serialization. Currently we can't
68         deserialize Color coming from MS serialization.
69
70 2006-05-25  Sebastien Pouliot  <sebastien@ximian.com> 
71
72         * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
73         permission and test the [Get|From]Hrgn methods.
74
75 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
76
77         * TestBitmap.cs: new tests for the default format and the default file
78         type.
79
80 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com> 
81
82         * ColorConverter.cs: Split unworking test case from ConvertFrom into
83         a separate test case (marked as NotWorking).
84         * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
85         probably never tested under Windows (and doesn't work there).
86         * TestFontConverter.cs: Split test case for CreateInstance to check 
87         for ArgumentException (2.0) or NullReferenceException (1.x).
88         * TestPointConverter.cs: Split test case for CreateInstance to check 
89         for ArgumentException (2.0) or NullReferenceException (1.x).
90         * TestRectangleConverter.cs: Split test case for CreateInstance to 
91         check for ArgumentException (2.0) or NullReferenceException (1.x).
92         * TestSizeConverter.cs: Split test case for CreateInstance to check 
93         for ArgumentException (2.0) or NullReferenceException (1.x).
94         * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
95         check for InvalidCastException and NullReferenceException.
96         * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
97         Empty and SizeF(0,0) don't share the same hash code.
98
99 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com>
100
101         * TestImageConverter.cs: Adjust test cases as there is an additional
102         properties under 2.0.
103         * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
104
105 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com> 
106
107         * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
108         * TestFont.cs: Fix tests under Windows (CAS related);
109         * TestGraphics.cs: Fix and add more test cases for FillRectangles.
110
111 2006-05-24  Sebastien Pouliot  <sebastien@ximian.com>
112
113         * PenTest.cs: Added a test case where the brush supplied to the .ctor 
114         is disposed before the pen is used. Based on a sample from Paddy joy.
115
116 2006-05-17  Sebastien Pouliot  <sebastien@ximian.com>
117
118         * PenTest.cs: New. Unit tests for Pen.
119
120 2006-05-15  Atsushi Enomoto  <atsushi@ximian.com>
121
122         * TestGraphics.cs : added test for bug #78408 (FillRectangles).
123
124 2006-05-12  Sebastien Pouliot  <sebastien@ximian.com>
125
126         * TestRegion.cs: Added a new test case for unioning a rectangle with 
127         infinity and a new test case for GetRegionScans.
128
129 2006-05-04  Sebastien Pouliot  <sebastien@ximian.com> 
130
131         * TestGraphics.cs: Re-introduce the removed check :)    
132
133 2006-05-04  Sebastien Pouliot  <sebastien@ximian.com>
134
135         * TestGraphics.cs: Temporarily remove the checks for the transform in
136         containers. This allows libgdiplus to get better visual results until
137         the matrix issue is fixed correctly (instead of returning the "right"
138         matrix and displaying wrong data).
139
140 2006-05-02  Sebastien Pouliot  <sebastien@ximian.com>
141
142         * TestGraphics.cs: Added new test cases for [Begin|End]Container and
143         for Save and Restore methods.
144
145 2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>
146
147         * TestGraphics.cs: Added new test cases for DrawCurve methods.
148
149 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
150
151         * TestBitmap.cs: added tests for UnlockBits when the target is an
152         indexed image and a non-indexed one.
153
154 2006-04-21  Sebastien Pouliot  <sebastien@ximian.com>
155
156         * TestGraphics.cs: Added new test cases for clipping. Some of them do 
157         not work yet.
158
159 2006-04-11  Sebastien Pouliot  <sebastien@ximian.com>
160
161         * TestGraphics.cs: Added new test cases for bug #77129 where we should
162         not draw or fill rectangle(s) with negative width or height. Converted
163         all test cases to UNIX line endings.
164
165 2006-03-30  Sebastien Pouliot  <sebastien@ximian.com>
166
167         * TestGraphics.cs: Added new test cases translating matrix with 
168         different MatrixOrder and for multiplying a non-invertible matrix.
169
170 2006-03-28  Sebastien Pouliot  <sebastien@ximian.com>
171
172         * TestGraphics.cs: Add new test cases for clipping.
173
174 2006-03-25  Sebastien Pouliot  <sebastien@ximian.com>
175
176         * RegionDataTest.cs: Add test cases for GetRegionData when a region is
177         path-based (using bitmaps in libgdiplus) and for regions that had a 
178         binary operations applied (i.e. using a path tree in libgdiplus).
179         * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
180         binary operators (Union, Intersection, Complement, Exclude and Xor)
181         on path based regions (using bitmaps in libgdiplus).
182
183 2006-02-29  Peter Dennis Bartok  <pbartok@novell.com>
184
185         * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
186           the appropriate size on each system
187
188 2006-01-27  Sebastien Pouliot  <sebastien@ximian.com>
189
190         * RegionNonRectTest.cs: Updated comments on a test that fails on both
191         1.x and 2.0 MS runtime.
192         * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
193         each asserts.
194
195 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
196         * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
197         TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
198         TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs: 
199         added #ifdef for TARGET_JVM.
200
201 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
202         * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.    
203
204 2006-01-18  Sebastien Pouliot  <sebastien@ximian.com>
205
206         * RegionDataTest.cs: New. Unit tests for RegionData.
207         * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
208         * TestRegion.cs: Added new test cases for empty region and IsInfinite
209         behaviour with multiple rectangles / path-rectangle regions.
210
211 2006-01-16  Sebastien Pouliot  <sebastien@ximian.com>
212
213         * TestRegion.cs: Mark a test case as NotWorking as it caused a 
214         regression in SWF.
215
216 2006-01-11  Sebastien Pouliot  <sebastien@ximian.com>
217
218         * RegionCas.cs: New. CAS unit tests for Region.
219         * TestRegion.cs: Added test cases to check for expected exceptions.
220
221 2005-12-05  Peter Dennis Bartok  <pbartok@novell.com>
222
223         * TestFont.cs: Added test for LogFont conversion
224
225 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
226
227         * TestPoint.cs: Test new methods for .Net 2.0
228         * TestPointF.cs Test new methods for .Net 2.0
229         * ColorConverter.cs: Fixes for .Net 2.0
230         * TestSizeF.cs: Test new methods for .Net 2.0
231         * TestSize.cs: Test new methods for .Net 2.0
232
233 2005-12-02  Jonathan Gilbert  <logic@deltaq.org>
234
235         * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
236           of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
237           values.
238
239 2005-11-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
240
241         * ColorConverter.cs: added testcases for ConvertFrom and 
242         three digit notaion color.
243
244 2005-10-23  Jonathan Gilbert  <logic@deltaq.org>
245
246         * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
247           of indexed (1- and 4-bit) Bitmaps.
248         * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
249
250 2005-09-19  Miguel de Icaza  <miguel@novell.com>
251
252         * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
253
254 2005-09-16  Sebastien Pouliot  <sebastien@ximian.com>
255
256         * BitmapCas.cs: New. CAS unit tests for Bitmap.
257         * GraphicsCas.cs: New. CAS unit tests for Graphics.
258         * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
259         TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
260         TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
261         TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
262         TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
263         TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
264         TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny 
265         UnmanagedCode permission to all tests. This shows (when executed under
266         MS runtime) that S.D API is safe and doesn't requires high privileges
267         to run - even if we know that, deep down, this calls into GDI+.
268
269 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
270
271         * TestGraphics.cs: Adds default properties, properties set/get and save
272         and restore status test
273
274 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
275
276         * TestGraphics.cs: resets graphics object status before every SetClip test
277
278 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
279
280         * TestImageConverter.cs: Re-enabled GetProperties test.
281         * TestPointConverter.cs: same.
282         * TestRectangleConverter.cs: same.
283         * TestSizeConverter.cs: same.
284
285 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
286
287         * TestImagge.cs: File not found exception, related to fix r49744
288         * TestBimap.cs: File not found exception, related to fix r49744
289
290 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
291
292         * TestGraphics.cs: New test case, only clipping for now
293
294 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
295
296         * TestPointConverter.cs: Use Assert class instead of deriving from
297         deprecated Assertion class. Tests now pass on both Mono and MS.NET.
298         * TestRectangleConverter.cs: same.
299         * TestSizeConverter.cs: same.
300
301 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
302
303         * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
304         MS.NET.
305
306 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
307
308         * TestPens.cs: Add test for Equals method
309         * TestBrushes.cs: Add test for Equals method
310
311 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
312
313         * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
314         * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
315         * TestSizeConverter.cs:  Fixes and changes to make the test locale unsensitive
316         * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
317
318 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
319
320         * TestRegion.cs: Adds many new cases for the new region implementation
321
322 2005-08-16  Gert Driesen  <drieseng@users.sourceforge.net>
323
324         * ColorConverter.cs: Mono now also throws ArgumentException when
325         color value is not between 0 and 255.
326         * TestColor.cs: Added tests for invalid color values.
327         * TestRectangleConverter.cs: Fixed tests for conversion to/from 
328         string. Added tests that verify results using specific cultures.
329
330 2005-08-14  Gert Driesen  <drieseng@users.sourceforge.net>
331
332         * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
333         tests using current culture.
334         * TestColorConverter.cs: Merged tests with ColorConverter.cs and 
335         removed.
336
337 2005-08-14  Gert Driesen  <drieseng@users.sourceforge.net>
338
339         * TestColor.cs: Added test for ToString() on uninitialized color.
340         * TestColorConverter.cs: Added tests for ColorConverter.
341
342 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
343
344         * TestRegion.cs: new cases for Combine and Intersect
345
346 2005-08-10  Zoltan Varga  <vargaz@freemail.hu>
347
348         * TestRectangle.cs: Add new test.
349
350 2005-08-09  Andrew Skiba  <andrews@mainsoft.com>
351
352         * ColorConverter.cs, ColorTranslator.cs: added
353         * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
354         tests for convert to/from string
355
356 2005-08-07  Andrew Skiba  <andrews@mainsoft.com>
357
358         * Color.cs: many new testcases added
359
360 2005-08-07  Andrew Skiba  <andrews@mainsoft.com>
361
362         * Size.cs, SizeF.cs: GetHashCode and ToString tests
363
364 2005-08-07  Andrew Skiba  <andrews@mainsoft.com>
365
366         * TestRectangle.cs, TestRectangleF.cs: add new testcases
367
368 2005-08-07  Andrew Skiba  <andrews@mainsoft.com>
369
370         * TestPoint.cs: GetHashCode and ToString tests added
371         * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
372         tests improved
373
374 2005-08-07  Andrew Skiba  <andrews@mainsoft.com>
375
376         * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
377         the original stack trace.
378
379 2005-07-27  Andrew Skiba  <andrews@mainsoft.com>
380
381         * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
382         tests to use tolerance.
383
384 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
385
386         * TestColor.cs: Added tests for GetHue, GetBrightness
387         and GetSaturation.
388
389 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
390         * TestRegion.cs: added new IsVisible cases
391
392 2004-06-22  Sanjay Gupta <gsanjay@novell.com>
393
394         * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
395
396 2004-06-17  Ravindra <rkumar@novell.com>
397
398         * graphicsUi.cs: Formatted and moved to
399         Samples/System.Drawing directory.
400         * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
401         Samples/System.Drawing directory.
402         * hering.cs: Formatted and moved to Samples/General directory.
403         * BmpPaint.cs: Ficed, formatted and moved to 
404         Samples/System.Drawing directory.
405         * font1.cs: Formatted and renamed to font.cs. Moved to
406         Samples/System.Drawing directory.
407
408 2004-06-10  Sanjay Gupta <gsanjay@novell.com>
409
410         * TestBitmap.cs: Corrected issues from my previous checkin.
411
412 2004-06-10  Sanjay Gupta <gsanjay@novell.com>
413
414         * TestImageFormatConverter.cs, TestStringFormat.cs: Removed 
415         dependency on obsolete class, Assertion from NUnit.
416
417 2004-06-09  Sanjay Gupta <gsanjay@novell.com>
418
419         * TestImageConverter.cs: Removed dependency on obsolete class, 
420         Assertion from NUnit.
421
422 2004-06-09  Sanjay Gupta <gsanjay@novell.com>
423
424         * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
425         dependency on obsolete class, Assertion from NUnit.
426
427 2004-05-27  Ravindra <rkumar@novell.com>
428
429         * TestRectangleConverter.cs: Ignored the test that is failing
430         because of bug #58435.
431         * TestPointConverter.cs: Same.
432         * TestSizeConverter.cs: Same.
433         * TestImageConverter.cs: Same.
434
435 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
436
437         * TestImageFormatConverter.cs: Minor modification. Removed duplicate 
438         assertion numbers. 
439
440 2004-05-26 Ravindra <rkumar@novell.com>
441
442         * TestColor.cs: Added a test for testing ARGB values for all
443         the static color properties.
444
445 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
446         
447         * TestIcon.cs: Added.
448         * bitmaps/smiley.ico: Added.
449
450 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
451         
452         * TestImageFormatConverter.cs: Fixed issues with test case.
453
454 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
455         
456         * TestImageConverter.cs: Fixed issues with test case.
457
458 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
459         
460         * TestIconConverter.cs: Fixed issues with test case.
461
462 2004-05-18 Ravindra <rkumar@novell.com>
463
464         * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
465         this under Test/System.Drawing.Drawing2D directory.
466
467 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
468                                                                                                          
469         * TestIconConverter.cs: Added.
470         * bitmaps/VisualPng.ico: Added
471         * bitmaps/VisualPng1.ico: Added
472
473 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
474
475         * TestBitmap.cs: Modified method signature to static to be used in other file.
476         * TestImageConverter.cs: Added.
477         * TestImageFormatConverter.cs: Added
478
479 2004-05-12 Jordi Mas <jordi@ximan.com>
480         * TestBitmap.cs: added lockbitmap tests
481
482 2004-05-07 Jordi Mas <jordi@ximan.com>
483         * TestBitmap.cs: added rotation tests
484
485 2004-04-23  Ravindra <rkumar@novell.com>
486
487         * TestSystemPens.cs: Removed some unused exception variables.
488         * TestRectangleConverter.cs: Removed culture dependent tests.
489         * TestPointConverter.cs: Removed culture dependent tests.
490         * TestSizeConverter.cs: Removed culture dependent tests.
491         (These tests were not right because a constant culture specific string
492         was being parsed by using current culture of the thread. It resulted in
493         test failures when cultures do not match.)
494
495 2004-04-22  Ravindra <rkumar@novell.com>
496
497         * TestPointConverter.cs: Added.
498         * TestSizeConverter.cs: Added.
499
500 2004-04-22  Ravindra <rkumar@novell.com>
501
502         * TestRectangleConverter.cs: Added.
503
504 2004-04-21  Ravindra <rkumar@novell.com>
505
506         * TestPens.cs: Added.
507
508 2004-04-21  Ravindra <rkumar@novell.com>
509
510         * TestBrushes.cs: Added.
511
512 2004-04-16  Ravindra <rkumar@novell.com>
513
514         * TestSystemPens.cs: Added.
515
516 2004-03-13  Ravindra <rkumar@novell.com>
517
518         * TestSystemBrushes.cs: Added test fail conditions.
519
520 2004-03-12  Ravindra <rkumar@novell.com>
521
522         * TestSystemBrushes.cs: Added.
523
524 2004-03-17  Ravindra <rkumar@novell.com>
525         * TestHatchBrush.cs: Added.
526
527 2004-01-26  Ravindra <rkumar@novell.com>
528         * TestPointF.cs: Added.
529         * TestSize.cs: Added.
530         * TestSizeF: Added.
531
532 2004-01-16  Ravindra <rkumar@novell.com>
533         * BmpPaint.cs   did not run on .NET.
534         Modified to make it run on .NET. Specs say
535         "Do not save an image to the same stream
536         that was used to construct the image."
537
538 2003-07-30  Alexandre Pigolkine <pigolkine@gmx.de>
539         * BmpPaint.cs   modified
540
541 2003-06-28  Alexandre Pigolkine <pigolkine@gmx.de>
542         * hering.cs     save as Jpeg also
543
544 2003-06-22  Alexandre Pigolkine <pigolkine@gmx.de>
545         * font1.cs added
546
547 2003-06-17  Alexandre Pigolkine <pigolkine@gmx.de>
548         * hering.cs     added
549         
550 2003-06-15  Alexandre Pigolkine <pigolkine@gmx.de>
551         * BmpPaint.cs   ImageFormat specified for Save()
552         * image1.cs             added
553
554 2003-06-06  Alexandre Pigolkine <pigolkine@gmx.de>
555         * BmpPaint.cs   added
556
557 2001-10-31  Mike Kestner <mkestner@speakeasy.net>
558
559         * TestPoint.cs : Tests I've had in my node forever.
560