Commit Graph
492 Commits
Author SHA1 Message Date
Sebastien Pouliot 21287d4719 2009-01-02 Sebastien Pouliot <[email protected]>
* TestBitmap.cs: Add test cases for SetResolution


svn path=/trunk/mcs/; revision=122355
2009-01-02 21:31:04 +00:00
Sebastien Pouliot 29533acdff 2009-01-02 Sebastien Pouliot <[email protected]>
* PenTest.cs: Fix test case not to use a color that is "destroyed" 
	by another unit test. The nunit update changed the order in which 
	the test cases are executed.


svn path=/trunk/mcs/; revision=122341
2009-01-02 16:07:12 +00:00
Sebastien Pouliot e29ace8e98 2008-12-23 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Add MeasureCharacterRanges test cases around bug
	#449971 and add a few delta for FP comparison.
	* TestGraphics.cs: Add a few delta for FP comparison.


svn path=/trunk/mcs/; revision=122060
2008-12-23 21:11:13 +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
Miguel de Icaza 8e07acf772 Multiple files:
Deals with the extension to Environment.OSVersion.Platform that might return a new
value MacOSX (6) on .NET
 

svn path=/trunk/mcs/; revision=121711
2008-12-17 17:56:25 +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 06846be145 2008-11-01 Sebastien Pouliot <[email protected]>
* TestFont.cs: Add test cases for null checks to ensure we match
	MS behavior.


