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