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