/* * Test that a thread can not be aborted re-aquiring the monitor * after a Wait(). */ public void TestMonitorAbortAfterWait() { if (!TestThread.IsThreadingSupported) { return; } MonitorAbortAfterWait test = new MonitorAbortAfterWait(); String result = test.testMonitorAbortAfterWait(); if (result != null) { Assert(result, result == null); } }
/* * Test that a thread can not be aborted re-aquiring the monitor * after a Wait(). */ public void TestMonitorAbortAfterWait() { if (!TestThread.IsThreadingSupported) return; MonitorAbortAfterWait test = new MonitorAbortAfterWait(); String result = test.testMonitorAbortAfterWait(); if (result != null) Assert(result, result == null); }