org.curjent.test.agent
Class AgentAwaitTest
java.lang.Object
org.curjent.test.agent.AgentTest
org.curjent.test.agent.AgentAwaitTest
public class AgentAwaitTest
- extends AgentTest
Tests for Agent.await(Object, long, TimeUnit)
and
related methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
agent
AgentAwaitTest.AgentAwaitTestAgent agent
AgentAwaitTest
public AgentAwaitTest()
newTestAgent
protected TestAgent newTestAgent()
- Specified by:
newTestAgent
in class AgentTest
newAgent
private AgentAwaitTest.AgentAwaitTestAgent newAgent()
testAwait
public void testAwait()
throws InterruptedException
- Throws:
InterruptedException
testTimeout
public void testTimeout()
throws InterruptedException
- Throws:
InterruptedException
testMultipleAwaits
public void testMultipleAwaits()
throws InterruptedException
- Throws:
InterruptedException
testParallelAwaits
public void testParallelAwaits()
throws InterruptedException
- Throws:
InterruptedException
testAwaitParams
public void testAwaitParams()
throws InterruptedException
- Throws:
InterruptedException
testInterrupted
public void testInterrupted()
testDeadlock
public void testDeadlock()
Copyright 2009-2011 Tom Landon
Apache License 2.0