Commit Graph
54 Commits
Author SHA1 Message Date
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
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 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 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 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 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 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 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 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 ad2a62256f 2007-04-26 Sebastien Pouliot <[email protected]>
* MetafileTest.cs: Add test cases for some .ctor(Stream...)


svn path=/trunk/mcs/; revision=76345
2007-04-26 15:45:43 +00:00
Sebastien Pouliot 29c36bd9e6 2007-04-26 Sebastien Pouliot <[email protected]>
* MetafileTest.cs: Add test cases for more .ctors


svn path=/trunk/mcs/; revision=76312
2007-04-26 11:54:06 +00:00
Sebastien Pouliot f142879965 2007-04-16 Sebastien Pouliot <[email protected]>
* GifCodecTest.cs: Fix typo and add Stride check.
	* IconCodecTest.cs: Fix typo.
	* PngCodecTest.cs: Fix typo and add Stride check.
	* TiffCodecTest.cs: Fix typo.


svn path=/trunk/mcs/; revision=75785
2007-04-16 18:20:53 +00:00
Sebastien Pouliot 72504eb20b 2007-04-12 Sebastien Pouliot <[email protected]>
* TestBmpCodec.cs: Reenable some NotWorking test case.
	* TestJpegCodec.cs: Reenable some NotWorking test case.
	* TiffCodecTest.cs: Reenable some NotWorking test case.


svn path=/trunk/mcs/; revision=75642
2007-04-12 13:04:40 +00:00
Sebastien Pouliot d65f4b1d62 Reenable some NotWorking test cases.
svn path=/trunk/mcs/; revision=75608
2007-04-11 13:18:30 +00:00
Sebastien Pouliot f9c8a4fa7f 2007-04-10 Sebastien Pouliot <[email protected]>
* GifCodecTest.cs: Fix Save* test cases to check 8bpp indexed for all
	GIF saved. Added comments to why we're not getting the "right" Red.

svn path=/trunk/mcs/; revision=75591
2007-04-10 21:05:32 +00:00
Sebastien Pouliot 7c560d2e2a 2007-04-10 Sebastien Pouliot <[email protected]>
* TestBmpCodec.cs: Remove "NotWorking" from Bitmap32bitPixels test 
	case. The file is a 32bpp RGB (no alpha).


svn path=/trunk/mcs/; revision=75586
2007-04-10 20:01:34 +00:00
Sebastien Pouliot aa784f4477 2007-03-28 Sebastien Pouliot <[email protected]>
* TiffCodecTest.cs: Ignore both SPARC bots by using the HostIgnoreList
	mechanism.


svn path=/trunk/mcs/; revision=75097
2007-03-28 18:39:42 +00:00
Sebastien Pouliot f0cbf58beb 2007-03-15 Sebastien Pouliot <[email protected]>
* EmfPlusRecordTypeTest.cs: New. Unit tests.
	* TestColorMatrix.cs: Added some test case and reworked existing to
	fix expected/actual results and add test descriptions (which should 
	help find where the endian issue is hiding).


svn path=/trunk/mcs/; revision=74414
2007-03-15 19:20:29 +00:00
Sebastien Pouliot 92ceb72fec 2007-03-14 Sebastien Pouliot <[email protected]>
* GifCodecTest.cs: Add test cases for a GIF87a image - which is the 
	format that GDI+ save GIF files (even if the original was a GIF89a).


svn path=/trunk/mcs/; revision=74253
2007-03-14 13:11:50 +00:00
Sebastien Pouliot 8c56848e41 2007-03-09 Sebastien Pouliot <[email protected]>
* MetafileTest.cs: New. Metafile unit tests.


svn path=/trunk/mcs/; revision=74024
2007-03-09 19:38:14 +00:00
Sebastien Pouliot 1a62c35161 2007-02-16 Sebastien Pouliot <[email protected]>
* TestImageCodecInfo.cs: Add missing test case for TIFF codec;


svn path=/trunk/mcs/; revision=73013
2007-02-16 14:15:16 +00:00
Sebastien Pouliot b32296b716 2007-02-08 Sebastien Pouliot <[email protected]>
* TestBmpCodec.cs: Add test case for non-inverted bitmaps #80751


svn path=/trunk/mcs/; revision=72480
2007-02-08 15:40:02 +00:00
Sebastien Pouliot a6bd0b95e7 2007-01-15 Sebastien Pouliot <[email protected]>
* IconCodecTest.cs: New test case to check 32bpp (XP) icons.


