1 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
3 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
4 NULL. This match MS behavior as seen in (unfixed) bug #81709.
6 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
8 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
9 pointer correctly in 64bits architectures. Thanks to Zoltan.
11 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
13 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
14 GdipDrawImageRectRect (GraphicsUnit).
15 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
16 DrawImageUnscaledAndClipped (2.0).
17 * TestRectangle.cs: Add test cases for negative width/height. Fix some
18 test cases that were using RectangleF instead of Rectangle.
19 * TestRectangleF.cs: Add test cases for negative width/height.
21 2007-05-08 Everaldo Canuto <everaldo@simios.org>
23 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
24 it is a reproduction of bug #81572 that checks width for multiline
27 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
29 * TestColor.cs: Under Windows ensure we're getting the same values for
32 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
34 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
35 and it's parameter's validations.
37 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
39 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
40 reworked LockUnlockBitmap (e.g. add assert messages).
42 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
44 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
45 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
46 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
49 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
51 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
54 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
56 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
57 if in particular case (it doesn't). Added Categoty("Valgrind") to a
58 test know to leak due to the API design.
60 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
62 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
63 the data when using ImageLockMode.ReadOnly (this makes some results
64 random when using MS GDI+).
66 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
68 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
69 (without unlocking it first).
70 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
71 returns a named color and a unnamed color.
72 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
73 two additionnal test cases for LockBits, Double locks (exception) and
74 invalid ImageLockMode (no exception).
76 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
78 * TestColor.cs: Add a few more test cases for ==, != and Equals
80 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
82 * ColorConverter.cs: Add test case with a null CultureInfo for
84 * ColorTranslator.cs: Add test cases with known values for FromHtml
85 * TestColor.cs: Made some test clearer about what they do/check.
87 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
89 * TestFont.cs: Add test cases for GetHeight(Graphics) and
90 GetHeight(float) methods.
92 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
94 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
95 crash libgdiplus if it's not updated to the latest svn revision).
96 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
97 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
99 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
101 * TestFont.cs: Add a test for exception thrown when an unavailable font
102 style is requested. (Marked NotWorking due to being platform specific.)
104 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
106 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
107 available on the system.
109 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
111 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
112 the test cases are now working properly.
113 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
115 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
117 * TestImage.cs: Add test cases for loading invalid files as an Image.
119 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
121 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
122 * TestImage.cs: Add test cases for loading metafile as Image.
124 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
126 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
129 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
131 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
132 for TARGET_JVM with not supported method calls
134 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
136 * SystemFontsTest.cs: Add more tests cases including disposing the
137 font instance returned by the SystemFonts class.
139 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
141 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
142 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
144 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
146 * ColorConverter.cs: Rename fixture to match our styleguide.
147 * ColorTranslator.cs: Rename fixture to match our styleguide.
149 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
151 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
154 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
156 * TestRegion.cs: Add test cases for matrix operations on infinite
157 regions (result is always an infinite region). Add test cases for
158 scale and scale+translate on regions (to see that they do not trigger
159 a convertion into bitmap-based regions).
161 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
163 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
164 and for checking clip bounds after operation on world tranformations.
166 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
168 * TestGraphics.cs: Add test case for trailing spaces when calling
169 MeasureString. #80680
171 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
173 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
174 serialization, which "works" under 2.0 but not under 1.1.
175 * TestImage.cs: Add test case for XmlSerializer on Image type, which
176 "works" under 2.0 but not under 1.1.
178 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
180 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
181 which use a decoder-only codec.
183 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
185 * GDIPlusTest.cs: Add test cases for loading unexisting files in
186 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
187 for error code returned by GdipGetImageGraphicsContext for indexed
190 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
192 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
193 implementation leads to false conclusions. MS GDI+ upgrades the
194 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
195 possible to create a Graphics from them.
196 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
197 under MS 1.x with ArgumentNullException.
199 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
201 * TestBitmap.cs: Added test case to create multiple bitmaps from a
203 * TestIcon.cs: Added test cases to create multiple icons from a
204 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
206 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
208 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
209 coexists in the same icon file.
211 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
213 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
214 11x22, to test for non perfect match icon selection.
215 * TestImage.cs: Add test cases for locked/unlocked streams when using
216 GDI+ (e.g. Mono running on Windows).
218 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
220 * TestIcon.cs: Add test cases for XP (32bpp) icons.
222 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
224 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
225 GetHbitmap and FromHbitmap.
226 * TestIcon.cs: Add test cases for all constructors. Add test cases for
227 saving icons (all sizes). Add test cases for roundtripping icons using
230 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
232 * GDIPlusTest.cs: Add test case for loading an icon and playing with
234 * TestIcon.cs: Add test cases for different sizes of icons.
236 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
238 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
239 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
241 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
242 specific, ignored test case.
244 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
246 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
247 on Linux MS Sans Sarif is mapped to other available font.
249 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
251 * SystemFontsTest.cs: Added test for DefaultFont.
253 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
255 * TestBrushes.cs: Ensure that the unit tests are destructive on the
256 brushes (since you can change their color and dispose them). Now only
257 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
258 any other unit test that use Brushes.* executed after this one.
260 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
262 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
264 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
266 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
267 icons provided here behave differently than normal icons (can't be
270 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
272 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
273 names, currently not working), GetStandardValuesSupported and
274 GetStandardValues methods.
276 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
278 * TestGraphics.cs: Add new MeasureString test cases.
279 * TestRectangle.cs: Add unit tests for == and != operators. Update
280 tests to NUnit 2.2 syntax.
281 * TestRectangleF.cs: Add unit tests for == and != operators. Update
282 tests to NUnit 2.2 syntax.
284 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
286 * TestGraphics.cs: Ignore new test cases when font is null (not
287 available). Add pixel size compares to MeasureString_Bug76664.
289 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
291 * TestGraphics.cs: Added test case to measure strings, some aren't yet
292 working. Modified some to get better checks (e.g. Int32.MaxValue for
295 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
297 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
299 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
301 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
302 tests dynamically (when fonts aren't installed).
304 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
306 * TestGraphics.cs: Added test cases for bug #77699 (with and without
309 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
311 * TestStringFormat.cs: fix build for TARGET_JVM.
313 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
315 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
316 like handling bad ranges (start, length) and hotkey prefix handling.
318 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
320 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
321 GdipSetStringFormatTabStops functions.
322 * TestStringFormat.cs: Added a more complex test case for Clone.
324 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
326 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
327 StringFormat functions.
328 * TestGraphics.cs: Avoid test cases failure if the font object can't
329 be created during fixture's setup.
330 * TestStringFormat.cs: Increased coverage of the unit tests.
332 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
334 * TestGraphics.cs: Add test cases for MeasureString and
335 MeasureCharacterRanges methods.
337 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
339 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
340 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
343 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
345 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
346 test. The test is bad because sometimes it uses Size instead of SizeF.
348 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
350 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
352 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
354 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
355 * TestImageConverter.cs: Added a test case when value is null (should
356 return "(none)"). Uncommented and splitted all exception test cases
357 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
359 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
361 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
362 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
364 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
366 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
367 seems to work only when the destination format is 32 bits.
369 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
371 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
373 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
375 * TextureBrushTest.cs: More test cases when only a partial part of the
376 image is being used and for cloning the brush.
378 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
380 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
381 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
383 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
385 * ColorConverter.cs: Add a new test case for a color with a integer
386 part that is too large to convert into an int.
387 * ColorTranslator.cs: Add more test cases for FromHtml method.
389 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
391 * GDIPlusTest.cs: Fix ImageAttributes test case.
392 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
394 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
396 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
397 Added new test cases for ImageAttributes. Removed some assertion for
398 GpGraphicsPath (which returns different value on monobuild win32 bot
399 than my own machine, uninit field ?).
401 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
403 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
404 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
406 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
408 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
410 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
412 * GDIPlusTest.cs: Added more test cases for Matrix functions.
414 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
416 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
419 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
421 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
423 * TestFont.cs: Ignore test cases if we cannot get any font family
426 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
428 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
429 struct like it's currently defined inside SD).
431 2006-08-12 Duncan Mak <duncan@novell.com>
433 * GDIPlusTest.cs: Removed all the local PInvoke methods.
434 (DrawingOperations): New test for various draw and fill operations
437 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
439 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
440 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
441 executes under Windows (GDI+);
442 * TestFont.cs: Added more test cases for ToLogFont including one that
443 shows that LOGFONT only works properly when it's a class (not a struct)
445 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
447 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
448 PathGradientBrush to fix unit tests under Windows.
449 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
450 fail when using MS GDI+ (e.g. Mono on Windows).
452 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
454 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
455 Widen) and some new tests for Matrix related GDI+ functions.
457 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
459 * TestRegion.cs: Add test case for excluding a rectangle from an
462 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
464 * GDIPlusTest.cs: Avoid leaking during tests.
466 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
468 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
471 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
473 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
474 Pen related GDI+ calls.
476 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
478 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
479 fixes some unit test failures seen with Mono running on Windows).
481 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
483 * TestFont.cs: Remove asserts that are system dependant.
485 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
487 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
489 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
491 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
492 * TestImage.cs: Added checks to validate that the thumbnail's callback
495 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
497 * SolidBrushTest.cs: New test case using DrawLine.
499 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
501 * TestImage.cs: Add test cases for GetThumbnailImage.
503 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
505 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
507 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
509 * TestFont.cs: Expanded a test case to check for bug #78721 where the
510 LOGFONT structure must be initialized even if the ToLogFont call fails
512 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
514 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
515 add a comment on a commented one (MakeTransparent ;-)
517 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
519 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
521 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
523 * TestColor.cs: added 2 more tests for serialization and enabled one
524 that was not working.
526 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
528 * FontFamilyTest.cs: New. Unit tests for FontFamily.
529 * TestFont.cs: Added more test cases to Font.
531 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
533 * TestImageFormatConverter.cs: Added test cases for all well known
534 ImageFormat short and long names using ConvertFrom.
536 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
538 * TestColor.cs: Added test cases for serialization. Currently we can't
539 deserialize Color coming from MS serialization.
541 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
543 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
544 permission and test the [Get|From]Hrgn methods.
546 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
548 * TestBitmap.cs: new tests for the default format and the default file
551 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
553 * ColorConverter.cs: Split unworking test case from ConvertFrom into
554 a separate test case (marked as NotWorking).
555 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
556 probably never tested under Windows (and doesn't work there).
557 * TestFontConverter.cs: Split test case for CreateInstance to check
558 for ArgumentException (2.0) or NullReferenceException (1.x).
559 * TestPointConverter.cs: Split test case for CreateInstance to check
560 for ArgumentException (2.0) or NullReferenceException (1.x).
561 * TestRectangleConverter.cs: Split test case for CreateInstance to
562 check for ArgumentException (2.0) or NullReferenceException (1.x).
563 * TestSizeConverter.cs: Split test case for CreateInstance to check
564 for ArgumentException (2.0) or NullReferenceException (1.x).
565 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
566 check for InvalidCastException and NullReferenceException.
567 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
568 Empty and SizeF(0,0) don't share the same hash code.
570 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
572 * TestImageConverter.cs: Adjust test cases as there is an additional
573 properties under 2.0.
574 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
576 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
578 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
579 * TestFont.cs: Fix tests under Windows (CAS related);
580 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
582 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
584 * PenTest.cs: Added a test case where the brush supplied to the .ctor
585 is disposed before the pen is used. Based on a sample from Paddy joy.
587 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
589 * PenTest.cs: New. Unit tests for Pen.
591 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
593 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
595 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
597 * TestRegion.cs: Added a new test case for unioning a rectangle with
598 infinity and a new test case for GetRegionScans.
600 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
602 * TestGraphics.cs: Re-introduce the removed check :)
604 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
606 * TestGraphics.cs: Temporarily remove the checks for the transform in
607 containers. This allows libgdiplus to get better visual results until
608 the matrix issue is fixed correctly (instead of returning the "right"
609 matrix and displaying wrong data).
611 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
613 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
614 for Save and Restore methods.
616 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
618 * TestGraphics.cs: Added new test cases for DrawCurve methods.
620 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
622 * TestBitmap.cs: added tests for UnlockBits when the target is an
623 indexed image and a non-indexed one.
625 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
627 * TestGraphics.cs: Added new test cases for clipping. Some of them do
630 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
632 * TestGraphics.cs: Added new test cases for bug #77129 where we should
633 not draw or fill rectangle(s) with negative width or height. Converted
634 all test cases to UNIX line endings.
636 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
638 * TestGraphics.cs: Added new test cases translating matrix with
639 different MatrixOrder and for multiplying a non-invertible matrix.
641 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
643 * TestGraphics.cs: Add new test cases for clipping.
645 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
647 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
648 path-based (using bitmaps in libgdiplus) and for regions that had a
649 binary operations applied (i.e. using a path tree in libgdiplus).
650 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
651 binary operators (Union, Intersection, Complement, Exclude and Xor)
652 on path based regions (using bitmaps in libgdiplus).
654 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
656 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
657 the appropriate size on each system
659 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
661 * RegionNonRectTest.cs: Updated comments on a test that fails on both
662 1.x and 2.0 MS runtime.
663 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
666 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
667 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
668 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
669 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
670 added #ifdef for TARGET_JVM.
672 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
673 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
675 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
677 * RegionDataTest.cs: New. Unit tests for RegionData.
678 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
679 * TestRegion.cs: Added new test cases for empty region and IsInfinite
680 behaviour with multiple rectangles / path-rectangle regions.
682 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
684 * TestRegion.cs: Mark a test case as NotWorking as it caused a
687 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
689 * RegionCas.cs: New. CAS unit tests for Region.
690 * TestRegion.cs: Added test cases to check for expected exceptions.
692 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
694 * TestFont.cs: Added test for LogFont conversion
696 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
698 * TestPoint.cs: Test new methods for .Net 2.0
699 * TestPointF.cs Test new methods for .Net 2.0
700 * ColorConverter.cs: Fixes for .Net 2.0
701 * TestSizeF.cs: Test new methods for .Net 2.0
702 * TestSize.cs: Test new methods for .Net 2.0
704 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
706 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
707 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
710 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
712 * ColorConverter.cs: added testcases for ConvertFrom and
713 three digit notaion color.
715 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
717 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
718 of indexed (1- and 4-bit) Bitmaps.
719 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
721 2005-09-19 Miguel de Icaza <miguel@novell.com>
723 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
725 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
727 * BitmapCas.cs: New. CAS unit tests for Bitmap.
728 * GraphicsCas.cs: New. CAS unit tests for Graphics.
729 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
730 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
731 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
732 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
733 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
734 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
735 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
736 UnmanagedCode permission to all tests. This shows (when executed under
737 MS runtime) that S.D API is safe and doesn't requires high privileges
738 to run - even if we know that, deep down, this calls into GDI+.
740 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
742 * TestGraphics.cs: Adds default properties, properties set/get and save
743 and restore status test
745 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
747 * TestGraphics.cs: resets graphics object status before every SetClip test
749 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
751 * TestImageConverter.cs: Re-enabled GetProperties test.
752 * TestPointConverter.cs: same.
753 * TestRectangleConverter.cs: same.
754 * TestSizeConverter.cs: same.
756 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
758 * TestImagge.cs: File not found exception, related to fix r49744
759 * TestBimap.cs: File not found exception, related to fix r49744
761 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
763 * TestGraphics.cs: New test case, only clipping for now
765 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
767 * TestPointConverter.cs: Use Assert class instead of deriving from
768 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
769 * TestRectangleConverter.cs: same.
770 * TestSizeConverter.cs: same.
772 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
774 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
777 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
779 * TestPens.cs: Add test for Equals method
780 * TestBrushes.cs: Add test for Equals method
782 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
784 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
785 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
786 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
787 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
789 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
791 * TestRegion.cs: Adds many new cases for the new region implementation
793 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
795 * ColorConverter.cs: Mono now also throws ArgumentException when
796 color value is not between 0 and 255.
797 * TestColor.cs: Added tests for invalid color values.
798 * TestRectangleConverter.cs: Fixed tests for conversion to/from
799 string. Added tests that verify results using specific cultures.
801 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
803 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
804 tests using current culture.
805 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
808 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
810 * TestColor.cs: Added test for ToString() on uninitialized color.
811 * TestColorConverter.cs: Added tests for ColorConverter.
813 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
815 * TestRegion.cs: new cases for Combine and Intersect
817 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
819 * TestRectangle.cs: Add new test.
821 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
823 * ColorConverter.cs, ColorTranslator.cs: added
824 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
825 tests for convert to/from string
827 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
829 * Color.cs: many new testcases added
831 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
833 * Size.cs, SizeF.cs: GetHashCode and ToString tests
835 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
837 * TestRectangle.cs, TestRectangleF.cs: add new testcases
839 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
841 * TestPoint.cs: GetHashCode and ToString tests added
842 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
845 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
847 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
848 the original stack trace.
850 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
852 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
853 tests to use tolerance.
855 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
857 * TestColor.cs: Added tests for GetHue, GetBrightness
860 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
861 * TestRegion.cs: added new IsVisible cases
863 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
865 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
867 2004-06-17 Ravindra <rkumar@novell.com>
869 * graphicsUi.cs: Formatted and moved to
870 Samples/System.Drawing directory.
871 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
872 Samples/System.Drawing directory.
873 * hering.cs: Formatted and moved to Samples/General directory.
874 * BmpPaint.cs: Ficed, formatted and moved to
875 Samples/System.Drawing directory.
876 * font1.cs: Formatted and renamed to font.cs. Moved to
877 Samples/System.Drawing directory.
879 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
881 * TestBitmap.cs: Corrected issues from my previous checkin.
883 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
885 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
886 dependency on obsolete class, Assertion from NUnit.
888 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
890 * TestImageConverter.cs: Removed dependency on obsolete class,
891 Assertion from NUnit.
893 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
895 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
896 dependency on obsolete class, Assertion from NUnit.
898 2004-05-27 Ravindra <rkumar@novell.com>
900 * TestRectangleConverter.cs: Ignored the test that is failing
901 because of bug #58435.
902 * TestPointConverter.cs: Same.
903 * TestSizeConverter.cs: Same.
904 * TestImageConverter.cs: Same.
906 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
908 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
911 2004-05-26 Ravindra <rkumar@novell.com>
913 * TestColor.cs: Added a test for testing ARGB values for all
914 the static color properties.
916 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
918 * TestIcon.cs: Added.
919 * bitmaps/smiley.ico: Added.
921 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
923 * TestImageFormatConverter.cs: Fixed issues with test case.
925 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
927 * TestImageConverter.cs: Fixed issues with test case.
929 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
931 * TestIconConverter.cs: Fixed issues with test case.
933 2004-05-18 Ravindra <rkumar@novell.com>
935 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
936 this under Test/System.Drawing.Drawing2D directory.
938 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
940 * TestIconConverter.cs: Added.
941 * bitmaps/VisualPng.ico: Added
942 * bitmaps/VisualPng1.ico: Added
944 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
946 * TestBitmap.cs: Modified method signature to static to be used in other file.
947 * TestImageConverter.cs: Added.
948 * TestImageFormatConverter.cs: Added
950 2004-05-12 Jordi Mas <jordi@ximan.com>
951 * TestBitmap.cs: added lockbitmap tests
953 2004-05-07 Jordi Mas <jordi@ximan.com>
954 * TestBitmap.cs: added rotation tests
956 2004-04-23 Ravindra <rkumar@novell.com>
958 * TestSystemPens.cs: Removed some unused exception variables.
959 * TestRectangleConverter.cs: Removed culture dependent tests.
960 * TestPointConverter.cs: Removed culture dependent tests.
961 * TestSizeConverter.cs: Removed culture dependent tests.
962 (These tests were not right because a constant culture specific string
963 was being parsed by using current culture of the thread. It resulted in
964 test failures when cultures do not match.)
966 2004-04-22 Ravindra <rkumar@novell.com>
968 * TestPointConverter.cs: Added.
969 * TestSizeConverter.cs: Added.
971 2004-04-22 Ravindra <rkumar@novell.com>
973 * TestRectangleConverter.cs: Added.
975 2004-04-21 Ravindra <rkumar@novell.com>
977 * TestPens.cs: Added.
979 2004-04-21 Ravindra <rkumar@novell.com>
981 * TestBrushes.cs: Added.
983 2004-04-16 Ravindra <rkumar@novell.com>
985 * TestSystemPens.cs: Added.
987 2004-03-13 Ravindra <rkumar@novell.com>
989 * TestSystemBrushes.cs: Added test fail conditions.
991 2004-03-12 Ravindra <rkumar@novell.com>
993 * TestSystemBrushes.cs: Added.
995 2004-03-17 Ravindra <rkumar@novell.com>
996 * TestHatchBrush.cs: Added.
998 2004-01-26 Ravindra <rkumar@novell.com>
999 * TestPointF.cs: Added.
1000 * TestSize.cs: Added.
1003 2004-01-16 Ravindra <rkumar@novell.com>
1004 * BmpPaint.cs did not run on .NET.
1005 Modified to make it run on .NET. Specs say
1006 "Do not save an image to the same stream
1007 that was used to construct the image."
1009 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1010 * BmpPaint.cs modified
1012 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1013 * hering.cs save as Jpeg also
1015 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1018 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1021 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1022 * BmpPaint.cs ImageFormat specified for Save()
1025 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1028 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1030 * TestPoint.cs : Tests I've had in my node forever.