13 Commits
Author SHA1 Message Date
Frederik Carlier 3ad43b66e7 RFI - Support building System.Drawing for NETCOREAPP2.0 (#4483) 2017-03-07 11:26:38 +01: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
Atsushi Eno c36e34c3bd 2009-08-28 Atsushi Enomoto <[email protected]>
* TestBlend.cs, TestMatrix.cs : nunit test upgrade to modern style.


svn path=/trunk/mcs/; revision=140869
2009-08-28 10:28:08 +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 2ab1701e7f 2007-03-30 Sebastien Pouliot <[email protected]>
* TestMatrix.cs: Allow a small delta when comparing floats. This 
	allows the ARM to work properly (e.g. -9.999995 versus -10).


svn path=/trunk/mcs/; revision=75195
2007-03-30 13:37:27 +00:00
Sebastien Pouliot 33c1f6081f TestMatrix.cs: Added new test cases for contructors accepting rectangles and points.
svn path=/trunk/mcs/; revision=59316
2006-04-10 18:42:44 +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 a1612c1735 2006-03-28 Sebastien Pouliot <[email protected]>
* TestMatrix.cs: Added new test cases.


svn path=/trunk/mcs/; revision=58674
2006-03-28 20:29:15 +00:00
Sebastien Pouliot b58374d9ca TestMatrix.cs: Added new test cases to test libgdiplus validations.
svn path=/trunk/mcs/; revision=57968
2006-03-14 18:13:45 +00:00
Sebastien Pouliot d32ce12514 2005-09-16 Sebastien Pouliot <[email protected]>
* TestBlend.cs, TestColorBlend.cs, TestHatchBrush.cs, TestMatrix.cs:
	Deny UnmanagedCode permission to all tests. This shows (when executed 
	under MS runtime) that S.D API is safe and doesn't requires high 
	privileges to run - even if we know that, deep down, this calls into 
	GDI+.


svn path=/trunk/mcs/; revision=50144
2005-09-16 12:48:44 +00:00
Jordi Mas i Hernandez cbdbaf5533 2005-08-25 Jordi Mas i Hernandez <[email protected]>
* TestMatrix.cs: New test cases
	

svn path=/trunk/mcs/; revision=48828
2005-08-25 12:00:02 +00:00
Jordi Mas i Hernandez a4d739e450 2005-08-24 Jordi Mas i Hernandez <[email protected]>
* TestMatrix.cs: New Matrix unit case


svn path=/trunk/mcs/; revision=48781
2005-08-24 15:05:47 +00:00