org.curjent.test.agent
Class AgentCallTest
java.lang.Object
org.curjent.test.agent.AgentTest
org.curjent.test.agent.AgentCallTest
public class AgentCallTest
- extends AgentTest
Tests for AgentCall
from asynchronous calls.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
agent
AgentCallTest.AgentCallTestAgent agent
AgentCallTest
public AgentCallTest()
newTestAgent
protected TestAgent newTestAgent()
- Specified by:
newTestAgent
in class AgentTest
cast
private AgentCall<?> cast(AgentCall<?> call)
testCall
public void testCall()
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
testSetArgument
public void testSetArgument()
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
testSetResult
public void testSetResult()
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
testFinish
public void testFinish()
throws InterruptedException
- Throws:
InterruptedException
testFinishSimple
public void testFinishSimple()
testFinishSimpleResult
public void testFinishSimpleResult()
testFinishSimpleException
public void testFinishSimpleException()
testFinishException
public void testFinishException()
throws InterruptedException
- Throws:
InterruptedException
testFinishInterrupt
public void testFinishInterrupt()
throws InterruptedException
- Throws:
InterruptedException
testFinishBadResult
public void testFinishBadResult()
testAwaitTimeout
public void testAwaitTimeout()
throws InterruptedException
- Throws:
InterruptedException
testListener
public void testListener()
throws InterruptedException
- Throws:
InterruptedException
testListenerFinished
public void testListenerFinished()
throws InterruptedException
- Throws:
InterruptedException
testRun
public void testRun()
testData
public void testData()
throws InterruptedException
- Throws:
InterruptedException
testCallSite
public void testCallSite()
testThisCall
public void testThisCall()
testAgentResult
public void testAgentResult()
throws InterruptedException,
ExecutionException
- Throws:
InterruptedException
ExecutionException
Copyright 2009-2011 Tom Landon
Apache License 2.0