11 Commits
Author SHA1 Message Date
Hugh Bellamy 177fca4917 Fix LinearGradientMode parameter validation to match corefx (#5672) 2017-10-02 16:15:28 +02:00
Frederik Carlier d1be740678 Make System.Drawing unit tests use Assert.Throws instead of [ExpectedException] (#4476)
* Use Assert.Throws<> intstead of ExpectedException

* System.Drawing.Tests: Use Assert.Throws instead of ExpectedException
2017-03-06 18:12:35 +01:00
Sebastien Pouliot e3a9837c8f 2010-07-15 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: Add test case for #537396 (empty rects)


svn path=/trunk/mcs/; revision=160455
2010-07-15 18:40:52 +00:00
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 8e543f769b 2008-11-01 Sebastien Pouliot <[email protected]>
* GraphicsPathIteratorTest.cs: New. Add some (incomplete) unit 
	tests for GraphicsPathIterator. Test cases are mostly to ensure 
	null check compatibility with MS.
	* LinearGradientBrushTest.cs: Add test case when setting null
	on properties.
	* PathGradientBrushTest.cs: Add test case when setting null
	on properties.


svn path=/trunk/mcs/; revision=117628
2008-11-02 00:48:42 +00:00
Sebastien Pouliot 6703d13b66 2006-05-03 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: Added new test case for #78185 (from 
	Bill Holmes).


svn path=/trunk/mcs/; revision=60232
2006-05-03 18:01:36 +00:00
Sebastien Pouliot 77b6fb3468 2006-05-01 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: Added new test case for #78179 (from 
	Bill Holmes).


svn path=/trunk/mcs/; revision=60118
2006-05-01 12:13:19 +00:00
Sebastien Pouliot 5a07802f64 2006-04-20 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: Remove "NonWorking" from many test 
	cases. Added more test cases for non-invertible matrix and to ensure
	all matrix-based transformation are correct.


svn path=/trunk/mcs/; revision=59699
2006-04-20 13:25:09 +00:00
Sebastien Pouliot fdcd73b253 2006-03-30 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: Added a bunch of test cases to check
	for the "initial" matrix of the brush (which we don't set).
	* TestMatrix.cs: Added test cases about matrix identity precision.


svn path=/trunk/mcs/; revision=58789
2006-03-30 15:12:30 +00:00
Sebastien Pouliot ffbc686025 2006-03-22 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: New. Some unit tests (moslty failing).


svn path=/trunk/mcs/; revision=58312
2006-03-22 20:23:17 +00:00