svn path=/trunk/mcs/; revision=71058
2007-01-15 16:21:28 +00:00
Sebastien Pouliot 15976e275d 2007-01-11 Sebastien Pouliot <[email protected]>
* IconCodecTest.cs: New test case to check loading from an Icon then
	create a Bitmap from the Image. Some properties are changed in the
	process (e.g. palette, flags).


svn path=/trunk/mcs/; revision=70876
2007-01-11 18:25:58 +00:00
Sebastien Pouliot 6188730d09 2007-01-10 Sebastien Pouliot <[email protected]>
* IconCodecTest.cs: Add test cases for 48x48, 64x64 and 96x96 icons.
	Fix test cases for 16x16 and 32x32 icons. Add test cases for 256 
	colors and monochrome icons. Remove NotWorking from most tests.


svn path=/trunk/mcs/; revision=70815
2007-01-10 21:22:18 +00:00
Sebastien Pouliot 5002050afd 2007-01-08 Sebastien Pouliot <[email protected]>
* IconCodecTest.cs: Remove [Ignore] and replace with NotWorking.
	* TestImageCodecInfo.cs: Add test for new encoders/decoders and 
	signature masks and patterns.


svn path=/trunk/mcs/; revision=70675
2007-01-08 20:59:22 +00:00
Sebastien Pouliot e9fb3c8bfb TestImageAttributes.cs: Added test cases for #80323 for ColorMatrix using alpha values (with or without an original alpha-based color).
svn path=/trunk/mcs/; revision=69903
2006-12-21 21:07:55 +00:00
Sebastien Pouliot 532b2315b8 2006-10-31 Sebastien Pouliot <[email protected]>
* MetaHeaderTest.cs: New. Unit tests for MetaHeader.
	* WmfPlaceableFileHeaderTest.cs: New. Unit tests for 
	WmfPlaceableFileHeader.


svn path=/trunk/mcs/; revision=67180
2006-10-31 15:30:05 +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 b60da0da8e 2006-09-16 Sebastien Pouliot <[email protected]>
* GifCodecTest.cs: Change filename for Save to ease debugging. 
	* IconCodecTest.cs: Change filename for Save to ease debugging. 
	* PngCodecTest.cs: Change filename for Save to ease debugging. Change
	color from Red to BlueViolet for lossless formats.
	* TestBmpCodec.cs: Change filename for Save to ease debugging. Change
	color from Red to BlueViolet for lossless formats. 
	* TestJpegCodec.cs: Change filename for Save to ease debugging.
	* TiffCodecTest.cs: Change filename for Save to ease debugging. Change
	color from Red to BlueViolet for lossless formats.


svn path=/trunk/mcs/; revision=65510
2006-09-16 14:29:57 +00:00
Sebastien Pouliot 978ff9a11c 2006-09-15 Sebastien Pouliot <[email protected]>
* GifCodecTest.cs, IconCodecTest.cs, PngCodecTest.cs, TestBmpCodec.cs,
	  TestJpegCodec.cs, TiffCodecTest.cs: Refactor Save test case to check
	convertions between pixel formats.


svn path=/trunk/mcs/; revision=65449
2006-09-15 13:08:02 +00:00
Boris Kirzner 51ccd8d65c Fixes for TARGET_JVM tests.
svn path=/trunk/mcs/; revision=65276
2006-09-12 08:56:26 +00:00
Sebastien Pouliot 33d94c9e90 2006-09-01 Sebastien Pouliot <[email protected]>
* GifCodecTest.cs: New. Unit tests for GIF codec.
	* IconCodecTest.cs: New. Unit tests for ICON codec (not working).
	* PngCodecTest.cs: New. Unit tests for PNG codec.
	* TiffCodecTest.cs: New. Unit tests for TIFF codec.


svn path=/trunk/mcs/; revision=64704
2006-09-01 13:30:24 +00:00
Sebastien Pouliot 83491fe99e 2006-08-31 Sebastien Pouliot <[email protected]>
* TestBmpCodec.cs: Add more test cases for 1, 8 and 32 bbp bitmaps
	including checks for Pixels and BitmapData.
	* TestImageCodecInfo.cs: Fix namespace and class name.
	* TestJpegCodec.cs: Reactivate the tests (not sure why they were 
	commented). Added test cases for Pixel and BitmapData (NotWorking).


