Commit Graph
462 Commits
Author SHA1 Message Date
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
Sebastien Pouliot 70d8ce23b3 2007-07-05 Sebastien Pouliot <[email protected]>
* TestImageAttributes.cs: More complete test for small versus big 
	alpha uses in matrices.


svn path=/trunk/mcs/; revision=81429
2007-07-05 19:43:54 +00:00
Sebastien Pouliot de7e3ee39f 2007-07-03 Sebastien Pouliot <[email protected]>
* RegionNonRectTest.cs: Add test cases for combining empty paths and 
	regions with infinite regions.


svn path=/trunk/mcs/; revision=81251
2007-07-03 12:54:40 +00:00
Sebastien Pouliot 37a0a0e399 2007-07-03 Sebastien Pouliot <[email protected]>
* MarginsTest.cs: Remove operator tests before 2.0. Fix bots failures.


svn path=/trunk/mcs/; revision=81249
2007-07-03 12:40:41 +00:00
Sebastien Pouliot 503ae26b37 2007-06-21 Sebastien Pouliot <[email protected]>
* TestImageAttributes.cs: Add test case for big alpha value used in
	a ColorMatrix.


svn path=/trunk/mcs/; revision=80508
2007-06-21 18:35:02 +00:00
Sebastien Pouliot 9bfb7857ba 2007-06-21 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)


svn path=/trunk/mcs/; revision=80467
2007-06-21 13:11:37 +00:00
Noam Lampert c1c62c357e Fix rt reference
svn path=/trunk/mcs/; revision=78494
2007-06-03 10:52:15 +00:00
Sebastien Pouliot 84aabda854 normalize line endings
svn path=/trunk/mcs/; revision=78333
2007-05-31 14:02:29 +00:00
Sebastien Pouliot b4e66ba8a3 2007-05-30 Sebastien Pouliot <[email protected]>
* Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal] 
	methods. Add test case for drawing lines with a pen's width > 1.


svn path=/trunk/mcs/; revision=78287
2007-05-31 01:16:49 +00:00
Sebastien Pouliot 31f98f57d2 2007-05-30 Sebastien Pouliot <[email protected]>
* GifCodecTest.cs: Add test case for interlaced GIF

svn path=/trunk/mcs/; revision=78210
2007-05-30 13:53:59 +00:00
Sebastien Pouliot 5725672deb Add test case for interlaced GIF
svn path=/trunk/mcs/; revision=78206
2007-05-30 13:36:08 +00:00
Sebastien Pouliot cbcd22977c 2007-05-30 Sebastien Pouliot <[email protected]>
* TestImageAttributes.cs: Add test cases for ColorMatrixFlags and for
	Gray ColorMatrix uses.


svn path=/trunk/mcs/; revision=78196
2007-05-30 12:07:29 +00:00
Sebastien Pouliot 63fc401a04 2007-05-29 Sebastien Pouliot <[email protected]>
* MarginsTest.cs: New. Unit tests for Margins.


svn path=/trunk/mcs/; revision=78136
2007-05-29 15:15:28 +00:00
Sebastien Pouliot 88ecaf21db 2007-05-28 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
	* TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
	the saved bitmap (used for debugging).


svn path=/trunk/mcs/; revision=78090
2007-05-28 20:34:26 +00:00
Sebastien Pouliot af88d9c9aa 2007-05-28 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)


svn path=/trunk/mcs/; revision=78080
2007-05-28 17:21:07 +00:00
Sebastien Pouliot e2ee59e0f5 2007-05-25 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
	cases as it's not supported in libgdiplus.


svn path=/trunk/mcs/; revision=77962
2007-05-25 18:32:05 +00:00
Sebastien Pouliot 71e2932c7e 2007-05-24 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Add test cases for DrawImage overloads accepting
	Point or PointF arrays as destination points.


