Commit Graph
462 Commits
Author SHA1 Message Date
Sebastien Pouliot 1070237f5c 2006-08-11 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Added one more case for GdipGetLogFont.
	* TestFont.cs: Added more test cases for ToLogFont including one that
	shows that LOGFONT only works properly when it's a class (not a struct)


svn path=/trunk/mcs/; revision=63642
2006-08-11 14:15:06 +00:00
Sebastien Pouliot 519de88ce0 2006-08-10 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Add more test cases for GraphicsPath and 
	PathGradientBrush to fix unit tests under Windows.
	* RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
	fail when using MS GDI+ (e.g. Mono on Windows).


svn path=/trunk/mcs/; revision=63618
2006-08-10 19:17:07 +00:00
Sebastien Pouliot af89fd777f 2006-08-10 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and 
	Widen) and some new tests for Matrix related GDI+ functions.


svn path=/trunk/mcs/; revision=63596
2006-08-10 15:11:20 +00:00
Sebastien Pouliot 81c96143c2 2006-08-08 Sebastien Pouliot <[email protected]>
* TestRegion.cs: Add test case for excluding a rectangle from an 
	infinite region.


svn path=/trunk/mcs/; revision=63514
2006-08-09 01:06:30 +00:00
Sebastien Pouliot ec8a1271dc 2006-08-07 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Avoid leaking during tests.


svn path=/trunk/mcs/; revision=63442
2006-08-07 17:33:21 +00:00
Sebastien Pouliot 4346c46e3e 2006-08-05 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+ 
	functions.


svn path=/trunk/mcs/; revision=63399
2006-08-05 23:08:06 +00:00
Sebastien Pouliot 836efbf67f 2006-08-04 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
	Pen related GDI+ calls.

svn path=/trunk/mcs/; revision=63360
2006-08-04 14:31:45 +00:00
Sebastien Pouliot 0a84ee1340 2006-08-04 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush
	related GDI+ calls.

svn path=/trunk/mcs/; revision=63356
2006-08-04 13:29:53 +00:00
Sebastien Pouliot e72627cce3 2006-08-04 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Some test cases for GraphicsPath related GDI+ calls.
 

svn path=/trunk/mcs/; revision=63353
2006-08-04 12:58:31 +00:00
Sebastien Pouliot 6a8405adb6 2006-08-03 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: More test cases for the GDI+ function calls (which
	fixes some unit test failures seen with Mono running on Windows).


svn path=/trunk/mcs/; revision=63330
2006-08-03 20:46:23 +00:00
Sebastien Pouliot 0517c4a4be 2006-08-03 Sebastien Pouliot <[email protected]>
* TestFont.cs: Remove asserts that are system dependant.


svn path=/trunk/mcs/; revision=63320
2006-08-03 19:27:54 +00:00
Sebastien Pouliot 072420294c 2006-07-20 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.


svn path=/trunk/mcs/; revision=62813
2006-07-20 12:48:24 +00:00
Sebastien Pouliot 883ba628d8 2006-07-19 Sebastien Pouliot <[email protected]>
* TestImageFormat.cs: Added test cases for well known image format
	(which returns a human readable name when the ImageFormat comes from
	the static properties).


svn path=/trunk/mcs/; revision=62782
2006-07-20 01:13:24 +00:00
Sebastien Pouliot 3c51d5de2e 2006-07-06 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
	* TestImage.cs: Added checks to validate that the thumbnail's callback
	is never called.


svn path=/trunk/mcs/; revision=62325
2006-07-06 18:58:06 +00:00
Sebastien Pouliot 7959871d65 2006-07-06 Sebastien Pouliot <[email protected]>
* SolidBrushTest.cs: New test case using DrawLine.


svn path=/trunk/mcs/; revision=62311
2006-07-06 12:11:15 +00:00
Sebastien Pouliot 54a441703a 2006-07-04 Sebastien Pouliot <[email protected]>
* TestImage.cs: Add test cases for GetThumbnailImage.


svn path=/trunk/mcs/; revision=62264
2006-07-05 12:39:53 +00:00
Sebastien Pouliot 2eea105035 2006-06-30 Sebastien Pouliot <[email protected]>
* TestImageAttribute.cs: Fix namespace and split test for easier 
	search of a memory leak.


