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