2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Wed, 30 Nov 2005 15:27:48 +0000 (15:27 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Wed, 30 Nov 2005 15:27:48 +0000 (15:27 -0000)
* CodeCompilerCas.cs: MS doesn't demand EnvironmentPermission under
1.x.

svn path=/trunk/mcs/; revision=53688

mcs/class/System/Test/System.CodeDom.Compiler/ChangeLog
mcs/class/System/Test/System.CodeDom.Compiler/CodeCompilerCas.cs

index 8eb5ddfbd3353ad5d79e216daa4f4bf532d8702e..a3761f7f334ce0f9a7fffdfc99c4b2e19f356c1e 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * CodeCompilerCas.cs: MS doesn't demand EnvironmentPermission under 
+       1.x.
+
 2005-11-26  Gert Driesen  <drieseng@users.sourceforge.net>
 
        * CodeGeneratorFromTypeTestBase.cs: Modified GetMethodMembersType3 to 
index 7d161dee538410657fd17c71ca1800d22263a3b4..bda4e8e12819a6cb9b95e7176950d76d0ebc04ca 100644 (file)
@@ -387,6 +387,9 @@ namespace MonoCasTests.System.CodeDom.Compiler {
                [Test]
                [EnvironmentPermission (SecurityAction.Deny, Unrestricted = true)]
                [ExpectedException (typeof (SecurityException))]
+#if ONLY_1_1
+               [Category ("NotDotNet")] // MS doesn't check for Environment under 1.x
+#endif
                public void FromDom_Deny_Environment ()
                {
                        CodeCompilerTest cc = new CodeCompilerTest ();
@@ -425,6 +428,9 @@ namespace MonoCasTests.System.CodeDom.Compiler {
                [Test]
                [EnvironmentPermission (SecurityAction.Deny, Unrestricted = true)]
                [ExpectedException (typeof (SecurityException))]
+#if ONLY_1_1
+               [Category ("NotDotNet")] // MS doesn't check for Environment under 1.x
+#endif
                public void FromDomBatch_Deny_Environment ()
                {
                        CodeCompilerTest cc = new CodeCompilerTest ();
@@ -463,6 +469,9 @@ namespace MonoCasTests.System.CodeDom.Compiler {
                [Test]
                [EnvironmentPermission (SecurityAction.Deny, Unrestricted = true)]
                [ExpectedException (typeof (SecurityException))]
+#if ONLY_1_1
+               [Category ("NotDotNet")] // MS doesn't check for Environment under 1.x
+#endif
                public void FromFile_Deny_Environment ()
                {
                        CodeCompilerTest cc = new CodeCompilerTest ();
@@ -501,6 +510,9 @@ namespace MonoCasTests.System.CodeDom.Compiler {
                [Test]
                [EnvironmentPermission (SecurityAction.Deny, Unrestricted = true)]
                [ExpectedException (typeof (SecurityException))]
+#if ONLY_1_1
+               [Category ("NotDotNet")] // MS doesn't check for Environment under 1.x
+#endif
                public void FromFileBatch_Deny_Environment ()
                {
                        CodeCompilerTest cc = new CodeCompilerTest ();
@@ -539,6 +551,9 @@ namespace MonoCasTests.System.CodeDom.Compiler {
                [Test]
                [EnvironmentPermission (SecurityAction.Deny, Unrestricted = true)]
                [ExpectedException (typeof (SecurityException))]
+#if ONLY_1_1
+               [Category ("NotDotNet")] // MS doesn't check for Environment under 1.x
+#endif
                public void FromSource_Deny_Environment ()
                {
                        CodeCompilerTest cc = new CodeCompilerTest ();
@@ -577,6 +592,9 @@ namespace MonoCasTests.System.CodeDom.Compiler {
                [Test]
                [EnvironmentPermission (SecurityAction.Deny, Unrestricted = true)]
                [ExpectedException (typeof (SecurityException))]
+#if ONLY_1_1
+               [Category ("NotDotNet")] // MS doesn't check for Environment under 1.x
+#endif
                public void FromSourceBatch_Deny_Environment ()
                {
                        CodeCompilerTest cc = new CodeCompilerTest ();
@@ -600,6 +618,9 @@ namespace MonoCasTests.System.CodeDom.Compiler {
                [Test]
                [EnvironmentPermission (SecurityAction.Deny, Unrestricted = true)]
                [ExpectedException (typeof (SecurityException))]
+#if ONLY_1_1
+               [Category ("NotDotNet")] // MS doesn't check for Environment under 1.x
+#endif
                public void GetResponseFileCmdArgs_Deny_Environment ()
                {
                        CodeCompilerTest cc = new CodeCompilerTest ();