/* * Test that an Abort breaks a Monitor.Enter wait. */ public void TestMonitorAbortEnter() { if (!TestThread.IsThreadingSupported) { return; } MonitorAbortEnter test = new MonitorAbortEnter(); String result = test.testMonitorAbortEnter(); if (result != null) { Assert(result, result == null); } }
/* * Test that an Abort breaks a Monitor.Enter wait. */ public void TestMonitorAbortEnter() { if (!TestThread.IsThreadingSupported) return; MonitorAbortEnter test = new MonitorAbortEnter(); String result = test.testMonitorAbortEnter(); if (result != null) Assert(result, result == null); }