Remove CAS from System.Drawing unit tests
authorFrederik Carlier <frederik.carlier@quamotion.mobi>
Sat, 11 Mar 2017 16:32:25 +0000 (17:32 +0100)
committerMarek Safar <marek.safar@gmail.com>
Sat, 11 Mar 2017 19:37:14 +0000 (20:37 +0100)
29 files changed:
mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/PathGradientBrushTest.cs
mcs/class/System.Drawing/Test/System.Drawing.Drawing2D/TestHatchBrush.cs
mcs/class/System.Drawing/Test/System.Drawing.Imaging/GifCodecTest.cs
mcs/class/System.Drawing/Test/System.Drawing.Imaging/IconCodecTest.cs
mcs/class/System.Drawing/Test/System.Drawing.Imaging/MetafileTest.cs
mcs/class/System.Drawing/Test/System.Drawing.Imaging/PngCodecTest.cs
mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestBmpCodec.cs
mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestImageAttributes.cs
mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestJpegCodec.cs
mcs/class/System.Drawing/Test/System.Drawing.Imaging/TiffCodecTest.cs
mcs/class/System.Drawing/Test/System.Drawing.Text/PrivateFontCollectionTest.cs
mcs/class/System.Drawing/Test/System.Drawing/ColorConverter.cs
mcs/class/System.Drawing/Test/System.Drawing/FontFamilyTest.cs
mcs/class/System.Drawing/Test/System.Drawing/PenTest.cs
mcs/class/System.Drawing/Test/System.Drawing/TestBitmap.cs
mcs/class/System.Drawing/Test/System.Drawing/TestGraphics.cs
mcs/class/System.Drawing/Test/System.Drawing/TestIcon.cs
mcs/class/System.Drawing/Test/System.Drawing/TestIconConverter.cs
mcs/class/System.Drawing/Test/System.Drawing/TestImage.cs
mcs/class/System.Drawing/Test/System.Drawing/TestImageConverter.cs
mcs/class/System.Drawing/Test/System.Drawing/TestImageFormatConverter.cs
mcs/class/System.Drawing/Test/System.Drawing/TestPointConverter.cs
mcs/class/System.Drawing/Test/System.Drawing/TestPointF.cs
mcs/class/System.Drawing/Test/System.Drawing/TestRectangleConverter.cs
mcs/class/System.Drawing/Test/System.Drawing/TestSizeConverter.cs
mcs/class/System.Drawing/Test/System.Drawing/TestSizeF.cs
mcs/class/System.Drawing/Test/System.Drawing/TestSizeFConverter.cs
mcs/class/System.Drawing/Test/System.Drawing/TestStringFormat.cs
mcs/class/System.Drawing/Test/System.Drawing/TextureBrushTest.cs

