[Mono-bugs] [Bug 74728][Wis] New - System.Security unit test using old enum value

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 25 Apr 2005 16:53:40 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by flashdict@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74728

--- shadow/74728	2005-04-25 16:53:40.000000000 -0400
+++ shadow/74728.tmp.3537	2005-04-25 16:53:40.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 74728
+Product: Mono: Class Libraries
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System.Security
+AssignedTo: sebastien@ximian.com                            
+ReportedBy: flashdict@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Security unit test using old enum value
+
+The unit test  System.Security/HostSecurityManagerTest is still using the
+old enum.
+
+The following patch fixes it up.
+
+Index: HostSecurityManagerTest.cs
+===================================================================
+--- HostSecurityManagerTest.cs  (revision 43552)
++++ HostSecurityManagerTest.cs  (working copy)
+@@ -45,7 +45,7 @@
+  {
+      HostSecurityManager hsm = new HostSecurityManager ();
+      Assert.IsNull (hsm.DomainPolicy, "DomainPolicy");
+-     Assert.AreEqual (HostSecurityManagerFlags.AllFlags, hsm.Flags, "Flags");
++     Assert.AreEqual (HostSecurityManagerOptions.AllFlags, hsm.Flags,
+"Flags");
+   }
+
+   [Test]