svn path=/trunk/mcs/; revision=64611
2006-08-31 13:39:07 +00:00
Sebastien Pouliot d46d59be24 2006-08-25 Sebastien Pouliot <[email protected]>
* TestBmpCodec.cs: Add pixel value tests to a well known bitmap.


svn path=/trunk/mcs/; revision=64352
2006-08-25 13:01:01 +00:00
Sebastien Pouliot b82f6a494b 2006-08-24 Sebastien Pouliot <[email protected]>
* TestColorMatrix.cs: Add test cases for error handling inside ctor and
	for testing each field with a different value.


svn path=/trunk/mcs/; revision=64321
2006-08-24 18:59:00 +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 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 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 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
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
Peter Dennis Bartok b5cb62e09c 2006-04-25 Peter Dennis Bartok <[email protected]>
* TestBmpCodec.cs: Marked the 24bit test as not working until
	  bug #78189 is fixed.


svn path=/trunk/mcs/; revision=59862
2006-04-25 17:22:31 +00:00
Boris Kirzner 37c983e4f9 Tests refactoring for TARGET_JVM.
svn path=/trunk/mcs/; revision=56114
2006-01-26 17:35:04 +00:00
Kornél Pál 64830f336a ImageFormat.cs: Fixed ToString to use this.Equals to reflect argument changes to ImageFormat objects. Added Exif and Icon strings to ToString and reordered formats to match declaration. TestImageFormat.cs: Added ToStringTest.
svn path=/trunk/mcs/; revision=52975
2005-11-13 16:53:24 +00:00
Jordi Mas i Hernandez f3f1d17b2b In Test/System.Drawing.Imaging:
2005-10-31  Jordi Mas i Hernandez <[email protected]>

	*  TestImageFormat.cs: New test unit

In System.Drawing.Imaging:
2005-10-31  Jordi Mas i Hernandez <[email protected]>

	* ImageFormat.cs: Fixes ToString method

In System.Drawing:
2005-10-31 Jordi Mas i Hernandez <[email protected]> 

	* Image.cs: Default format for MemoryBMP should be Png


svn path=/trunk/mcs/; revision=52409
2005-10-31 13:33:10 +00:00
Sebastien Pouliot b4bfb1b3ff 2005-09-16 Sebastien Pouliot <[email protected]>
* TestBmpCodec.cs, TestColorMatrix.cs, TestImageAttributes.cs, 
	TestImageCodecInfo.cs, TestJpegCodec.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=50146
2005-09-16 12:51:34 +00:00
Jordi Mas i Hernandez 637ce07255 2005-08-19 Jordi Mas i Hernandez <[email protected]>
*  TestBmpCodec.cs: Enable PixelFormat tests                                                  


svn path=/trunk/mcs/; revision=48546
2005-08-19 08:55:06 +00:00
Andrew Skiba ed4855c56b ./
* System.Drawing.vmwcsproj: use ImageFormat.cs instead of jvm.cs
System.Drawing/
	* Icon.jvm.cs: match Bitmap internal constructor change
	* Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
	* Bitmap.jvm.cs: started changes for supporting ImageCodecInfo System.Drawing.Imaging/
	* ImageCodecInfo.jvm.cs: implement via java imageio, add internal APIs for
	fast read-only requests
	* Methafile.jvm.cs: change in not implemented api to match image.jvm.cs
Test/DrawingTest/Test/
	* Test.dotnet.csproj, Test.vmwcsproj: make Bitmap1.png embedded resource, add Bitmap1.bmp
	* Bitmap1.bmp: added to make tests on java without jai
	* Bitmap.cs: open bitmap from resources, to get rid of dir dependency
	* Color.cs: remove unnecessary using DrawingTestHelper
	* Graphics.cs: naive StringAlignment tests, must be improved later
	* Image.cs: same as Bitmap.cs + use test.bmp instead of test.png (works immediately on java w/o jai)
Test/System.Drawing.Imaging/
	* TestImageCodecInfo.cs: use regular expressions for results that may vary	while still in correct format, so same tests can be used for jvm
Test/
	* Test.dotnet.csproj, Test.vmwcsproj: Embed Bitmap1.png, add Bitmap1.bmp


svn path=/trunk/mcs/; revision=48441
2005-08-16 17:10:59 +00:00
Andrew Skiba 61c7010c45 * TestImageCodecInfo.cs: FormatID, CodecName, DllName, FilenameExtension, Flags, FormatDescription, MimeType properties checked
svn path=/trunk/mcs/; revision=48180
2005-08-09 17:14:54 +00:00