svn path=/trunk/mcs/; revision=77930
2007-05-24 21:07:44 +00:00
Sebastien Pouliot f37eb5c1c5 2007-05-24 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Add test cases for the normal behaviour of 
	FillRectangles.


svn path=/trunk/mcs/; revision=77908
2007-05-24 12:56:18 +00:00
Sebastien Pouliot 8bb2049ee4 2bpp PNG test file
svn path=/trunk/mcs/; revision=77852
2007-05-23 17:02:21 +00:00
Sebastien Pouliot 6c6777aa7c 2007-05-23 Sebastien Pouliot <[email protected]>
* PngCodecTest.cs: Add test cases for 2bpp PNG images. Add some 
	palette assertions in 1bpp and 4bpp test cases.


svn path=/trunk/mcs/; revision=77851
2007-05-23 17:01:38 +00:00
Sebastien Pouliot 8e0a5a8e06 2007-05-22 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
	NULL. This match MS behavior as seen in (unfixed) bug #81709.


svn path=/trunk/mcs/; revision=77816
2007-05-22 21:27:50 +00:00
Sebastien Pouliot b54957098c 2007-05-18 Sebastien Pouliot <[email protected]>
* TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
	pointer correctly in 64bits architectures. Thanks to Zoltan.


svn path=/trunk/mcs/; revision=77644
2007-05-18 14:32:40 +00:00
Sebastien Pouliot 5142868e70 2007-05-17 Sebastien Pouliot <[email protected]>
* MetafileTest.cs: Ignore test Measure if no fonts are available.


svn path=/trunk/mcs/; revision=77592
2007-05-17 18:58:31 +00:00
Sebastien Pouliot edb8276636 2007-05-17 Sebastien Pouliot <[email protected]>
* MetafileTest.cs: Add a few test cases on what happens when recording
	metafiles.


svn path=/trunk/mcs/; revision=77551
2007-05-17 12:53:49 +00:00
Sebastien Pouliot 9c1a165623 2007-05-15 Sebastien Pouliot <[email protected]>
* GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and 
	GdipDrawImageRectRect (GraphicsUnit).
	* TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
	DrawImageUnscaledAndClipped (2.0).
	* TestRectangle.cs: Add test cases for negative width/height. Fix some
	test cases that were using RectangleF instead of Rectangle.
	* TestRectangleF.cs: Add test cases for negative width/height.


svn path=/trunk/mcs/; revision=77436
2007-05-15 20:16:00 +00:00
Everaldo Canuto 00bc0c5e4c 2007-05-08 Everaldo Canuto <[email protected]>
* TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
	it is a reproduction of bug #81572 that checks width for multiline
	string measurement.


svn path=/trunk/mcs/; revision=76976
2007-05-09 01:50:01 +00:00
Sebastien Pouliot 1b565bcea2 TestJpegCodec.cs: Add test cases for 8bpp indexed greyscale JPEG
svn path=/trunk/mcs/; revision=76939
2007-05-08 15:14:16 +00:00
Sebastien Pouliot 1cdf5f0023 New. 8bpp index greyscale JPEG file.
svn path=/trunk/mcs/; revision=76934
2007-05-08 14:41:05 +00:00
Sebastien Pouliot 8cdd3143ae 2007-05-03 Sebastien Pouliot <[email protected]>
* PrintingServicesUnixTest.cs: New. Test case to make sure libgdiplus
	was compiled with printing support.


svn path=/trunk/mcs/; revision=76635
2007-05-03 18:42:58 +00:00
Sebastien Pouliot b69c5cdc0e 2007-05-02 Sebastien Pouliot <[email protected]>
* TestColor.cs: Under Windows ensure we're getting the same values for
	the desktop colors.


svn path=/trunk/mcs/; revision=76584
2007-05-02 18:30:40 +00:00
Konstantin Triger 74d892f134 do not throw on unknown color
svn path=/trunk/mcs/; revision=76452
2007-04-29 12:02:13 +00:00