You've already forked linux-packaging-mono
Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
parent
4bdbaf4a88
commit
966bba02bb
@ -48,10 +48,7 @@ namespace MonoTests.System.Runtime.InteropServices
|
||||
protected override void Dispose (bool manual)
|
||||
{
|
||||
disposed = true;
|
||||
#if !MONODROID
|
||||
// Bombs on Android (ObjectDisposedException)
|
||||
base.Dispose (manual);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@ -80,7 +77,6 @@ namespace MonoTests.System.Runtime.InteropServices
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ObjectDisposedException))]
|
||||
[Category ("AndroidNotWorking")] // Because of the FakeSafeHandle.Dispose issue
|
||||
public void BadDispose2 ()
|
||||
{
|
||||
FakeSafeHandle sf = new FakeSafeHandle ();
|
||||
@ -91,7 +87,6 @@ namespace MonoTests.System.Runtime.InteropServices
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ObjectDisposedException))]
|
||||
[Category ("AndroidNotWorking")] // Because of the FakeSafeHandle.Dispose issue
|
||||
public void BadDispose3 ()
|
||||
{
|
||||
FakeSafeHandle sf = new FakeSafeHandle ();
|
||||
@ -120,7 +115,6 @@ namespace MonoTests.System.Runtime.InteropServices
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Because of the FakeSafeHandle.Dispose issue
|
||||
public void GoodDispose ()
|
||||
{
|
||||
int dummyHandle = 0xDEAD;
|
||||
@ -238,7 +232,6 @@ namespace MonoTests.System.Runtime.InteropServices
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Because of the FakeSafeHandle.Dispose issue
|
||||
public void ReleaseAfterDispose1 ()
|
||||
{
|
||||
int dummyHandle = 0xDEAD;
|
||||
@ -267,7 +260,6 @@ namespace MonoTests.System.Runtime.InteropServices
|
||||
|
||||
[Test]
|
||||
[ExpectedException (typeof (ObjectDisposedException))]
|
||||
[Category ("AndroidNotWorking")] // Because of the FakeSafeHandle.Dispose issue
|
||||
public void ReleaseAfterDispose2 ()
|
||||
{
|
||||
FakeSafeHandle sf = new FakeSafeHandle (true);
|
||||
@ -286,7 +278,6 @@ namespace MonoTests.System.Runtime.InteropServices
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Category ("AndroidNotWorking")] // Not until Dispose runtime crasher in FakeSafeHandle is fixed
|
||||
public void NoReleaseUnowned ()
|
||||
{
|
||||
FakeSafeHandle sf = new FakeSafeHandle (false);
|
||||
|
Reference in New Issue
Block a user