// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.Configuration;
using System.Data.SqlClient;
/*--For Bug 853 Test Begin--*/
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using Mono.Data.Sqlite;
#endif
/*--For Bug 853 Test End--*/
Assert.IsNotNull (ex.Message, "#4");
}
}
-#if !MOBILE
+#if !MOBILE && !MONOMAC
[Test]
[Category ("NotWorking")] // Requires newer sqlite than is on wrench
public void XimarinBugzillaBug853Test()
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System.IO;
using System.Xml;
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.CodeDom;
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.Runtime.Serialization;
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.IO;
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.CodeDom;
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.CodeDom;
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.ServiceModel;
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.IO;
using System.ServiceModel;
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.ServiceModel.Configuration;
using NUnit.Framework;
Assert.AreEqual (0, pl.Count, "#1");
}
-#if !MOBILE
+#if !MOBILE && !MONOMAC
[Test]
public void ApplyDispatchBehavior ()
{
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.IO;
using System.Runtime.Serialization;
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.Net;
using System.Runtime.Serialization;
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.Globalization;
using System.Runtime.Serialization;
ch.Close ();
}
-#if !MOBILE
+#if !MOBILE && !MONOMAC
[Test]
public void CreateAtom10Response ()
{
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
//\r
-#if !MOBILE\r
+#if !MOBILE && !MONOMAC\r
using System;\r
using System.Collections.Generic;\r
using System.Linq;\r
Assert.AreEqual ("http", b.Scheme, "#1");
Assert.AreEqual (Encoding.UTF8, b.WriteEncoding, "#2");
Assert.AreEqual (0x10000, b.MaxBufferSize, "#3");
-#if !MOBILE
+#if !MOBILE && !MONOMAC
Assert.AreEqual (0x80000, b.MaxBufferPoolSize, "#4");
#endif
Assert.AreEqual (0x10000, b.MaxReceivedMessageSize, "#5");
// Copyright (C) 2007 Novell, Inc.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using NUnit.Framework;
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using NUnit.Framework;
using System;
public class ServiceDescriptionTest
{
[Test]
+ [Category ("MacNotWorking")] // https://bugzilla.xamarin.com/show_bug.cgi?id=51254
public void SimpleWrite ()
{
ServiceDescription sd = new ServiceDescription ();
// Copyright (C) 2006 Novell, Inc.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using NUnit.Framework;
// Copyright (C) 2008 Novell, Inc.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using NUnit.Framework;
//
// Copyright (C) 2007 Novell, Inc.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using NUnit.Framework;
using System;
//
// Copyright (C) 2007 Novell, Inc.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using NUnit.Framework;
using System;
// Copyright (C) 2007 Novell, Inc.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using NUnit.Framework;
using System;
using System.Web.Services;
// (C) 2006 Novell
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.CodeDom;
Assert.AreEqual ("file", resolved.Scheme);
var task = sr.GetEntityAsync (resolved, null, typeof (Stream));
Assert.That (task.Wait (3000));
- Assert.IsInstanceOfType (typeof (FileStream), task.Result);
+ Assert.IsTrue (task.Result is FileStream, "Unexpected type: " + task.Result.GetType());
}
}
using System.Globalization;
using System.Reflection;
using System.Runtime.InteropServices;
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System.Drawing.Design;
#endif
using NUnit.Framework;
return attr;
return null;
}
-#if !MOBILE
+#if !MOBILE && !MONOMAC
class GetEditor_test
{
[Editor (typeof (UIEditor), typeof (UITypeEditor))]
[TestFixture]
public class ToolboxItemAttributeTests
{
-#if !MOBILE
+#if !MOBILE && !MONOMAC
[Test]
public void DefaultType ()
{
// (C) 2003 Martin Willemoes Hansen
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using NUnit.Framework;
using System;
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.Configuration;
// (C) 2005 Novell
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System.Net.Configuration;
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using System;
using System.Configuration;
using System.Threading;
using System.Reflection;
using Mono.Security.Authenticode;
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using Mono.Security.Protocol.Tls;
#endif
}
}
-#if !MOBILE
+#if !MOBILE && !MONOMAC
[Test]
[Ignore ("Fails on MS.NET")]
public void SslClientBlock ()
}
}
-#if !MOBILE
+#if !MOBILE && !MONOMAC
class SslHttpServer : HttpServer {
X509Certificate _certificate;
//
// MOBILE profile lacks some (of the few) CAS features required to execute those tests
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using NUnit.Framework;
using System;
Assert.IsNotNull (e, "PolicyHierarchy");
}
-#if !MOBILE
+#if !MOBILE && !MONOMAC
private void ResolveEvidenceHost (SecurityZone zone, bool unrestricted, bool empty)
{
string prefix = zone.ToString () + "-";
}
[Test]
+ [Category ("MacNotWorking")] // Randomly fails - https://bugzilla.xamarin.com/show_bug.cgi?id=51255
public void FromAsync_Completed ()
{
var completed = new CompletedAsyncResult ();
}
[Test]
+ [Category ("MacNotWorking")] // Randomly fails - https://bugzilla.xamarin.com/show_bug.cgi?id=51255
public void FromAsync_BeginCallback ()
{
bool called = false;
null, null);
}
-#if !MONOTOUCH && !FULL_AOT_RUNTIME
+#if !MONOTOUCH && !FULL_AOT_RUNTIME && !MONOMAC
[Test]
public void CreateInstanceCustomDomain ()
{
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if !MOBILE
+#if !MOBILE && !MONOMAC
using NUnit.Framework;
using System;
}
-#if !MONOTOUCH && !FULL_AOT_RUNTIME
+#if !MONOTOUCH && !FULL_AOT_RUNTIME && !MONOMAC
[Test]
[Category ("AndroidNotWorking")] // requires symbol writer
public void FullNameGetTypeParseEscapeRoundtrip () // bug #26384