svn path=/trunk/mcs/; revision=62163
2006-06-30 17:54:08 +00:00
Sebastien Pouliot d7daf70937 2006-06-30 Sebastien Pouliot <[email protected]>
* SolidBrushTest.cs: New. Unit tests for SolidBrush.


svn path=/trunk/mcs/; revision=62161
2006-06-30 17:49:54 +00:00
Sebastien Pouliot b7512a9a8b 2006-06-28 Sebastien Pouliot <[email protected]>
* TestFont.cs: Expanded a test case to check for bug #78721 where the
	LOGFONT structure must be initialized even if the ToLogFont call fails


svn path=/trunk/mcs/; revision=62125
2006-06-28 19:35:18 +00:00
Sebastien Pouliot 0c5bd5605b 2006-06-27 Sebastien Pouliot <[email protected]>
* TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
	add a comment on a commented one (MakeTransparent ;-)


svn path=/trunk/mcs/; revision=62088
2006-06-27 17:55:37 +00:00
Gonzalo Paniagua Javier 621b21e15f 2006-06-12 Gonzalo Paniagua Javier <[email protected]>
* TestBitmap.cs: add test for stride with 1bpp indexed bitmap.


svn path=/trunk/mcs/; revision=61640
2006-06-12 22:51:32 +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
Gonzalo Paniagua Javier c2d794e653 2006-06-02 Gonzalo Paniagua Javier <[email protected]>
* TestColor.cs: added 2 more tests for serialization and enabled one
	that was not working.


svn path=/trunk/mcs/; revision=61427
2006-06-02 22:59:44 +00:00
Gonzalo Paniagua Javier 1716aa3bd5 fix namespace
svn path=/trunk/mcs/; revision=61423
2006-06-02 20:26:49 +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 d556d77584 2006-05-30 Sebastien Pouliot <[email protected]>
* FontFamilyTest.cs: New. Unit tests for FontFamily.
	* TestFont.cs: Added more test cases to Font.


svn path=/trunk/mcs/; revision=61279
2006-05-30 19:01:40 +00:00
Sebastien Pouliot f8022e6c3b 2006-05-29 Sebastien Pouliot <[email protected]>
* TestImageFormat.cs: Added test cases for Equals and GetHashCode.


svn path=/trunk/mcs/; revision=61236
2006-05-29 15:20:24 +00:00
Sebastien Pouliot 45edb34447 2006-05-29 Sebastien Pouliot <[email protected]>
* TestImageFormatConverter.cs: Added test cases for all well known
	ImageFormat short and long names using ConvertFrom.


svn path=/trunk/mcs/; revision=61235
2006-05-29 15:19:32 +00:00
Sebastien Pouliot 2ef5a88b3b 2006-05-26 Sebastien Pouliot <[email protected]>
* TestColor.cs: Added test cases for serialization. Currently we can't
	deserialize Color coming from MS serialization.


svn path=/trunk/mcs/; revision=61161
2006-05-26 11:50:40 +00:00
Sebastien Pouliot b722b4451e 2006-05-25 Sebastien Pouliot <[email protected]>
* TestRegion.cs: Added a new fixture that executes with UnmanagedCode
	permission and test the [Get|From]Hrgn methods.


svn path=/trunk/mcs/; revision=61121
2006-05-25 16:08:54 +00:00
Gert Driesen 9ca7c47da5 * PropertyValueUIItemCas.cs: Fix compilation using csc 1.x.
svn path=/trunk/mcs/; revision=61099
2006-05-25 08:29:35 +00:00
Gonzalo Paniagua Javier f46a82959b 2006-05-24 Gonzalo Paniagua Javier <[email protected]>
* TestBitmap.cs: new tests for the default format and the default file
	type.


