1 2009-01-02 Sebastien Pouliot <sebastien@ximian.com>
3 * TestBitmap.cs: Add test cases for SetResolution
5 2009-01-02 Sebastien Pouliot <sebastien@ximian.com>
7 * PenTest.cs: Fix test case not to use a color that is "destroyed"
8 by another unit test. The nunit update changed the order in which
9 the test cases are executed.
11 2008-12-23 Sebastien Pouliot <sebastien@ximian.com>
13 * GDIPlusTest.cs: Add MeasureCharacterRanges test cases around bug
14 #449971 and add a few delta for FP comparison.
15 * TestGraphics.cs: Add a few delta for FP comparison.
17 2008-12-10 Atsushi Enomoto <atsushi@ximian.com>
19 * TestGraphics.cs, GDIPlusTest.cs : fix tests wrt rounding that
20 were failing on .NET too (exposed by nunit24).
22 2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
24 * TestFont.cs: Add test cases for null checks to ensure we match
27 2008-10-06 Sebastien Pouliot <sebastien@ximian.com>
29 * TestColor.cs: Add test case, from Gert Driesen, for bug #410693
30 * TestRectangleF.cs: Add test case, from Imie Nazwisko, for bug #431587
32 2008-08-08 Gert Driesen <drieseng@users.sourceforge.net>
34 * TestIcon.cs: Add test case for bug #415581.
36 2008-08-08 Gert Driesen <drieseng@users.sourceforge.net>
38 * TestIcon.cs: Modified test for bug #410608 to work around bug
41 2008-08-07 Gert Driesen <drieseng@users.sourceforge.net>
43 * TestIcon.cs: Ignore test for bug #410608 on Unix, since it depends
46 2008-08-06 Gert Driesen <drieseng@users.sourceforge.net>
48 * TestIcon.cs: Add test case for bug #410608.
50 2008-07-07 Sebastien Pouliot <sebastien@ximian.com>
52 * TestBitmap.cs: Add test case for #406763 and similar cases.
54 2008-06-27 Sebastien Pouliot <sebastien@ximian.com>
56 * TestRegion.cs: Add test case for #402613 to verify Exclude.
57 Based on Jan Krajicek's code supplied inside the bug report.
59 2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
61 * TestPointConverter.cs: Add test cases to verify that no NRE
62 is thrown if culture is null in ConvertTo.
63 * TestSizeConverter.cs: Add test cases to verify that no NRE
64 is thrown if culture is null in ConvertTo.
66 2008-04-25 Sebastien Pouliot <sebastien@ximian.com>
68 * TestRegion.cs: Add test cases for #383878 to verify Intersect
69 with negative width & height and to check against the crash in
72 2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
74 * TestIcon.cs: Add test case for #366485.
76 2008-01-21 Gert Driesen <drieseng@users.sourceforge.net>
78 * TestGraphics.cs: Added test for bug #355141.
80 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
82 * GDIPlusTest.cs: Don't use internal Unit enum anymore.
84 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
86 * TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
89 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
91 * TestGraphics.cs: Add test case on TransformPoints for #349800.
93 2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
95 * GDIPlusTest.cs : fix test build.
97 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
99 * ColorTranslator.cs: Add test case for #340917 (LightGrey).
101 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
103 * TestBitmap.cs: XML serialization test case (#323246).
104 * TestImage.cs: XML serialization test case (#323246).
106 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
108 * Image.cs: Add test cases for the stream position when loading and
109 saving bitmaps and metafiles. Some of them are based on Gert Driesen
112 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
114 * TestGraphics.cs: Test against NRE in MultiplyTransform
116 2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
118 * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
119 now that #81572 is fixed.
121 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
123 * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
125 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
127 * TextureBrushTest.cs: Added test cases for textures using alpha
130 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
132 * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
134 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
136 * RegionNonRectTest.cs: Add test cases for combining empty paths and
137 regions with infinite regions.
139 2007-06-21 Sebastien Pouliot <sebastien@ximian.com>
141 * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
143 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
145 * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
146 methods. Add test case for drawing lines with a pen's width > 1.
148 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
150 * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
151 * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
152 the saved bitmap (used for debugging).
154 2007-05-28 Sebastien Pouliot <sebastien@ximian.com>
156 * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
158 2007-05-25 Sebastien Pouliot <sebastien@ximian.com>
160 * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
161 cases as it's not supported in libgdiplus.
163 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
165 * TestGraphics.cs: Add test cases for DrawImage overloads accepting
166 Point or PointF arrays as destination points.
168 2007-05-24 Sebastien Pouliot <sebastien@ximian.com>
170 * TestGraphics.cs: Add test cases for the normal behaviour of
173 2007-05-22 Sebastien Pouliot <sebastien@ximian.com>
175 * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
176 NULL. This match MS behavior as seen in (unfixed) bug #81709.
178 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
180 * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
181 pointer correctly in 64bits architectures. Thanks to Zoltan.
183 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
185 * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
186 GdipDrawImageRectRect (GraphicsUnit).
187 * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
188 DrawImageUnscaledAndClipped (2.0).
189 * TestRectangle.cs: Add test cases for negative width/height. Fix some
190 test cases that were using RectangleF instead of Rectangle.
191 * TestRectangleF.cs: Add test cases for negative width/height.
193 2007-05-08 Everaldo Canuto <everaldo@simios.org>
195 * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
196 it is a reproduction of bug #81572 that checks width for multiline
199 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
201 * TestColor.cs: Under Windows ensure we're getting the same values for
204 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
206 * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
207 and it's parameter's validations.
209 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
211 * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
212 reworked LockUnlockBitmap (e.g. add assert messages).
214 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
216 * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
217 indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
218 * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
219 Format16bppGrayScale.
221 2007-04-14 Sebastien Pouliot <sebastien@ximian.com>
223 * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
226 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
228 * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
229 if in particular case (it doesn't). Added Categoty("Valgrind") to a
230 test know to leak due to the API design.
232 2007-04-12 Sebastien Pouliot <sebastien@ximian.com>
234 * TestBitmap.cs: Split LockBitmap into several tests and do not modify
235 the data when using ImageLockMode.ReadOnly (this makes some results
236 random when using MS GDI+).
238 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
240 * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
241 (without unlocking it first).
242 * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
243 returns a named color and a unnamed color.
244 * TestBitmap.cs: Renable four test cases depending on LockBits. Add
245 two additionnal test cases for LockBits, Double locks (exception) and
246 invalid ImageLockMode (no exception).
248 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
250 * TestColor.cs: Add a few more test cases for ==, != and Equals
252 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
254 * ColorConverter.cs: Add test case with a null CultureInfo for
256 * ColorTranslator.cs: Add test cases with known values for FromHtml
257 * TestColor.cs: Made some test clearer about what they do/check.
259 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
261 * TestFont.cs: Add test cases for GetHeight(Graphics) and
262 GetHeight(float) methods.
264 2007-03-30 Sebastien Pouliot <sebastien@ximian.com>
266 * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
267 crash libgdiplus if it's not updated to the latest svn revision).
268 * SystemFontsTest.cs: Allow a small delta when comparing floats. This
269 allows the ARM to work properly (e.g. 8.249999 versus 8.25).
271 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
273 * TestFont.cs: Add a test for exception thrown when an unavailable font
274 style is requested. (Marked NotWorking due to being platform specific.)
276 2007-03-16 Sebastien Pouliot <sebastien@ximian.com>
278 * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
279 available on the system.
281 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
283 * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
284 the test cases are now working properly.
285 * ColorTranslator.cs: Add two other #hex cases. Fix typo.
287 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
289 * TestImage.cs: Add test cases for loading invalid files as an Image.
291 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
293 * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
294 * TestImage.cs: Add test cases for loading metafile as Image.
296 2007-03-08 Sebastien Pouliot <sebastien@ximian.com>
298 * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
301 2007-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
303 * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
304 for TARGET_JVM with not supported method calls
306 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
308 * SystemFontsTest.cs: Add more tests cases including disposing the
309 font instance returned by the SystemFonts class.
311 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
313 * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
314 to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
316 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
318 * ColorConverter.cs: Rename fixture to match our styleguide.
319 * ColorTranslator.cs: Rename fixture to match our styleguide.
321 2007-02-14 Sebastien Pouliot <sebastien@ximian.com>
323 * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
326 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
328 * TestRegion.cs: Add test cases for matrix operations on infinite
329 regions (result is always an infinite region). Add test cases for
330 scale and scale+translate on regions (to see that they do not trigger
331 a convertion into bitmap-based regions).
333 2007-02-01 Sebastien Pouliot <sebastien@ximian.com>
335 * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
336 and for checking clip bounds after operation on world tranformations.
338 2007-01-31 Sebastien Pouliot <sebastien@ximian.com>
340 * TestGraphics.cs: Add test case for trailing spaces when calling
341 MeasureString. #80680
343 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
345 * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
346 serialization, which "works" under 2.0 but not under 1.1.
347 * TestImage.cs: Add test case for XmlSerializer on Image type, which
348 "works" under 2.0 but not under 1.1.
350 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
352 * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
353 which use a decoder-only codec.
355 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
357 * GDIPlusTest.cs: Add test cases for loading unexisting files in
358 GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
359 for error code returned by GdipGetImageGraphicsContext for indexed
362 2007-01-18 Sebastien Pouliot <sebastien@ximian.com>
364 * TestGraphics.cs: Fix the LoadIndexed test case as it's current
365 implementation leads to false conclusions. MS GDI+ upgrades the
366 indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
367 possible to create a Graphics from them.
368 * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
369 under MS 1.x with ArgumentNullException.
371 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
373 * TestBitmap.cs: Added test case to create multiple bitmaps from a
375 * TestIcon.cs: Added test cases to create multiple icons from a
376 single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
378 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
380 * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
381 coexists in the same icon file.
383 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
385 * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
386 11x22, to test for non perfect match icon selection.
387 * TestImage.cs: Add test cases for locked/unlocked streams when using
388 GDI+ (e.g. Mono running on Windows).
390 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
392 * TestIcon.cs: Add test cases for XP (32bpp) icons.
394 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
396 * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
397 GetHbitmap and FromHbitmap.
398 * TestIcon.cs: Add test cases for all constructors. Add test cases for
399 saving icons (all sizes). Add test cases for roundtripping icons using
402 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
404 * GDIPlusTest.cs: Add test case for loading an icon and playing with
406 * TestIcon.cs: Add test cases for different sizes of icons.
408 2007-01-07 Sebastien Pouliot <sebastien@ximian.com>
410 * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
411 MeasureString_Wrapping_Dots as a possible, host specific, ignored test
413 * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
414 specific, ignored test case.
416 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
418 * SystemFontsTest.cs: Split DefaultFont test into two parts, since
419 on Linux MS Sans Sarif is mapped to other available font.
421 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
423 * SystemFontsTest.cs: Added test for DefaultFont.
425 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
427 * TestBrushes.cs: Ensure that the unit tests are destructive on the
428 brushes (since you can change their color and dispose them). Now only
429 Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
430 any other unit test that use Brushes.* executed after this one.
432 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
434 * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
436 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
438 * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
439 icons provided here behave differently than normal icons (can't be
442 2006-11-23 Sebastien Pouliot <sebastien@ximian.com>
444 * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
445 names, currently not working), GetStandardValuesSupported and
446 GetStandardValues methods.
448 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
450 * TestGraphics.cs: Add new MeasureString test cases.
451 * TestRectangle.cs: Add unit tests for == and != operators. Update
452 tests to NUnit 2.2 syntax.
453 * TestRectangleF.cs: Add unit tests for == and != operators. Update
454 tests to NUnit 2.2 syntax.
456 2006-10-18 Sebastien Pouliot <sebastien@ximian.com>
458 * TestGraphics.cs: Ignore new test cases when font is null (not
459 available). Add pixel size compares to MeasureString_Bug76664.
461 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
463 * TestGraphics.cs: Added test case to measure strings, some aren't yet
464 working. Modified some to get better checks (e.g. Int32.MaxValue for
467 2006-10-03 Boris Kirzner <borisk@mainsoft.com>
469 * TestStringFormat.cs: mark tests not working in TARGET_JVM.
471 2006-09-29 Sebastien Pouliot <sebastien@ximian.com>
473 * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
474 tests dynamically (when fonts aren't installed).
476 2006-09-28 Sebastien Pouliot <sebastien@ximian.com>
478 * TestGraphics.cs: Added test cases for bug #77699 (with and without
481 2006-09-26 Boris Kirzner <borisk@mainsoft.com>
483 * TestStringFormat.cs: fix build for TARGET_JVM.
485 2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
487 * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
488 like handling bad ranges (start, length) and hotkey prefix handling.
490 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
492 * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
493 GdipSetStringFormatTabStops functions.
494 * TestStringFormat.cs: Added a more complex test case for Clone.
496 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
498 * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
499 StringFormat functions.
500 * TestGraphics.cs: Avoid test cases failure if the font object can't
501 be created during fixture's setup.
502 * TestStringFormat.cs: Increased coverage of the unit tests.
504 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
506 * TestGraphics.cs: Add test cases for MeasureString and
507 MeasureCharacterRanges methods.
509 2006-09-18 Boris Kirzner <borisk@mainsoft.com>
511 * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
512 TestRegion.cs,TestSizeFConverter.cs : mark tests not working
515 2006-09-16 Sebastien Pouliot <sebastien@ximian.com>
517 * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
518 test. The test is bad because sometimes it uses Size instead of SizeF.
520 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
522 * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
524 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
526 * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
527 * TestImageConverter.cs: Added a test case when value is null (should
528 return "(none)"). Uncommented and splitted all exception test cases
529 into individual tests. Still got one faulty test: ConvertTo_ByteArray.
531 2006-09-04 Jonathan Gilbert <logic@deltaq.org>
533 * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
534 to ignore the test if Microsoft's GDIPLUS.DLL is in use.
536 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
538 * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
539 seems to work only when the destination format is 32 bits.
541 2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
543 * TextureBrushTest.cs: Remove NotWorking from rotation test case.
545 2006-08-30 Sebastien Pouliot <sebastien@ximian.com>
547 * TextureBrushTest.cs: More test cases when only a partial part of the
548 image is being used and for cloning the brush.
550 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
552 * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
553 * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
555 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
557 * ColorConverter.cs: Add a new test case for a color with a integer
558 part that is too large to convert into an int.
559 * ColorTranslator.cs: Add more test cases for FromHtml method.
561 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
563 * GDIPlusTest.cs: Fix ImageAttributes test case.
564 * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
566 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
568 * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
569 Added new test cases for ImageAttributes. Removed some assertion for
570 GpGraphicsPath (which returns different value on monobuild win32 bot
571 than my own machine, uninit field ?).
573 2006-08-23 Sebastien Pouliot <sebastien@ximian.com>
575 * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
576 * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
578 2006-08-19 Sebastien Pouliot <sebastien@ximian.com>
580 * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
582 2006-08-18 Sebastien Pouliot <sebastien@ximian.com>
584 * GDIPlusTest.cs: Added more test cases for Matrix functions.
586 2006-08-16 Sebastien Pouliot <sebastien@ximian.com>
588 * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
591 2006-08-15 Sebastien Pouliot <sebastien@ximian.com>
593 * FontFamilyTest.cs: Ignore test cases if we cannot get any font
595 * TestFont.cs: Ignore test cases if we cannot get any font family
598 2006-08-14 Sebastien Pouliot <sebastien@ximian.com>
600 * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
601 struct like it's currently defined inside SD).
603 2006-08-12 Duncan Mak <duncan@novell.com>
605 * GDIPlusTest.cs: Removed all the local PInvoke methods.
606 (DrawingOperations): New test for various draw and fill operations
609 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
611 * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
612 * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
613 executes under Windows (GDI+);
614 * TestFont.cs: Added more test cases for ToLogFont including one that
615 shows that LOGFONT only works properly when it's a class (not a struct)
617 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
619 * GDIPlusTest.cs: Add more test cases for GraphicsPath and
620 PathGradientBrush to fix unit tests under Windows.
621 * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
622 fail when using MS GDI+ (e.g. Mono on Windows).
624 2006-08-10 Sebastien Pouliot <sebastien@ximian.com>
626 * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
627 Widen) and some new tests for Matrix related GDI+ functions.
629 2006-08-08 Sebastien Pouliot <sebastien@ximian.com>
631 * TestRegion.cs: Add test case for excluding a rectangle from an
634 2006-08-07 Sebastien Pouliot <sebastien@ximian.com>
636 * GDIPlusTest.cs: Avoid leaking during tests.
638 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
640 * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
643 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
645 * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
646 Pen related GDI+ calls.
648 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
650 * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
651 fixes some unit test failures seen with Mono running on Windows).
653 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
655 * TestFont.cs: Remove asserts that are system dependant.
657 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
659 * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
661 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
663 * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
664 * TestImage.cs: Added checks to validate that the thumbnail's callback
667 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
669 * SolidBrushTest.cs: New test case using DrawLine.
671 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
673 * TestImage.cs: Add test cases for GetThumbnailImage.
675 2006-06-30 Sebastien Pouliot <sebastien@ximian.com>
677 * SolidBrushTest.cs: New. Unit tests for SolidBrush.
679 2006-06-28 Sebastien Pouliot <sebastien@ximian.com>
681 * TestFont.cs: Expanded a test case to check for bug #78721 where the
682 LOGFONT structure must be initialized even if the ToLogFont call fails
684 2006-06-27 Sebastien Pouliot <sebastien@ximian.com>
686 * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
687 add a comment on a commented one (MakeTransparent ;-)
689 2006-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
691 * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
693 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
695 * TestColor.cs: added 2 more tests for serialization and enabled one
696 that was not working.
698 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
700 * FontFamilyTest.cs: New. Unit tests for FontFamily.
701 * TestFont.cs: Added more test cases to Font.
703 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
705 * TestImageFormatConverter.cs: Added test cases for all well known
706 ImageFormat short and long names using ConvertFrom.
708 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
710 * TestColor.cs: Added test cases for serialization. Currently we can't
711 deserialize Color coming from MS serialization.
713 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
715 * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
716 permission and test the [Get|From]Hrgn methods.
718 2006-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
720 * TestBitmap.cs: new tests for the default format and the default file
723 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
725 * ColorConverter.cs: Split unworking test case from ConvertFrom into
726 a separate test case (marked as NotWorking).
727 * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
728 probably never tested under Windows (and doesn't work there).
729 * TestFontConverter.cs: Split test case for CreateInstance to check
730 for ArgumentException (2.0) or NullReferenceException (1.x).
731 * TestPointConverter.cs: Split test case for CreateInstance to check
732 for ArgumentException (2.0) or NullReferenceException (1.x).
733 * TestRectangleConverter.cs: Split test case for CreateInstance to
734 check for ArgumentException (2.0) or NullReferenceException (1.x).
735 * TestSizeConverter.cs: Split test case for CreateInstance to check
736 for ArgumentException (2.0) or NullReferenceException (1.x).
737 * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
738 check for InvalidCastException and NullReferenceException.
739 * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
740 Empty and SizeF(0,0) don't share the same hash code.
742 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
744 * TestImageConverter.cs: Adjust test cases as there is an additional
745 properties under 2.0.
746 * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
748 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
750 * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
751 * TestFont.cs: Fix tests under Windows (CAS related);
752 * TestGraphics.cs: Fix and add more test cases for FillRectangles.
754 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
756 * PenTest.cs: Added a test case where the brush supplied to the .ctor
757 is disposed before the pen is used. Based on a sample from Paddy joy.
759 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
761 * PenTest.cs: New. Unit tests for Pen.
763 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
765 * TestGraphics.cs : added test for bug #78408 (FillRectangles).
767 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
769 * TestRegion.cs: Added a new test case for unioning a rectangle with
770 infinity and a new test case for GetRegionScans.
772 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
774 * TestGraphics.cs: Re-introduce the removed check :)
776 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
778 * TestGraphics.cs: Temporarily remove the checks for the transform in
779 containers. This allows libgdiplus to get better visual results until
780 the matrix issue is fixed correctly (instead of returning the "right"
781 matrix and displaying wrong data).
783 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
785 * TestGraphics.cs: Added new test cases for [Begin|End]Container and
786 for Save and Restore methods.
788 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
790 * TestGraphics.cs: Added new test cases for DrawCurve methods.
792 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
794 * TestBitmap.cs: added tests for UnlockBits when the target is an
795 indexed image and a non-indexed one.
797 2006-04-21 Sebastien Pouliot <sebastien@ximian.com>
799 * TestGraphics.cs: Added new test cases for clipping. Some of them do
802 2006-04-11 Sebastien Pouliot <sebastien@ximian.com>
804 * TestGraphics.cs: Added new test cases for bug #77129 where we should
805 not draw or fill rectangle(s) with negative width or height. Converted
806 all test cases to UNIX line endings.
808 2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
810 * TestGraphics.cs: Added new test cases translating matrix with
811 different MatrixOrder and for multiplying a non-invertible matrix.
813 2006-03-28 Sebastien Pouliot <sebastien@ximian.com>
815 * TestGraphics.cs: Add new test cases for clipping.
817 2006-03-25 Sebastien Pouliot <sebastien@ximian.com>
819 * RegionDataTest.cs: Add test cases for GetRegionData when a region is
820 path-based (using bitmaps in libgdiplus) and for regions that had a
821 binary operations applied (i.e. using a path tree in libgdiplus).
822 * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
823 binary operators (Union, Intersection, Complement, Exclude and Xor)
824 on path based regions (using bitmaps in libgdiplus).
826 2006-02-29 Peter Dennis Bartok <pbartok@novell.com>
828 * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
829 the appropriate size on each system
831 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
833 * RegionNonRectTest.cs: Updated comments on a test that fails on both
834 1.x and 2.0 MS runtime.
835 * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
838 2006-01-26 Boris Kirzner <borisk@mainsoft.com>
839 * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
840 TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
841 TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
842 added #ifdef for TARGET_JVM.
844 2006-01-23 Boris Kirzner <borisk@mainsoft.com>
845 * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
847 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
849 * RegionDataTest.cs: New. Unit tests for RegionData.
850 * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
851 * TestRegion.cs: Added new test cases for empty region and IsInfinite
852 behaviour with multiple rectangles / path-rectangle regions.
854 2006-01-16 Sebastien Pouliot <sebastien@ximian.com>
856 * TestRegion.cs: Mark a test case as NotWorking as it caused a
859 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
861 * RegionCas.cs: New. CAS unit tests for Region.
862 * TestRegion.cs: Added test cases to check for expected exceptions.
864 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
866 * TestFont.cs: Added test for LogFont conversion
868 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
870 * TestPoint.cs: Test new methods for .Net 2.0
871 * TestPointF.cs Test new methods for .Net 2.0
872 * ColorConverter.cs: Fixes for .Net 2.0
873 * TestSizeF.cs: Test new methods for .Net 2.0
874 * TestSize.cs: Test new methods for .Net 2.0
876 2005-12-02 Jonathan Gilbert <logic@deltaq.org>
878 * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
879 of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
882 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
884 * ColorConverter.cs: added testcases for ConvertFrom and
885 three digit notaion color.
887 2005-10-23 Jonathan Gilbert <logic@deltaq.org>
889 * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
890 of indexed (1- and 4-bit) Bitmaps.
891 * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
893 2005-09-19 Miguel de Icaza <miguel@novell.com>
895 * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
897 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
899 * BitmapCas.cs: New. CAS unit tests for Bitmap.
900 * GraphicsCas.cs: New. CAS unit tests for Graphics.
901 * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
902 TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
903 TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
904 TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
905 TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
906 TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
907 TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
908 UnmanagedCode permission to all tests. This shows (when executed under
909 MS runtime) that S.D API is safe and doesn't requires high privileges
910 to run - even if we know that, deep down, this calls into GDI+.
912 2005-09-14 Jordi Mas i Hernandez <jordi@ximan.com>
914 * TestGraphics.cs: Adds default properties, properties set/get and save
915 and restore status test
917 2005-09-13 Jordi Mas i Hernandez <jordi@ximan.com>
919 * TestGraphics.cs: resets graphics object status before every SetClip test
921 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
923 * TestImageConverter.cs: Re-enabled GetProperties test.
924 * TestPointConverter.cs: same.
925 * TestRectangleConverter.cs: same.
926 * TestSizeConverter.cs: same.
928 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
930 * TestImagge.cs: File not found exception, related to fix r49744
931 * TestBimap.cs: File not found exception, related to fix r49744
933 2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
935 * TestGraphics.cs: New test case, only clipping for now
937 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
939 * TestPointConverter.cs: Use Assert class instead of deriving from
940 deprecated Assertion class. Tests now pass on both Mono and MS.NET.
941 * TestRectangleConverter.cs: same.
942 * TestSizeConverter.cs: same.
944 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
946 * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
949 2005-08-23 Jordi Mas i Hernandez <jordi@ximan.com>
951 * TestPens.cs: Add test for Equals method
952 * TestBrushes.cs: Add test for Equals method
954 2005-08-19 Jordi Mas i Hernandez <jordi@ximan.com>
956 * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
957 * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
958 * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
959 * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
961 2005-08-17 Jordi Mas i Hernandez <jordi@ximan.com>
963 * TestRegion.cs: Adds many new cases for the new region implementation
965 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
967 * ColorConverter.cs: Mono now also throws ArgumentException when
968 color value is not between 0 and 255.
969 * TestColor.cs: Added tests for invalid color values.
970 * TestRectangleConverter.cs: Fixed tests for conversion to/from
971 string. Added tests that verify results using specific cultures.
973 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
975 * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
976 tests using current culture.
977 * TestColorConverter.cs: Merged tests with ColorConverter.cs and
980 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
982 * TestColor.cs: Added test for ToString() on uninitialized color.
983 * TestColorConverter.cs: Added tests for ColorConverter.
985 2005-08-10 Jordi Mas i Hernandez <jordi@ximan.com>
987 * TestRegion.cs: new cases for Combine and Intersect
989 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
991 * TestRectangle.cs: Add new test.
993 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
995 * ColorConverter.cs, ColorTranslator.cs: added
996 * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
997 tests for convert to/from string
999 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1001 * Color.cs: many new testcases added
1003 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1005 * Size.cs, SizeF.cs: GetHashCode and ToString tests
1007 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1009 * TestRectangle.cs, TestRectangleF.cs: add new testcases
1011 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1013 * TestPoint.cs: GetHashCode and ToString tests added
1014 * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
1017 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1019 * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
1020 the original stack trace.
1022 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1024 * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
1025 tests to use tolerance.
1027 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1029 * TestColor.cs: Added tests for GetHue, GetBrightness
1032 2005-02-24 Jordi Mas i Hernandez <jordi@ximan.com>
1033 * TestRegion.cs: added new IsVisible cases
1035 2004-06-22 Sanjay Gupta <gsanjay@novell.com>
1037 * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
1039 2004-06-17 Ravindra <rkumar@novell.com>
1041 * graphicsUi.cs: Formatted and moved to
1042 Samples/System.Drawing directory.
1043 * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
1044 Samples/System.Drawing directory.
1045 * hering.cs: Formatted and moved to Samples/General directory.
1046 * BmpPaint.cs: Ficed, formatted and moved to
1047 Samples/System.Drawing directory.
1048 * font1.cs: Formatted and renamed to font.cs. Moved to
1049 Samples/System.Drawing directory.
1051 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
1053 * TestBitmap.cs: Corrected issues from my previous checkin.
1055 2004-06-10 Sanjay Gupta <gsanjay@novell.com>
1057 * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
1058 dependency on obsolete class, Assertion from NUnit.
1060 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1062 * TestImageConverter.cs: Removed dependency on obsolete class,
1063 Assertion from NUnit.
1065 2004-06-09 Sanjay Gupta <gsanjay@novell.com>
1067 * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
1068 dependency on obsolete class, Assertion from NUnit.
1070 2004-05-27 Ravindra <rkumar@novell.com>
1072 * TestRectangleConverter.cs: Ignored the test that is failing
1073 because of bug #58435.
1074 * TestPointConverter.cs: Same.
1075 * TestSizeConverter.cs: Same.
1076 * TestImageConverter.cs: Same.
1078 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1080 * TestImageFormatConverter.cs: Minor modification. Removed duplicate
1083 2004-05-26 Ravindra <rkumar@novell.com>
1085 * TestColor.cs: Added a test for testing ARGB values for all
1086 the static color properties.
1088 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1090 * TestIcon.cs: Added.
1091 * bitmaps/smiley.ico: Added.
1093 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1095 * TestImageFormatConverter.cs: Fixed issues with test case.
1097 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1099 * TestImageConverter.cs: Fixed issues with test case.
1101 2004-05-18 Sanjay Gupta <gsanjay@novell.com>
1103 * TestIconConverter.cs: Fixed issues with test case.
1105 2004-05-18 Ravindra <rkumar@novell.com>
1107 * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
1108 this under Test/System.Drawing.Drawing2D directory.
1110 2004-05-17 Sanjay Gupta <gsanjay@novell.com>
1112 * TestIconConverter.cs: Added.
1113 * bitmaps/VisualPng.ico: Added
1114 * bitmaps/VisualPng1.ico: Added
1116 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1118 * TestBitmap.cs: Modified method signature to static to be used in other file.
1119 * TestImageConverter.cs: Added.
1120 * TestImageFormatConverter.cs: Added
1122 2004-05-12 Jordi Mas <jordi@ximan.com>
1123 * TestBitmap.cs: added lockbitmap tests
1125 2004-05-07 Jordi Mas <jordi@ximan.com>
1126 * TestBitmap.cs: added rotation tests
1128 2004-04-23 Ravindra <rkumar@novell.com>
1130 * TestSystemPens.cs: Removed some unused exception variables.
1131 * TestRectangleConverter.cs: Removed culture dependent tests.
1132 * TestPointConverter.cs: Removed culture dependent tests.
1133 * TestSizeConverter.cs: Removed culture dependent tests.
1134 (These tests were not right because a constant culture specific string
1135 was being parsed by using current culture of the thread. It resulted in
1136 test failures when cultures do not match.)
1138 2004-04-22 Ravindra <rkumar@novell.com>
1140 * TestPointConverter.cs: Added.
1141 * TestSizeConverter.cs: Added.
1143 2004-04-22 Ravindra <rkumar@novell.com>
1145 * TestRectangleConverter.cs: Added.
1147 2004-04-21 Ravindra <rkumar@novell.com>
1149 * TestPens.cs: Added.
1151 2004-04-21 Ravindra <rkumar@novell.com>
1153 * TestBrushes.cs: Added.
1155 2004-04-16 Ravindra <rkumar@novell.com>
1157 * TestSystemPens.cs: Added.
1159 2004-03-13 Ravindra <rkumar@novell.com>
1161 * TestSystemBrushes.cs: Added test fail conditions.
1163 2004-03-12 Ravindra <rkumar@novell.com>
1165 * TestSystemBrushes.cs: Added.
1167 2004-03-17 Ravindra <rkumar@novell.com>
1168 * TestHatchBrush.cs: Added.
1170 2004-01-26 Ravindra <rkumar@novell.com>
1171 * TestPointF.cs: Added.
1172 * TestSize.cs: Added.
1175 2004-01-16 Ravindra <rkumar@novell.com>
1176 * BmpPaint.cs did not run on .NET.
1177 Modified to make it run on .NET. Specs say
1178 "Do not save an image to the same stream
1179 that was used to construct the image."
1181 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
1182 * BmpPaint.cs modified
1184 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
1185 * hering.cs save as Jpeg also
1187 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
1190 2003-06-17 Alexandre Pigolkine <pigolkine@gmx.de>
1193 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
1194 * BmpPaint.cs ImageFormat specified for Save()
1197 2003-06-06 Alexandre Pigolkine <pigolkine@gmx.de>
1200 2001-10-31 Mike Kestner <mkestner@speakeasy.net>
1202 * TestPoint.cs : Tests I've had in my node forever.