Commit Graph
48 Commits
Author SHA1 Message Date
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
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 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 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 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 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
Boris Kirzner 6960f6fa80 Marked not working tests for TARGET_JVM.
svn path=/trunk/mcs/; revision=65575
2006-09-18 13:05:51 +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 46e97caece 2006-06-01 Sebastien Pouliot <[email protected]>
* TestHatchBrush.cs: Some were surprisingly similar until...


svn path=/trunk/mcs/; revision=61385
2006-06-01 20:23:22 +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 9ca0a34bbf 2006-05-09 Sebastien Pouliot <[email protected]>
* PathGradientBrushTest.cs: New. Unit tests (mostly) based on the test
	cases created for LinearGradientBrush.


svn path=/trunk/mcs/; revision=60474
2006-05-09 21:19:23 +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 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 42046e1e75 2006-04-28 Sebastien Pouliot <[email protected]>
* TestColorBlend.cs: Added new test cases to verify if the TODO were
	still valid. Updated existing test cases to nunit 2.2 api.

svn path=/trunk/mcs/; revision=60051
2006-04-28 18:52:55 +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 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 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 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 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 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 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
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 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
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
Ravindra d395910e3f * HatchBrush.cs: Added missing test cases for all the hatch styles.
svn path=/trunk/mcs/; revision=28765
2004-06-03 12:36:51 +00:00
Ravindra 99afc6c7d1 * TestHatchBrush.cs: Added a test case for HatchBrush.cs.
* TestBlend.cs: dos2unix format and namespace changed to
	MonoTests.System.Drawing.Drawing2D.
	* TestColorBlend.cs: dos2unix format and namespace changed to
	MonoTests.System.Drawing.Drawing2D.

svn path=/trunk/mcs/; revision=27566
2004-05-18 06:09:33 +00:00
Ravindra d6204022e7 Added tests for Blend.cs and ColorBlend.cs.
svn path=/trunk/mcs/; revision=24227
2004-03-17 14:57:46 +00:00
Ravindra 652a8a575b Added changelog.
svn path=/trunk/mcs/; revision=24226
2004-03-17 14:55:37 +00:00