85 Commits
Author SHA1 Message Date
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
Kornél Pál 546a1134d2 Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +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 7098e95a7f Reactivate pixel test (fixed in libgdiplus r64626)
svn path=/trunk/mcs/; revision=64627
2006-08-31 15:49:08 +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
Gonzalo Paniagua Javier 1716aa3bd5 fix namespace
svn path=/trunk/mcs/; revision=61423
2006-06-02 20:26:49 +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 b3af6df1b1 add this back
svn path=/trunk/mcs/; revision=60806
2006-05-17 20:09:39 +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 a9f21455b2 2005-08-19 Jordi Mas i Hernandez <[email protected]>
* TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
	* TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
	* TestSizeConverter.cs:  Fixes and changes to make the test locale unsensitive
	* ColorConverter.cs: Fixes and changes to make the test locale unsensitive


svn path=/trunk/mcs/; revision=48547
2005-08-19 10:51:09 +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
Andrew Skiba cc5ebf00f5 refactor testcase, to make possible to check other properties
svn path=/trunk/mcs/; revision=48170
2005-08-09 15:07:46 +00:00
Jordi Mas i Hernandez d4c45d809a 2004-03-22 Jordi Mas i Hernandez <[email protected]>
* TestColorMatrix.cs: added test case
	* TestImageAttributes.cs: added test case


svn path=/trunk/mcs/; revision=42103
2005-03-22 12:38:52 +00:00
Jordi Mas i Hernandez 6cc4a60067 fixes System.Drawing tests
svn path=/trunk/mcs/; revision=42102
2005-03-22 12:34:47 +00:00
Sachin Kumar 86caa35d31 Added license and copyright
svn path=/trunk/mcs/; revision=29767
2004-06-17 12:24:22 +00:00
Sanja Gupta 1c8e4ce180 ChangeLog: Updated ChangeLog.
TestBmpCodec.cs, TestImageCodecInfo.cs, TestJpedCodec.cs: Removed
        dependency on obsolete class, Assertion from NUnit.

svn path=/trunk/mcs/; revision=29150
2004-06-10 02:42:10 +00:00
Jordi Mas i Hernandez ba9523ce98 bmpcodec and ImageCodec tests
svn path=/trunk/mcs/; revision=27272
2004-05-13 14:26:53 +00:00
Jordi Mas i Hernandez 76e66b730a JpegCodec Testcase
svn path=/trunk/mcs/; revision=27271
2004-05-13 14:22:47 +00:00
Jordi Mas i Hernandez 4597d0b6d3 helper scripts to run swi tests
svn path=/trunk/mcs/; revision=27256
2004-05-13 10:34:03 +00:00
Ravindra 8ce23b0c4d ChangeLog.
svn path=/trunk/mcs/; revision=24270
2004-03-18 05:04:46 +00:00