Commit Graph
462 Commits
Author SHA1 Message Date
Sebastien Pouliot f838517d89 2006-05-04 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Temporarily remove the checks for the transform in
	containers. This allows libgdiplus to get better visual results until
	the matrix issue is fixed correctly (instead of returning the "right"
	matrix and displaying wrong data).


svn path=/trunk/mcs/; revision=60262
2006-05-04 14:46:41 +00:00
Sebastien Pouliot 6703d13b66 2006-05-03 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: Added new test case for #78185 (from 
	Bill Holmes).


svn path=/trunk/mcs/; revision=60232
2006-05-03 18:01:36 +00:00
Sebastien Pouliot 1c9bfd0b12 2006-05-02 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Added new test cases for [Begin|End]Container and
	for Save and Restore methods.


svn path=/trunk/mcs/; revision=60180
2006-05-02 15:35:00 +00:00
Sebastien Pouliot 77b6fb3468 2006-05-01 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: Added new test case for #78179 (from 
	Bill Holmes).


svn path=/trunk/mcs/; revision=60118
2006-05-01 12:13:19 +00:00
Sebastien Pouliot 42046e1e75 2006-04-28 Sebastien Pouliot <[email protected]>
* TestColorBlend.cs: Added new test cases to verify if the TODO were
	still valid. Updated existing test cases to nunit 2.2 api.

svn path=/trunk/mcs/; revision=60051
2006-04-28 18:52:55 +00:00
Sebastien Pouliot 6f49944438 2006-04-28 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added new test cases for AddCurve and it's 
	different behaviour (in some methods) when only two points are used 
	to define a curve.


svn path=/trunk/mcs/; revision=60040
2006-04-28 15:50:29 +00:00
Sebastien Pouliot d92e957131 2006-04-27 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Added new test cases for DrawCurve methods.


svn path=/trunk/mcs/; revision=60036
2006-04-28 14:40:56 +00:00
Sebastien Pouliot bfb32c4d6f 2006-04-27 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Activate two unit tests where we use AddLines
	to add a single point to a path.


svn path=/trunk/mcs/; revision=60004
2006-04-27 18:39:24 +00:00
Sebastien Pouliot afac4f0b2f 2006-04-27 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added new test cases for AddString.


svn path=/trunk/mcs/; revision=59980
2006-04-27 14:25:00 +00:00
Gonzalo Paniagua Javier 472baef937 2006-04-26 Gonzalo Paniagua Javier <[email protected]>
* TestBitmap.cs: added tests for UnlockBits when the target is an
	indexed image and a non-indexed one.


svn path=/trunk/mcs/; revision=59939
2006-04-26 19:16:28 +00:00
Miguel de Icaza 12fb9825dd Add
svn path=/trunk/mcs/; revision=59909
2006-04-26 05:35:25 +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
Sebastien Pouliot 250ae11402 2006-04-21 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Added new test cases for clipping. Some of them do 
	not work yet.


svn path=/trunk/mcs/; revision=59778
2006-04-21 20:17:53 +00:00
Sebastien Pouliot 5a07802f64 2006-04-20 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: Remove "NonWorking" from many test 
	cases. Added more test cases for non-invertible matrix and to ensure
	all matrix-based transformation are correct.


svn path=/trunk/mcs/; revision=59699
2006-04-20 13:25:09 +00:00
Sebastien Pouliot 8395b14e71 GraphicsPathTest.cs: Add test cases for Wrap and Widen (most of them are current 'NotWorking').
svn path=/trunk/mcs/; revision=59648
2006-04-19 15:48:23 +00:00
Sebastien Pouliot 0210ee2140 Move all CAS test in the *Cas.cs files and add CAS category to that file.
svn path=/trunk/mcs/; revision=59374
2006-04-11 21:04:44 +00:00
Sebastien Pouliot 6d12ac7843 2006-04-11 Sebastien Pouliot <[email protected]>
* InstalledFontCollectionTest.cs: New. Unit tests.
	* PrivateFontCollectionCas.cs: New. CAS unit tests, mainly for 
	AddMemoryFont which cannot be executed without UnmanagedCode 
	permission.
	* PrivateFontCollectionTest.cs: New. Unit tests.