svn path=/trunk/mcs/; revision=61095
2006-05-24 23:27:44 +00:00
Sebastien Pouliot 66ad1a4fa3 2006-05-24 Sebastien Pouliot <[email protected]>
* ColorConverter.cs: Split unworking test case from ConvertFrom into
	a separate test case (marked as NotWorking).
	* TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
	probably never tested under Windows (and doesn't work there).
	* TestFontConverter.cs: Split test case for CreateInstance to check 
	for ArgumentException (2.0) or NullReferenceException (1.x).
	* TestPointConverter.cs: Split test case for CreateInstance to check 
	for ArgumentException (2.0) or NullReferenceException (1.x).
	* TestRectangleConverter.cs: Split test case for CreateInstance to 
	check for ArgumentException (2.0) or NullReferenceException (1.x).
	* TestSizeConverter.cs: Split test case for CreateInstance to check 
	for ArgumentException (2.0) or NullReferenceException (1.x).
	* TestSizeFConverter.cs: Add/split test cases for CreateInstance to
	check for InvalidCastException and NullReferenceException.
	* TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
	Empty and SizeF(0,0) don't share the same hash code.


svn path=/trunk/mcs/; revision=61088
2006-05-24 21:31:30 +00:00
Sebastien Pouliot 99defeeafa 2006-05-24 Sebastien Pouliot <[email protected]>
* TestImageFormat.cs: Update ToString expected outputs to match MS.


svn path=/trunk/mcs/; revision=61081
2006-05-24 20:12:55 +00:00
Sebastien Pouliot 2be54fed12 2006-05-24 Sebastien Pouliot <[email protected]>
* TestToolboxItem.cs: Update ComponentType check to work under MS 2.0.


svn path=/trunk/mcs/; revision=61079
2006-05-24 19:58:19 +00:00
Sebastien Pouliot c07e466a34 2006-05-24 Sebastien Pouliot <[email protected]>
* TestImageConverter.cs: Adjust test cases as there is an additional
	properties under 2.0.
	* TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)


svn path=/trunk/mcs/; revision=61070
2006-05-24 16:15:16 +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 7634c71b50 2006-05-24 Sebastien Pouliot <[email protected]>
* PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
	* TestFont.cs: Fix tests under Windows (CAS related);
	* TestGraphics.cs: Fix and add more test cases for FillRectangles.


svn path=/trunk/mcs/; revision=61065
2006-05-24 15:18:17 +00:00
Sebastien Pouliot 10f92e9a4e 2006-05-24 Sebastien Pouliot <[email protected]>
* PenTest.cs: Added a test case where the brush supplied to the .ctor 
	is disposed before the pen is used. Based on a sample from Paddy joy.


svn path=/trunk/mcs/; revision=61049
2006-05-24 12:34:26 +00:00
Gonzalo Paniagua Javier b3af6df1b1 add this back
svn path=/trunk/mcs/; revision=60806
2006-05-17 20:09:39 +00:00
Sebastien Pouliot 2e8e800a24 2006-05-17 Sebastien Pouliot <[email protected]>
* PenTest.cs: New. Unit tests for Pen.


svn path=/trunk/mcs/; revision=60804
2006-05-17 20:03:15 +00:00
Gonzalo Paniagua Javier a071c8ed73 2006-05-17 Gonzalo Paniagua Javier <[email protected]>
* TestBmpCodec.cs: Bitmap24bitFeatures works now.


svn path=/trunk/mcs/; revision=60779
2006-05-17 14:33:13 +00:00
Gonzalo Paniagua Javier ca77e496f4 fix typo
svn path=/trunk/mcs/; revision=60778
2006-05-17 14:32:11 +00:00
Atsushi Eno 0e76f88aa8 2006-05-15 Atsushi Enomoto <[email protected]>
* Graphics.cs : (FillRectangles/FillRectanglesI): when argument
	  array is empty, don't invoke GDI+. Fixed bug #78408.

	* TestGraphics.cs : added test for bug #78408 (FillRectangles).



svn path=/trunk/mcs/; revision=60723
2006-05-15 20:30:00 +00:00
Sebastien Pouliot 729c78d81f 2006-05-12 Sebastien Pouliot <[email protected]>
* TestRegion.cs: Added a new test case for unioning a rectangle with 
	infinity and a new test case for GetRegionScans.


svn path=/trunk/mcs/; revision=60658
2006-05-12 19:39:34 +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 02790c0ab1 2006-05-04 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Re-introduce the removed check :)	


svn path=/trunk/mcs/; revision=60283
2006-05-04 20:13:22 +00:00