Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Pouliot <sebastien@xamarin.com>2013-03-19 23:04:09 +0400
committerSebastien Pouliot <sebastien@xamarin.com>2013-03-19 23:04:09 +0400
commitbe0ecab083bc3e27055f0ee5e7ac57c20a043d9d (patch)
treee747859e4c646540711513bf4355f855f093c404 /mcs/class/System.Data
parent32c4b505080bec4c785c0d7842be55d2c1100905 (diff)
Disable CAS permission tests for MOBILE profile
Diffstat (limited to 'mcs/class/System.Data')
-rw-r--r--mcs/class/System.Data/Test/System.Data.Common/DBDataPermissionAttributeTest.cs3
-rw-r--r--mcs/class/System.Data/Test/System.Data.Common/DBDataPermissionTest.cs3
-rw-r--r--mcs/class/System.Data/Test/System.Data.SqlClient/SqlClientPermissionAttributeTest.cs3
-rw-r--r--mcs/class/System.Data/Test/System.Data.SqlClient/SqlClientPermissionTest.cs3
4 files changed, 12 insertions, 0 deletions
diff --git a/mcs/class/System.Data/Test/System.Data.Common/DBDataPermissionAttributeTest.cs b/mcs/class/System.Data/Test/System.Data.Common/DBDataPermissionAttributeTest.cs
index 7446bb4e626..2a9f7cdada4 100644
--- a/mcs/class/System.Data/Test/System.Data.Common/DBDataPermissionAttributeTest.cs
+++ b/mcs/class/System.Data/Test/System.Data.Common/DBDataPermissionAttributeTest.cs
@@ -51,6 +51,9 @@ namespace MonoTests.System.Data.Common
}
[TestFixture]
+#if MOBILE
+ [Ignore ("CAS is not supported and parts will be linked away")]
+#endif
public class DBDataPermissionAttributeTest
{
[Test]
diff --git a/mcs/class/System.Data/Test/System.Data.Common/DBDataPermissionTest.cs b/mcs/class/System.Data/Test/System.Data.Common/DBDataPermissionTest.cs
index 9c2842619f4..ff8bd76f393 100644
--- a/mcs/class/System.Data/Test/System.Data.Common/DBDataPermissionTest.cs
+++ b/mcs/class/System.Data/Test/System.Data.Common/DBDataPermissionTest.cs
@@ -82,6 +82,9 @@ namespace MonoTests.System.Data.Common {
}
[TestFixture]
+#if MOBILE
+ [Ignore ("CAS is not supported and parts will be linked away")]
+#endif
public class DBDataPermissionTest {
private const string defaultConnectString = "Data Source=localhost;Integrated Security=SSPI;Initial Catalog=Northwind;";
diff --git a/mcs/class/System.Data/Test/System.Data.SqlClient/SqlClientPermissionAttributeTest.cs b/mcs/class/System.Data/Test/System.Data.SqlClient/SqlClientPermissionAttributeTest.cs
index 4923e644ebc..f6d1336ae2e 100644
--- a/mcs/class/System.Data/Test/System.Data.SqlClient/SqlClientPermissionAttributeTest.cs
+++ b/mcs/class/System.Data/Test/System.Data.SqlClient/SqlClientPermissionAttributeTest.cs
@@ -37,6 +37,9 @@ using System.Security.Permissions;
namespace MonoTests.System.Data.SqlClient {
[TestFixture]
+#if MOBILE
+ [Ignore ("CAS is not supported and parts will be linked away")]
+#endif
public class SqlClientPermissionAttributeTest {
[Test]
diff --git a/mcs/class/System.Data/Test/System.Data.SqlClient/SqlClientPermissionTest.cs b/mcs/class/System.Data/Test/System.Data.SqlClient/SqlClientPermissionTest.cs
index da430b1ac2d..5d2602ae500 100644
--- a/mcs/class/System.Data/Test/System.Data.SqlClient/SqlClientPermissionTest.cs
+++ b/mcs/class/System.Data/Test/System.Data.SqlClient/SqlClientPermissionTest.cs
@@ -39,6 +39,9 @@ namespace MonoTests.System.Data.SqlClient {
// NOTE: Most tests are are located in the base class, DBDataPermission
[TestFixture]
+#if MOBILE
+ [Ignore ("CAS is not supported and parts will be linked away")]
+#endif
public class SqlClientPermissionTest {
private void Check (string msg, DBDataPermission dbdp, bool blank, bool unrestricted, int count)