示例#1
0
    /*
     * 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);
	}