-//\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
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
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