You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
@@ -136,14 +136,16 @@ namespace MonoTests.Mono.Unix {
|
||||
}
|
||||
|
||||
[Test]
|
||||
[ExpectedException]
|
||||
[Category ("NotOnMac")]
|
||||
public void TestSignumPropertyThrows ()
|
||||
{
|
||||
if (!TestHelper.CanUseRealTimeSignals ())
|
||||
return;
|
||||
UnixSignal signal1 = new UnixSignal (new RealTimeSignum (0));
|
||||
Signum s = signal1.Signum;
|
||||
|
||||
Assert.Throws<InvalidOperationException> (() => {
|
||||
UnixSignal signal1 = new UnixSignal (new RealTimeSignum (0));
|
||||
Signum s = signal1.Signum;
|
||||
});
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -158,14 +160,16 @@ namespace MonoTests.Mono.Unix {
|
||||
}
|
||||
|
||||
[Test]
|
||||
[ExpectedException]
|
||||
[Category ("NotOnMac")]
|
||||
public void TestRealTimePropertyThrows ()
|
||||
{
|
||||
if (!TestHelper.CanUseRealTimeSignals ())
|
||||
return;
|
||||
UnixSignal signal1 = new UnixSignal (Signum.SIGSEGV);
|
||||
RealTimeSignum s = signal1.RealTimeSignum;
|
||||
return;
|
||||
|
||||
Assert.Throws<InvalidOperationException> (() => {
|
||||
UnixSignal signal1 = new UnixSignal (Signum.SIGSEGV);
|
||||
RealTimeSignum s = signal1.RealTimeSignum;
|
||||
});
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in New Issue
Block a user