Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Proxy
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv24986
Modified Files:
AbstractProxyTypeBuilderTests.cs
Log Message:
Minor fix to avoid potential error.
Index: AbstractProxyTypeBuilderTests.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Proxy/AbstractProxyTypeBuilderTests.cs,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** AbstractProxyTypeBuilderTests.cs 4 Dec 2007 18:38:14 -0000 1.20
--- AbstractProxyTypeBuilderTests.cs 5 Dec 2007 00:28:39 -0000 1.21
***************
*** 275,282 ****
Assert.IsNotNull(attrs, "Should have had 2 attribute applied to the target type.");
Assert.AreEqual(2, attrs.Length, "Should have had 2 attribute applied to the target type.");
- Assert.AreEqual(typeof(WebPermissionAttribute), attrs[1].GetType(), "Wrong System.Type of Attribute applied to the target type.");
-
- WebPermissionAttribute wpa = attrs[1] as WebPermissionAttribute;
- Assert.AreEqual(SecurityAction.Deny, wpa.Action);
}
--- 275,278 ----
|