Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/api-shared/ObjCRuntime/RegistrarTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ public static Registrars CurrentRegistrar {
}

[Test]
#if NET
[Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")]
#endif
public void IntPtrCtor ()
{
IntPtr ptr = IntPtr.Zero;
Expand Down
6 changes: 6 additions & 0 deletions tests/monotouch-test/ObjCRuntime/ExceptionsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ static void UninstallHandlers ()

// Simulator/desktop only (except for watchOS, where it works everywhere)
[Test]
#if NET
[Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")]
#endif
public void ObjCException ()
{
#if !__WATCHOS__ && !__MACOS__
Expand Down Expand Up @@ -131,6 +134,9 @@ public override void ThrowManagedException ()

// Simulator/desktop only test (except for watchOS, where it works everywhere)
[Test]
#if NET
[Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")]
#endif
public void ManagedExceptionPassthrough ()
{
Exception thrownException = null;
Expand Down
6 changes: 6 additions & 0 deletions tests/monotouch-test/ObjCRuntime/RegistrarTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,9 @@ public void TestNonVirtualProperty ()
}

[Test]
#if NET
[Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")]
#endif
public void TestGeneric ()
{
var g1 = new GenericTestClass<string> ();
Expand Down Expand Up @@ -1240,6 +1243,9 @@ void ThrowsICEIfDebug (TestDelegate code, string message, bool execute_release_m
}

[Test]
#if NET
[Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")]
#endif
public void TestConstrainedGenericType ()
{
IntPtr value;
Expand Down
9 changes: 9 additions & 0 deletions tests/monotouch-test/ObjCRuntime/RuntimeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,9 @@ public void ResurrectedObjectsDisposedTest (Type type)
}

[Test]
#if NET
[Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")]
#endif
public void MX8029 ()
{
var handle = Messaging.IntPtr_objc_msgSend (Messaging.IntPtr_objc_msgSend (Class.GetHandle (typeof (Dummy)), Selector.GetHandle ("alloc")), Selector.GetHandle ("init"));
Expand Down Expand Up @@ -613,6 +616,9 @@ public void MX8029 ()

#if DYNAMIC_REGISTRAR
[Test]
#if NET
[Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")]
#endif
public void MX8029_b ()
{
try {
Expand All @@ -634,6 +640,9 @@ public void MX8029_b ()
}

[Test]
#if NET
[Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")]
#endif
public void MX8033 ()
{
try {
Expand Down