[monotouch-test] Ignore tests that require the GC to actually work in Mac Catalyst.

This commit is contained in:
Rolf Bjarne Kvinge 2021-01-25 16:06:00 +01:00
Родитель ea56e75816
Коммит cfc32f237e
3 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -107,6 +107,9 @@ namespace MonoTouchFixtures.CoreAnimation {
static int TextLayersDisposed;
static int Generation;
[Test]
#if __MACCATALYST__
[Ignore ("https://github.com/dotnet/runtime/issues/47407")] // The GC doesn't collect objects with finalizers
#endif
public void TestBug26532()
{
TextLayersDisposed = 0;

Просмотреть файл

@ -2007,6 +2007,9 @@ namespace MonoTouchFixtures.ObjCRuntime {
}
}
#if __MACCATALYST__
[Ignore ("https://github.com/dotnet/runtime/issues/47407")] // The GC doesn't collect objects with finalizers
#endif
[Test]
public void BlockCollection ()
{

Просмотреть файл

@ -37,6 +37,9 @@ namespace MonoTouchFixtures {
TestRuntime.AssertSystemVersion (PlatformName.MacOSX, 10, 9, throwIfOtherPlatform: false);
}
#if __MACCATALYST__
[Ignore ("https://github.com/dotnet/runtime/issues/47407")] // The GC doesn't collect objects with finalizers
#endif
[Test]
public void NoRetainCyclesExpectedTest ()
{