Commit Graph
25 Commits
Author SHA1 Message Date
Sebastien Pouliot bf17ee5e26 2008-12-23 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs, LinearGradientBrushTest.cs, TestMatrix.cs:
	Add delta when comparing floating point values since there can be
	small differences between different platforms.


svn path=/trunk/mcs/; revision=122052
2008-12-23 20:10:57 +00:00
Atsushi Eno f463d48ab1 2008-12-10 Atsushi Enomoto <[email protected]>
* TestGraphics.cs, GDIPlusTest.cs : fix tests wrt rounding that
	  were failing on .NET too (exposed by nunit24).

	* LinearGradientBrushTest.cs, GraphicsPathTest.cs,
	  TestMatrix.cs : fix tests wrt rounding that were failing on .NET
	  too (exposed by nunit24).


svn path=/trunk/mcs/; revision=121182
2008-12-10 02:06:14 +00:00
Sebastien Pouliot 139627fce1 2008-09-03 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Add unit test to check for an open curve
	points.


svn path=/trunk/mcs/; revision=112178
2008-09-03 12:48:57 +00:00
Sebastien Pouliot 8db83f99b4 2008-09-02 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Add a bunch of unit tests to check when 
	points can be compressed (removed) when adding shapes to a path.


svn path=/trunk/mcs/; revision=112123
2008-09-02 21:30:56 +00:00
Sebastien Pouliot 6f7a5af5d5 2008-08-04 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Add test case for "half" closed paths.
	[Bug #413461]


svn path=/trunk/mcs/; revision=109573
2008-08-04 14:28:41 +00:00
Sebastien Pouliot d1af9e6aaf 2007-10-30 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added IsVisible test cases on ellipses 
	(#325502)


svn path=/trunk/mcs/; revision=88484
2007-10-30 17:48:55 +00:00
Sebastien Pouliot 61b16f6ebe 2007-07-31 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added more test cases for Reverse based on the
	C test cases provided in #81859.

2007-07-30  Sebastien Pouliot  <[email protected]>


svn path=/trunk/mcs/; revision=83090
2007-07-31 15:10:01 +00:00
Sebastien Pouliot e4dba36537 2007-07-05 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added more test cases for Reverse, the complex
	ones don't work yet (see #81859).


svn path=/trunk/mcs/; revision=81431
2007-07-05 19:59:05 +00:00
Sebastien Pouliot bfd4995139 2006-09-26 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added test case for Reverse (and found out that
	the types aren't reversed, only the points are).


svn path=/trunk/mcs/; revision=66096
2006-09-29 18:28:36 +00:00
Sebastien Pouliot 257afe4f43 2006-08-16 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Ignore some test cases if we cannot get any 
	font family from GDI+.
	* TestHatchBrush.cs: Ignore some test cases if we cannot get any font
	family from GDI+. Update to NUnit 2.2+ and fix getOutSufix method


svn path=/trunk/mcs/; revision=63810
2006-08-16 13:14:50 +00:00
Sebastien Pouliot 21e6dd6fb3 2006-06-09 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added test cases for IsVisible methods.


svn path=/trunk/mcs/; revision=61595
2006-06-09 12:29:43 +00:00
Sebastien Pouliot b9822c71c7 2006-06-07 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added test cases for IsOutlineVisible methods.


svn path=/trunk/mcs/; revision=61527
2006-06-07 14:00:46 +00:00
Sebastien Pouliot 5b9ceead93 2006-05-24 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Ignore some test cases that aren't implemented 
	in libgdiplus and have different results in MS 1.x/2.0 (or between
	different executions, yuck).


svn path=/trunk/mcs/; revision=61069
2006-05-24 16:13:15 +00:00
Sebastien Pouliot 779e154945 2006-05-08 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added test cases for Widen and Wrap with empty
	path (expected behaviour) and paths that have a single point (stranger
	behaviour). Changed comments on GetBounds_WithPen test case as it will
	probably never work under Mono due to difference in precisions.


svn path=/trunk/mcs/; revision=60418
2006-05-08 19:16:05 +00:00
Sebastien Pouliot 8737db7915 2006-05-05 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added more test cases for GetBounds and found
	out the results are very imprecise when curves are used (hence 
	difficult to test but much easier to implement ;-)


svn path=/trunk/mcs/; revision=60333
2006-05-05 19:46:45 +00:00
Sebastien Pouliot 6f49944438 2006-04-28 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added new test cases for AddCurve and it's 
	different behaviour (in some methods) when only two points are used 
	to define a curve.


svn path=/trunk/mcs/; revision=60040
2006-04-28 15:50:29 +00:00
Sebastien Pouliot bfb32c4d6f 2006-04-27 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Activate two unit tests where we use AddLines
	to add a single point to a path.


svn path=/trunk/mcs/; revision=60004
2006-04-27 18:39:24 +00:00
Sebastien Pouliot afac4f0b2f 2006-04-27 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added new test cases for AddString.


svn path=/trunk/mcs/; revision=59980
2006-04-27 14:25:00 +00:00
Sebastien Pouliot 8395b14e71 GraphicsPathTest.cs: Add test cases for Wrap and Widen (most of them are current 'NotWorking').
svn path=/trunk/mcs/; revision=59648
2006-04-19 15:48:23 +00:00
Sebastien Pouliot e8ca22c75a 2006-03-29 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Add test cases for every Add* method to check 
	their (different) behaviour wrt starting and closing figures in the
	path they are added.


svn path=/trunk/mcs/; revision=58724
2006-03-29 13:39:10 +00:00
Sebastien Pouliot bc0ec0ccda 2006-03-13 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added new test cases for SetMarkers, 
	ClearMarkers, CloseFigure and CloseAllFigures on an empty path.


svn path=/trunk/mcs/; revision=57896
2006-03-13 18:29:05 +00:00
Sebastien Pouliot fe0a9d90d8 2006-01-27 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Removed "NotWorking" from existing Flatten 
	tests and added more test cases (for each type of shape).


svn path=/trunk/mcs/; revision=56170
2006-01-27 16:45:48 +00:00
Sebastien Pouliot 985f63369e 2006-01-16 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added test cases for GetBounds and re-activated
	some parts of the tests that checked bounds (Add* tests).


svn path=/trunk/mcs/; revision=55654
2006-01-16 21:22:40 +00:00
Sebastien Pouliot e74c294221 2006-01-13 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: New. Added multiple test cases to check null
	handling and how the points are generated for the Add* methods.
	* PathDataTest.cs: New. Added clone test case.


svn path=/trunk/mcs/; revision=55544
2006-01-13 20:05:00 +00:00
Sebastien Pouliot ca8e648b85 2006-01-12 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: New. Basic test cases for empty path and 
	cloning.
	* PathDataTest.cs: New. Test cases for PathData.


svn path=/trunk/mcs/; revision=55445
2006-01-12 18:54:36 +00:00