2007-01-18 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System / Test / System.Diagnostics / EventLogPermissionAttributeTest.cs
old mode 100755 (executable)
new mode 100644 (file)
index a4062c0..e3639a5
@@ -1,11 +1,11 @@
-//\r
+//\r
 // EventLogPermissionAttributeTest.cs -\r
 //     NUnit Test Cases for EventLogPermissionAttribute\r
 //\r
 // Author:\r
 //     Sebastien Pouliot  <sebastien@ximian.com>\r
 //\r
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)\r
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)\r
 //\r
 // Permission is hereby granted, free of charge, to any person obtaining\r
 // a copy of this software and associated documentation files (the\r
@@ -76,14 +76,6 @@ namespace MonoTests.System.Diagnostics {
                        Assert.AreEqual (SecurityAction.RequestOptional, a.Action, "Action=RequestOptional");\r
                        a.Action = SecurityAction.RequestRefuse;\r
                        Assert.AreEqual (SecurityAction.RequestRefuse, a.Action, "Action=RequestRefuse");\r
-#if NET_2_0\r
-                       a.Action = SecurityAction.DemandChoice;\r
-                       Assert.AreEqual (SecurityAction.DemandChoice, a.Action, "Action=DemandChoice");\r
-                       a.Action = SecurityAction.InheritanceDemandChoice;\r
-                       Assert.AreEqual (SecurityAction.InheritanceDemandChoice, a.Action, "Action=InheritanceDemandChoice");\r
-                       a.Action = SecurityAction.LinkDemandChoice;\r
-                       Assert.AreEqual (SecurityAction.LinkDemandChoice, a.Action, "Action=LinkDemandChoice");\r
-#endif\r
                }\r
 \r
                [Test]\r
@@ -139,7 +131,10 @@ namespace MonoTests.System.Diagnostics {
                                                case 12:\r
                                                case 13:\r
                                                case 32:\r
-                                               case 92:\r
+                                               case 92:
+#if NET_2_0\r
+                                               case 133:
+#endif\r
                                                case 160:\r
                                                        // known invalid chars\r
                                                        break;\r