index 509fe22d5efb1b1ee853bd33144e74ca58d526f6..36eb082c42e445ed0a2779771e2d4d8ba0b0e070 100644 (file)
@@ -36,7 +36,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing.Drawing2D {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class PathGradientBrushTest {
 
                private Point[] pts_2i;
index 5bbb621669657116d8d701bd0f952f06ac2e2fad..b0749fa5733af46f06e05da9d8549ac77a32e434 100644 (file)
@@ -38,7 +38,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing.Drawing2D
 {
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class HatchBrushTest {
                Graphics gr;
                Bitmap bmp;
index db88b4efc7f8f0036dc132cf1ad86a25b721d9cd..c2596724512fe6566fa21a8a1b15f4c2c4cd7864 100644 (file)
@@ -38,7 +38,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing.Imaging {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class GifCodecTest {
 
                /* Get suffix to add to the filename */
index d8da270c896e548f1c3833281d02759fa8280aa5..31c8341496836d547566eaa10c9ed628d5763137 100644 (file)
@@ -38,7 +38,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing.Imaging {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class IconCodecTest {
 
                /* Get suffix to add to the filename */
index c89706d04770b1b674ed5b17d07b844f2efd71ba..957a93d093edd2bb7aec599dddfb6273ef91676a 100644 (file)
@@ -38,7 +38,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing.Imaging {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class MetafileTest {
 
                public const string Bitmap = "bitmaps/non-inverted.bmp";
index c7ee9e4201b0c0faf9e8c41748eaaa907a79a50b..15f0b09c16af985d3818d6a10182f6f2e9106385 100644 (file)
@@ -38,7 +38,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing.Imaging {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class PngCodecTest {
 
                /* Get suffix to add to the filename */
index 47c8947577b27ee27507d81b683f693b21765574..c39f30d39a732b7805e936e175303411ccc80508 100644 (file)
@@ -40,7 +40,6 @@ using System.Text;
 namespace MonoTests.System.Drawing.Imaging {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class BmpCodecTest {
                
                /* Get suffix to add to the filename */
index 75860915c3cec463c961084bcb2dcb8c81b40cdf..87912ee3106a0c04e1a15272caa3682f24eba437 100644 (file)
@@ -36,7 +36,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing.Imaging {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class ImageAttributesTest {
 
                static ColorMatrix global_color_matrix = new ColorMatrix (new float[][] {
index 9644d8eedf59e48d83adaf4df17af8f39ed7b7d8..e20460eb99cd0b8669d3cdd07378dc769c6679ed 100644 (file)
@@ -38,7 +38,6 @@ using System.Security.Permissions;
 namespace MonoTests.System.Drawing.Imaging {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class JpegCodecTest {
 
                /* Get suffix to add to the filename */
index e207c0e9cd9db077a56ae348d96e0286aeb89ab8..39539a4635b56b89d6f363d378f3b23eff918914 100644 (file)
@@ -38,7 +38,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing.Imaging {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class TiffCodecTest {
 
                [TestFixtureSetUp]
index c0d131870207c473a471b02b583e91b91581af31..48c601aea2231c8891f62fd50e16d3b3b4a49e14 100644 (file)
@@ -38,7 +38,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing.Text {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class PrivateFontCollectionTest {
 
                [Test]
index 4877f496996b847baa5f131a26a54a155ff620d9..b73ed00255cff0e05e66c36cffab2440d60c577e 100644 (file)
@@ -36,7 +36,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class ColorConverterTest {
 
                Color col;
index 69f6a44f4f94b9bfb998760bed047fabc7c3187a..a0c0461424a2d4dbd56efa0b267044c01b3314dd 100644 (file)
@@ -36,7 +36,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class FontFamilyTest {
 
                private Bitmap bitmap;
index bc050f3daab24ba5ba19a1293c1d24e5e4a1922e..7ecac3b574270f6a22814ae4d6b45691ebe152cc 100644 (file)
@@ -36,7 +36,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class PenTest {
 
                private Pen default_pen;
index 270037efe4342fff9ac70b0fda3c22c7b5b242bd..178bddb250a409f0edf8af0d7181013c8c7d0362 100644 (file)
@@ -48,7 +48,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class TestBitmap {
                
                [Test]
index cb8bd1d1b0fc55cbee85bfef5a59a6bd710a7fea..479736c63f90ed7a8aa90c833802c23e0eae7c67 100644 (file)
@@ -40,7 +40,6 @@ using System.Security.Permissions;
 namespace MonoTests.System.Drawing {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class GraphicsTest {
 
                private RectangleF[] rects;
index e4d0fa0758d671f385ac3d7a7f671878946ccd1d..5473adbf918c1c539c4ad580af28be18476d8c4a 100644 (file)
@@ -40,7 +40,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing {
 
        [TestFixture]   
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class IconTest {
                
                Icon icon;
index 6fcfadabe48a76593c6bfa70686c084bdf3cfa71..5337d64b418b6fe397db19e7cd09bfac430661f2 100644 (file)
@@ -42,7 +42,6 @@ using System.Security.Permissions;
 namespace MonoTests.System.Drawing
 {
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class IconConverterTest
        {
                Icon icon;              
index c53d061bad056434bb99b5d5871f1cc8fe2155dc..c0289aedd26b06be46eb165b24387a674793a4e8 100644 (file)
@@ -40,7 +40,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing{
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class ImageTest {
 
                private string fname;
index 33d4b51d1df52528f16e6869d8ac97d95354bb01..0e41e411a4d74797ece39c3727a04f43081a7528 100644 (file)
@@ -41,7 +41,6 @@ using System.Security.Permissions;
 namespace MonoTests.System.Drawing
 {
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class ImageConverterTest 
        {
                Image image;            
index dcc2539a3c648120dd5273bd2058bab9ccd76ccf..33edbb4b8544267c6dd093b0c33e2561a5229f81 100644 (file)
@@ -39,7 +39,6 @@ using System.Security.Permissions;
 namespace MonoTests.System.Drawing
 {
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class ImageFormatConverterTest
        {
                ImageFormat imageFmt;           
index ad7c2ffe2691f62be457f3832cf50677f92c7612..a45a24942c3a5473655dc6991b16064c2299a712 100644 (file)
@@ -41,7 +41,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing
 {
        [TestFixture]   
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class PointConverterTest
        {
                Point pt;
index 3d41155cb9701ceea7d26ce2e968c79a72eef003..f2f7715f22a43e28d3a551c356671d4560b3275a 100644 (file)
@@ -38,7 +38,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing
 {
        [TestFixture]   
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class PointFTest
        {
                PointF pt11_99;
index f75a06926d16ee8baff64901c0f4093057b90ece..bc05d2245369d0694cb1a6df81a3066b0e23a0b2 100644 (file)
@@ -42,7 +42,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing
 {
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class RectangleConverterTest
        {
                Rectangle rect;
index 8f8a5fa8c4e084ebaa2f4c6b058fdee52e4965dc..d6cc2e115947fbd24e0305a734675388dcf1026c 100644 (file)
@@ -42,7 +42,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing
 {
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class SizeConverterTest
        {
                Size sz;
index e982e5061ec5da6d3d211f808b1914c1e530cda4..5ec35bb564cbce7dc499f531301236081e663c70 100644 (file)
@@ -39,7 +39,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing 
 {
        [TestFixture]   
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class SizeFTest
        {
                SizeF sz11_99;
index 67714cf26401f57f2d11016f2322c3259deaf3c1..95b4483f83aac02819fa3004c24bac40d39affc8 100644 (file)
@@ -43,7 +43,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing
 {
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class SizeFConverterTest
        {
                SizeF sz;
index 6e20da75335b9320fe45509ad510dfd993367e40..bd11fbd30ac366b15712c98186cad93001e17eb5 100644 (file)
@@ -38,7 +38,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing{
 
        [TestFixture]   
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class StringFormatTest {
 
                private void CheckDefaults (StringFormat sf)
index f5b342291daa7ea7a563bc96b2bc0cc801143566..de3c24de7b6c8202d1300eba6fe741f37f3cb625 100644 (file)
@@ -37,7 +37,6 @@ using NUnit.Framework;
 namespace MonoTests.System.Drawing {
 
        [TestFixture]
-       [SecurityPermission (SecurityAction.Deny, UnmanagedCode = true)]
        public class TextureBrushTest {
 
                private Image image;