svn path=/trunk/mcs/; revision=117629
2008-11-02 00:50:18 +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 62a5a3ef51 normalize line endings
svn path=/trunk/mcs/; revision=117618
2008-11-01 19:23:59 +00:00
Zoltan Varga f10ff05fc6 2008-10-08 Zoltan Varga <[email protected]>
* Makefile */Makefile build/profiles/*.make: Rename the 'default'
	profile to 'net_1_1'.

svn path=/trunk/mcs/; revision=115166
2008-10-08 05:58:51 +00:00
Sebastien Pouliot facb079bc0 2008-10-06 Sebastien Pouliot <[email protected]>
* TestColor.cs: Add test case, from Gert Driesen, for bug #410693
	* TestRectangleF.cs: Add test case, from Imie Nazwisko, for bug #431587

svn path=/trunk/mcs/; revision=114972
2008-10-06 17:16:34 +00:00
Sebastien Pouliot 9aa4eb45ae 2008-10-06 Sebastien Pouliot <[email protected]>
* TestRectangleF.cs: Add test case for bug #431587


svn path=/trunk/mcs/; revision=114954
2008-10-06 15:06:44 +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
Gert Driesen d52616b0a7 * TestIcon.cs: Add test case for bug #415581.
* Makefile: Add 415581.ico.
* Icon.cs (InitFromStreamWithSize): Use temp ArrayList for IconDirEntry
to avoid empty slots in array. Use actual index of IconDirEntry in
array when entries have been skipped. Fixes bug #415581.

svn path=/trunk/mcs/; revision=110007
2008-08-08 18:21:51 +00:00
Gert Driesen 1e0e40dce7 * TestIcon.cs: Modified test for bug #410608 to work around bug
#415809.

svn path=/trunk/mcs/; revision=109985
2008-08-08 16:58:46 +00:00
Gert Driesen bf1c5fb516 * TestIcon.cs: Ignore test for bug #410608 on Unix, since it depends
on bug #323511.

svn path=/trunk/mcs/; revision=109880
2008-08-07 17:21:30 +00:00
Gert Driesen 4b3d40e748 * Icon.cs (InitFromStreamWithSize): Move init of iconDir.idCount
and imageData until after the number of entries was determined to
cope with skipping of 256x256 icons. Fixes bug #410608.
* Makefile: Add 323511.ico.
* TestIcon.cs: Add test case for bug #410608.

svn path=/trunk/mcs/; revision=109879
2008-08-07 16:58:15 +00:00
Sebastien Pouliot ecb99b894a 2008-08-06 Sebastien Pouliot <[email protected]>
* FrameDimensionTest.cs: New. Unit tests for FrameDimension


svn path=/trunk/mcs/; revision=109812
2008-08-07 00:19:00 +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 e6b41d017e 2008-07-07 Sebastien Pouliot <[email protected]>
* TestBitmap.cs: Add test case for #406763 and similar cases.


svn path=/trunk/mcs/; revision=107384
2008-07-07 14:01:18 +00:00
Sebastien Pouliot 1da5af68db 2008-06-27 Sebastien Pouliot <[email protected]>
* TestRegion.cs: Add test case for #402613 to verify Exclude.
	Based on Jan Krajicek's code supplied inside the bug report.


svn path=/trunk/mcs/; revision=106769
2008-06-27 19:56:07 +00:00
Ivan Zlatev 2ff5d37631 2008-06-27 Ivan N. Zlatev <[email protected]>
* SizeConverter.cs: Fallback to CultureInfo.CurrentCulture 
	if supplied culture is null.
	* PointConverter.cs: Fallback to CultureInfo.CurrentCulture 
	if supplied culture is null.
	* Add tests accordingly


svn path=/trunk/mcs/; revision=106717
2008-06-27 01:26:33 +00:00
Roei Erez 63efa45540 TARGET_JVM bugs
10576 - Problem with GDI fonts.
10599 - Problem with Graphics.DrawString() with StringFormat
10600 - Problem with Graphics.DrawPath()

svn path=/trunk/mcs/; revision=105890
2008-06-16 11:25:22 +00:00
Noam Lampert 5a43e30bfa Remove all vmwcproj files from old Grasshopper version
svn path=/trunk/mcs/; revision=104227
2008-05-28 09:28:24 +00:00
Roei Erez da0bb8f9b0 fix test for NET_2_0
svn path=/trunk/mcs/; revision=103277
2008-05-15 14:03:17 +00:00
Sebastien Pouliot fd81c8570a 2008-04-25 Sebastien Pouliot <[email protected]>
* TestRegion.cs: Add test cases for #383878 to verify Intersect
	with negative width & height and to check against the crash in
	Complement.


svn path=/trunk/mcs/; revision=101880
2008-04-25 20:46:01 +00:00
Noam Lampert 9c09b8c9e0 Fix for Java compilation:
1. Upgrade to VS 2008 project files
2. Remove one test that uses java-non-supported handles.

svn path=/trunk/mcs/; revision=100542
2008-04-13 08:34:11 +00:00
Ivan Zlatev 1617834754 2008-03-28 Ivan N. Zlatev <[email protected]>
* IconConverter.cs: Convert null to "(none)".
	* TestIconConverter.cs: Add a test.


svn path=/trunk/mcs/; revision=99244
2008-03-28 20:59:51 +00:00
Sebastien Pouliot a822c2ef08 2008-03-03 Sebastien Pouliot <[email protected]>
* TestIcon.cs: Add test case for #366485.


svn path=/trunk/mcs/; revision=97201
2008-03-03 18:08:56 +00:00
Gert Driesen aeb423b222 * TestGraphics.cs: Added test for bug #355141.
svn path=/trunk/mcs/; revision=93492
2008-01-22 09:51:47 +00:00
Sebastien Pouliot fc8fa03f7b 2008-01-13 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Don't use internal Unit enum anymore.


svn path=/trunk/mcs/; revision=92811
2008-01-13 17:48:31 +00:00
Sebastien Pouliot 79884b099e 2008-01-08 Sebastien Pouliot <[email protected]>
* TestFont.cs: Add test case for GetHashCode from Jonathan Pobst
	for bug #351647


svn path=/trunk/mcs/; revision=92451
2008-01-08 13:54:17 +00:00
Sebastien Pouliot a281e5ad9c 2007-12-19 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Add test case on TransformPoints for #349800.


svn path=/trunk/mcs/; revision=91635
2007-12-19 16:23:09 +00:00
Atsushi Eno 0ca5485d9a 2007-12-17 Atsushi Enomoto <[email protected]>
* GDIPlusTest.cs : fix test build.


svn path=/trunk/mcs/; revision=91403
2007-12-17 07:46:50 +00:00
Sebastien Pouliot c9d3e9cd45 2007-11-12 Sebastien Pouliot <[email protected]>
* ColorTranslator.cs: Add test case for #340917 (LightGrey).


svn path=/trunk/mcs/; revision=89462
2007-11-12 14:34:56 +00:00
Sebastien Pouliot 17755c3ff8 2007-11-06 Sebastien Pouliot <[email protected]>
* TestBitmap.cs: XML serialization test case (#323246).
	* TestImage.cs: XML serialization test case (#323246).


svn path=/trunk/mcs/; revision=88973
2007-11-06 13:46:52 +00:00
Sebastien Pouliot 5cef71746d In Test/System.Drawing:
2007-11-05  Sebastien Pouliot  <[email protected]> 

	* Image.cs: Add test cases for the stream position when loading and
	saving bitmaps and metafiles. Some of them are based on Gert Driesen
	samples in #338779

In System.Drawing.Imaging:
2007-11-05  Sebastien Pouliot  <[email protected]> 

	* Metafile.cs: Stream position is not moved for metafiles.

In System.Drawing:
2007-11-05  Sebastien Pouliot  <[email protected]>

	* gdipFunctions.cs: Add a bool parameter to GdiPlusStreamHelper ctor
	to move, or not, the stream position to load/save images.
	* Image.cs: Stream position is moved to 0 when loading images from 
	stream but isn't moved for saving an image to a stream. Fix part of
	#338779 (except that Image.FromFile behave differently for metafiles)


svn path=/trunk/mcs/; revision=88916
2007-11-05 21:11:32 +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 346a054b25 2007-10-17 Sebastien Pouliot <[email protected]>
* HostIgnoreList.cs: Now use the DISTRO variable to track tests to
	ignore.


svn path=/trunk/mcs/; revision=87729
2007-10-18 01:40:15 +00:00
Konstantin Triger 21391a1c24 TARGET_JVM: ignore failing test
svn path=/trunk/mcs/; revision=84037
2007-08-14 09:23:44 +00:00
Sebastien Pouliot 7f23291725 2007-08-13 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Test against NRE in MultiplyTransform


svn path=/trunk/mcs/; revision=83976
2007-08-13 17:36:49 +00:00
Sebastien Pouliot ee699fd0a3 2007-08-02 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
	now that #81572 is fixed.


svn path=/trunk/mcs/; revision=83283
2007-08-02 14:43:58 +00:00
Sebastien Pouliot 873309b96f 2007-08-01 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Add test case for GdipCloneFontFamily


svn path=/trunk/mcs/; revision=83231
2007-08-01 18:06:36 +00:00
Vladimir Krasnov cfcc597eee * TestImageAttributes.cs: ImageAttributes tests ignored in TARGET_JVM since not ImageAttributes supported
* TestJpegCodec.cs: Bitmap8bbpIndexedGreyscalePixels is not working in GH

svn path=/trunk/mcs/; revision=83172
2007-08-01 12:28:46 +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 fea7997a53 2007-07-30 Sebastien Pouliot <[email protected]>
* TextureBrushTest.cs: Added test cases for textures using alpha 
	values (fix #81828).


svn path=/trunk/mcs/; revision=82999
2007-07-30 15:35:46 +00:00
Sebastien Pouliot cc8f5dc7d8 TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
svn path=/trunk/mcs/; revision=82981
2007-07-30 13:17:43 +00:00
Noam Lampert fc3059beb1 Fixes for TARGET_JMV compilation
svn path=/trunk/mcs/; revision=82925
2007-07-29 10:51:10 +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