/* * Test that an Interrupt outside of a Sleep hits the next * attempt to Sleep. */ public void TestMonitorInterruptSleep() { if (!TestThread.IsThreadingSupported) { return; } MonitorInterruptSleep test = new MonitorInterruptSleep(); String result = test.testMonitorInterruptSleep(); if (result != null) { Assert(result, result == null); } }
/* * Test that an Interrupt outside of a Sleep hits the next * attempt to Sleep. */ public void TestMonitorInterruptSleep() { if (!TestThread.IsThreadingSupported) { return; } MonitorInterruptSleep test = new MonitorInterruptSleep(); String result = test.testMonitorInterruptSleep(); if (result != null) Assert(result, result == null); }