svn path=/trunk/mcs/; revision=59371
2006-04-11 20:28:45 +00:00
Sebastien Pouliot 097ef958a8 2006-04-11 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Added new test cases for bug #77129 where we should
	not draw or fill rectangle(s) with negative width or height. Converted
	all test cases to UNIX line endings.


svn path=/trunk/mcs/; revision=59353
2006-04-11 13:14:42 +00:00
Sebastien Pouliot 33c1f6081f TestMatrix.cs: Added new test cases for contructors accepting rectangles and points.
svn path=/trunk/mcs/; revision=59316
2006-04-10 18:42:44 +00:00
Sebastien Pouliot e6fa4e1ff0 2006-03-30 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Added new test cases translating matrix with 
	different MatrixOrder and for multiplying a non-invertible matrix.


svn path=/trunk/mcs/; revision=58816
2006-03-30 18:13:58 +00:00
Sebastien Pouliot fdcd73b253 2006-03-30 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: Added a bunch of test cases to check
	for the "initial" matrix of the brush (which we don't set).
	* TestMatrix.cs: Added test cases about matrix identity precision.


svn path=/trunk/mcs/; revision=58789
2006-03-30 15:12:30 +00:00
Sebastien Pouliot e8ca22c75a 2006-03-29 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Add test cases for every Add* method to check 
	their (different) behaviour wrt starting and closing figures in the
	path they are added.


svn path=/trunk/mcs/; revision=58724
2006-03-29 13:39:10 +00:00
Sebastien Pouliot a1612c1735 2006-03-28 Sebastien Pouliot <[email protected]>
* TestMatrix.cs: Added new test cases.


svn path=/trunk/mcs/; revision=58674
2006-03-28 20:29:15 +00:00
Sebastien Pouliot e6af333400 2006-03-28 Sebastien Pouliot <[email protected]>
* TestGraphics.cs: Add new test cases for clipping.


svn path=/trunk/mcs/; revision=58673
2006-03-28 20:27:16 +00:00
Sebastien Pouliot f5a5b18695 2006-03-25 Sebastien Pouliot <[email protected]>
* RegionDataTest.cs: Add test cases for GetRegionData when a region is
	path-based (using bitmaps in libgdiplus) and for regions that had a 
	binary operations applied (i.e. using a path tree in libgdiplus).
	* RegionNonRectTest.cs: Add test cases for GetRegionScans and all
	binary operators (Union, Intersection, Complement, Exclude and Xor)
	on path based regions (using bitmaps in libgdiplus).


svn path=/trunk/mcs/; revision=58521
2006-03-25 16:40:38 +00:00
Sebastien Pouliot ffbc686025 2006-03-22 Sebastien Pouliot <[email protected]>
* LinearGradientBrushTest.cs: New. Some unit tests (moslty failing).


svn path=/trunk/mcs/; revision=58312
2006-03-22 20:23:17 +00:00
Sebastien Pouliot b58374d9ca TestMatrix.cs: Added new test cases to test libgdiplus validations.
svn path=/trunk/mcs/; revision=57968
2006-03-14 18:13:45 +00:00
Sebastien Pouliot bc0ec0ccda 2006-03-13 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added new test cases for SetMarkers, 
	ClearMarkers, CloseFigure and CloseAllFigures on an empty path.


svn path=/trunk/mcs/; revision=57896
2006-03-13 18:29:05 +00:00
Peter Dennis Bartok ff4841f252 2006-02-29 Peter Dennis Bartok <[email protected]>
* TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
	  the appropriate size on each system


svn path=/trunk/mcs/; revision=57469
2006-03-01 17:27:54 +00:00
Sebastien Pouliot fe0a9d90d8 2006-01-27 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Removed "NotWorking" from existing Flatten 
	tests and added more test cases (for each type of shape).


svn path=/trunk/mcs/; revision=56170
2006-01-27 16:45:48 +00:00
Sebastien Pouliot 6786cd3cfc 2006-01-27 Sebastien Pouliot <[email protected]>
* RegionNonRectTest.cs: Updated comments on a test that fails on both
	1.x and 2.0 MS runtime.
	* TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
	each asserts.


svn path=/trunk/mcs/; revision=56169
2006-01-27 16:41:26 +00:00
Boris Kirzner 37c983e4f9 Tests refactoring for TARGET_JVM.
svn path=/trunk/mcs/; revision=56114
2006-01-26 17:35:04 +00:00
Boris Kirzner 3947427259 Tests refactoring for TARGET_JVM.
svn path=/trunk/mcs/; revision=55937
2006-01-23 13:25:57 +00:00
Boris Kirzner b4aab73ef0 Tests refactoring with NotWorking.
svn path=/trunk/mcs/; revision=55896
2006-01-22 11:54:05 +00:00
Sebastien Pouliot 540fe5b148 2006-01-18 Sebastien Pouliot <[email protected]>
* RegionDataTest.cs: New. Unit tests for RegionData.
	* RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
	* TestRegion.cs: Added new test cases for empty region and IsInfinite
	behaviour with multiple rectangles / path-rectangle regions.


svn path=/trunk/mcs/; revision=55754
2006-01-18 19:42:37 +00:00
Sebastien Pouliot 985f63369e 2006-01-16 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: Added test cases for GetBounds and re-activated
	some parts of the tests that checked bounds (Add* tests).


svn path=/trunk/mcs/; revision=55654
2006-01-16 21:22:40 +00:00
Sebastien Pouliot 3a38a14945 2006-01-16 Sebastien Pouliot <[email protected]>
* TestRegion.cs: Mark a test case as NotWorking as it caused a 
	regression in SWF.


svn path=/trunk/mcs/; revision=55652
2006-01-16 21:07:22 +00:00
Sebastien Pouliot e74c294221 2006-01-13 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: New. Added multiple test cases to check null
	handling and how the points are generated for the Add* methods.
	* PathDataTest.cs: New. Added clone test case.


svn path=/trunk/mcs/; revision=55544
2006-01-13 20:05:00 +00:00
Sebastien Pouliot ca8e648b85 2006-01-12 Sebastien Pouliot <[email protected]>
* GraphicsPathTest.cs: New. Basic test cases for empty path and 
	cloning.
	* PathDataTest.cs: New. Test cases for PathData.


svn path=/trunk/mcs/; revision=55445
2006-01-12 18:54:36 +00:00
Sebastien Pouliot c84dde5dc2 2006-01-11 Sebastien Pouliot <[email protected]>
* RegionCas.cs: New. CAS unit tests for Region.
	* TestRegion.cs: Added test cases to check for expected exceptions.


svn path=/trunk/mcs/; revision=55392
2006-01-11 18:28:17 +00:00
Jordi Mas i Hernandez 08351b8c0d 2005-12-22 Jordi Mas i Hernandez <[email protected]>
* PrintingServices.cs: Printing services abstration class
	* PrintingServicesWin32.cs: Win32 printer driver
	* PrintingServicesUnix.cs: Unix printer driver
	* Margins.cs: Fixes exceptions error messages
	* PrinterResolution.cs: Fixes
	* PrintEventArgs.cs: New internal method
	* PrintPageEventArgs.cs: New internal method
	* StandardPrintController.cs: Fixes
	* PrinterUnitConvert.cs: Fixes conversion errors
	* PrintDocument.cs: Fixes to make it print
	* PageSettings.cs: Take margains into account
	* PrintController.cs: Fixes
	* PaperSize.cs: Method to set paper Kind
	* PrinterSettings.cs: Implements settings and fixes
	* 	


svn path=/trunk/mcs/; revision=54735
2005-12-22 17:06:00 +00:00
Peter Dennis Bartok 764e048839 2005-12-05 Peter Dennis Bartok <[email protected]>
* Font.cs: 
	  - Implemented FromLogFont
	  - Implemented ToLogFont
	  - Whitespace fixes
	* gdipFunctions.cs:
	  - Added GdipGetLogFontW method
	  - Specified charset for GdipGetLogFontA method
	* gdipStructs.cs: Added LOGFONTW structure

2005-12-05  Peter Dennis Bartok  <[email protected]>

	* TestFont.cs: Added test for LogFont conversion


svn path=/trunk/mcs/; revision=53963
2005-12-06 03:48:14 +00:00
Jordi Mas i Hernandez 4421bc764e In Test/System.Drawing.Design:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* TestToolboxItem.cs: New unit test

In Test/System.Drawing:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* TestPoint.cs: Test new methods for .Net 2.0
	* TestPointF.cs Test new methods for .Net 2.0
	* ColorConverter.cs: Fixes for .Net 2.0
	* TestSizeF.cs: Test new methods for .Net 2.0
	* TestSize.cs: Test new methods for .Net 2.0

In System.Drawing.Design:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* ToolboxItem.cs: Add new methods and properties for .Net and 
	  also moved to an internal properties hashtable implementation

	* IToolboxItemProvider.cs: New .Net 2.0 interface

In .:
2005-12-05 Jordi Mas i Hernandez <[email protected]>

	* MetaHeader.cs: Classes need to specify StructLayout attribute
	* EncoderParameter.cs: Classes need to specify StructLayout attribute
	* ImageAttributes.cs: Classes need to specify StructLayout attribute
	* WmfPlaceableFileHeader.cs: Classes need to specify StructLayout attribute
	* MetafileHeader.cs: Classes need to specify StructLayout attribute

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

	* gdipFunctions.cs: DllExports need it to implement 
	  new Graphics.CopyFromScreen .Net 2.0 methods
	* IDeviceContext.cs: New .Net 2.0 interface
	* Color.cs: Fixes for new .Net 2.0 KnowColors
	* PointF.cs: New .Net 2.0 Add/Subtract methods
	* gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
	* SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
	* SizeF.cs: New .Net 2.0 Add/Subtract methods
	* FontConverter.cs: New .Net 2.0 fixes
	* SystemColors.cs: New standard SystemColors for .Net 2.0
	* SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
	* CharacterRange.cs: : New .Net 2.0 methods
	* Size.cs: New .Net 2.0 Add/Subtract methods
	* SystemPens.cs: New standard SystemPens for .Net 2.0
	* Bitmap.cs: New .Net 2.0 methods
	* Region.cs: New .Net 2.0 methods
	* Brush.cs: New .Net 2.0 constructor
	* Icon.cs: New .Net 2.0 Constructors and methods
	* Point.cs: New .Net 2.0 Add/Subtract methods
	* BufferedGraphicsManager.cs: New .Net 2.0 class
	* Graphics.cs: New methods for .Net 2.0 and fixes
	* BufferedGraphics.cs: New .Net 2.0 class
	* Font.cs:  New .Net 2.0 properties
	* Image.cs: New .Net 2.0 tag property
	* KnownColor.cs: New .Net 2.0 know colors
	* CopyPixelOperation.cs: New .Net 2.0 enum
	* SystemFonts.cs: New .Net 2.0 class
	* BufferedGraphicsContext.cs: New .Net 2.0 class


svn path=/trunk/mcs/; revision=53938
2005-12-05 18:43:07 +00:00
Jonathan Gilbert 81cc82d192 2005-12-02 Jonathan Gilbert <[email protected]>
* TestBitmap.cs (LockUnlockBitmap): Added test for the copying
          back of bitmap data in Bitmap.UnlockBits for non-readonly
          ImageLockMode values.


svn path=/trunk/mcs/; revision=53879
2005-12-03 05:23:34 +00:00
Vladimir Krasnov 347729fb34 * ColorConverter.cs: added test cases for ConvertFrom and three digit notaion color.
svn path=/trunk/mcs/; revision=53188
2005-11-17 15:47:22 +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
Vladimir Krasnov 58c48c54f3 * Brush.cs: added texture brush with transform tests
* Graphics.cs: added DrawImage, BeginContainer tests

svn path=/trunk/mcs/; revision=52290
2005-10-27 14:35:58 +00:00
Jonathan Gilbert 7df47bd466 2005-10-23 Jonathan Gilbert <[email protected]>
* TestBitmap.cs (Rotate1bit4bit): Added test for rotation &
          flipping of indexed (1- and 4-bit) Bitmaps.
        * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.


svn path=/trunk/mcs/; revision=52146
2005-10-24 19:48:48 +00:00
Vladimir Krasnov 73c953ff5d Graphics.cs: Added FillMode tests
Brush.cs:  Added TextureBrush tests 

svn path=/trunk/mcs/; revision=51796
2005-10-17 10:43:53 +00:00