Author: spouliot
Date: 2005-03-14 15:50:19 -0500 (Mon, 14 Mar 2005)
New Revision: 41804

Modified:
   trunk/mcs/class/corlib/Test/System.IO/ChangeLog
   trunk/mcs/class/corlib/Test/System.IO/FileLoadExceptionCas.cs
   trunk/mcs/class/corlib/Test/System.IO/FileNotFoundExceptionCas.cs
Log:
2005-01-28  Sebastien Pouliot  <[EMAIL PROTECTED]> 

        * FileLoadExceptionCas.cs: Fixed failures under MS for NET_1_1.
        * FileNotFoundExceptionCas.cs: Fixed failures under MS for NET_1_1.



Modified: trunk/mcs/class/corlib/Test/System.IO/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System.IO/ChangeLog     2005-03-14 20:47:43 UTC 
(rev 41803)
+++ trunk/mcs/class/corlib/Test/System.IO/ChangeLog     2005-03-14 20:50:19 UTC 
(rev 41804)
@@ -1,3 +1,8 @@
+2005-01-28  Sebastien Pouliot  <[EMAIL PROTECTED]> 
+
+       * FileLoadExceptionCas.cs: Fixed failures under MS for NET_1_1.
+       * FileNotFoundExceptionCas.cs: Fixed failures under MS for NET_1_1.
+
 2005-03-02  Raja R Harinath  <[EMAIL PROTECTED]>
 
        * FileStreamTest.cs (Constructor_InvalidFileHandle): Fix to work

Modified: trunk/mcs/class/corlib/Test/System.IO/FileLoadExceptionCas.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.IO/FileLoadExceptionCas.cs       
2005-03-14 20:47:43 UTC (rev 41803)
+++ trunk/mcs/class/corlib/Test/System.IO/FileLoadExceptionCas.cs       
2005-03-14 20:50:19 UTC (rev 41804)
@@ -124,8 +124,11 @@
 
                [Test]
                [PermissionSet (SecurityAction.Deny, Unrestricted = true)]
+#if NET_2_0
                [ExpectedException (typeof (FileLoadException))]
-               [Category ("NotWorking")] // #71861 - Mono will throw a 
SecurityException in this case
+#else
+               [ExpectedException (typeof (SecurityException))]
+#endif
                public void Throw_FullRestriction ()
                {
                        try {
@@ -144,8 +147,11 @@
 
                [Test]
                [SecurityPermission (SecurityAction.Deny, ControlEvidence = 
true)]
+#if NET_2_0
                [ExpectedException (typeof (FileLoadException))]
-               [Category ("NotWorking")] // #71861 - Mono will throw a 
SecurityException in this case
+#else
+               [ExpectedException (typeof (SecurityException))]
+#endif
                public void Throw_GetFusionLog_Fail_ControlEvidence ()
                {
                        try {
@@ -159,8 +165,11 @@
 
                [Test]
                [SecurityPermission (SecurityAction.Deny, ControlPolicy = true)]
+#if NET_2_0
                [ExpectedException (typeof (FileLoadException))]
-               [Category ("NotWorking")] // #71861 - Mono will throw a 
SecurityException in this case
+#else
+               [ExpectedException (typeof (SecurityException))]
+#endif
                public void Throw_GetFusionLog_Fail_ControlPolicy ()
                {
                        try {

Modified: trunk/mcs/class/corlib/Test/System.IO/FileNotFoundExceptionCas.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.IO/FileNotFoundExceptionCas.cs   
2005-03-14 20:47:43 UTC (rev 41803)
+++ trunk/mcs/class/corlib/Test/System.IO/FileNotFoundExceptionCas.cs   
2005-03-14 20:50:19 UTC (rev 41804)
@@ -125,8 +125,11 @@
 
                [Test]
                [PermissionSet (SecurityAction.Deny, Unrestricted = true)]
+#if NET_2_0
                [ExpectedException (typeof (FileNotFoundException))]
-               [Category ("NotWorking")] // #71861 - Mono will throw a 
SecurityException in this case
+#else
+               [ExpectedException (typeof (SecurityException))]
+#endif
                public void Throw_FullRestriction ()
                {
                        try {
@@ -145,8 +148,11 @@
 
                [Test]
                [SecurityPermission (SecurityAction.Deny, ControlEvidence = 
true)]
+#if NET_2_0
                [ExpectedException (typeof (FileNotFoundException))]
-               [Category ("NotWorking")] // #71861 - Mono will throw a 
SecurityException in this case
+#else
+               [ExpectedException (typeof (SecurityException))]
+#endif
                public void Throw_GetFusionLog_Fail_ControlEvidence ()
                {
                        try {
@@ -160,8 +166,11 @@
 
                [Test]
                [SecurityPermission (SecurityAction.Deny, ControlPolicy = true)]
+#if NET_2_0
                [ExpectedException (typeof (FileNotFoundException))]
-               [Category ("NotWorking")] // #71861 - Mono will throw a 
SecurityException in this case
+#else
+               [ExpectedException (typeof (SecurityException))]
+#endif
                public void Throw_GetFusionLog_Fail_ControlPolicy ()
                {
                        try {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to