X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Data%2FTest%2FSystem.Data.OleDb%2FOleDbPermissionAttributeTest.cs;h=b44be4802a33ebc313d58a6190203c906484e78d;hb=64f85a65b023522d3f34e9932e6a843e0ad8fc3b;hp=f645b6212cf1ac78d62b7da289d58a11a975c984;hpb=0649b90c407fc29ee8377f2c6fb42ae2c006e26a;p=mono.git diff --git a/mcs/class/System.Data/Test/System.Data.OleDb/OleDbPermissionAttributeTest.cs b/mcs/class/System.Data/Test/System.Data.OleDb/OleDbPermissionAttributeTest.cs index f645b6212cf..b44be4802a3 100644 --- a/mcs/class/System.Data/Test/System.Data.OleDb/OleDbPermissionAttributeTest.cs +++ b/mcs/class/System.Data/Test/System.Data.OleDb/OleDbPermissionAttributeTest.cs @@ -1,4 +1,4 @@ -// +// // OleDbPermissionAttributeTest.cs - // NUnit Test Cases for OleDbPermissionAttribute // @@ -79,14 +79,6 @@ namespace MonoTests.System.Data.OleDb { Assert.AreEqual (SecurityAction.RequestOptional, a.Action, "Action=RequestOptional"); a.Action = SecurityAction.RequestRefuse; Assert.AreEqual (SecurityAction.RequestRefuse, a.Action, "Action=RequestRefuse"); -#if NET_2_0 - a.Action = SecurityAction.DemandChoice; - Assert.AreEqual (SecurityAction.DemandChoice, a.Action, "Action=DemandChoice"); - a.Action = SecurityAction.InheritanceDemandChoice; - Assert.AreEqual (SecurityAction.InheritanceDemandChoice, a.Action, "Action=InheritanceDemandChoice"); - a.Action = SecurityAction.LinkDemandChoice; - Assert.AreEqual (SecurityAction.LinkDemandChoice, a.Action, "Action=LinkDemandChoice"); -#endif } [Test]