org.curjent.test.agent
Class ListenerTest

java.lang.Object
  extended by org.curjent.test.agent.AgentTest
      extended by org.curjent.test.agent.ListenerTest

public class ListenerTest
extends AgentTest

Tests for CallStateListener.

See Also:
ConfigTest.testListenerConfig(), AgentCallTest, FutureTest

Nested Class Summary
(package private) static interface ListenerTest.ListenerTestAgent
           
(package private) static class ListenerTest.ListenerTestTask
           
 
Nested classes/interfaces inherited from class org.curjent.test.agent.AgentTest
AgentTest.Context
 
Field Summary
(package private)  ListenerTest.ListenerTestAgent agent
           
(package private)  CallSite m1
           
(package private)  CallSite m2
           
(package private)  CallSite m3
           
 
Fields inherited from class org.curjent.test.agent.AgentTest
config, failed, stats
 
Constructor Summary
ListenerTest()
           
 
Method Summary
protected  TestAgent newTestAgent()
           
 void testAwait()
           
 void testFinishException()
           
 void testFinishResult()
           
 void testListenerException()
           
 void testReentry()
           
 void testState()
           
 
Methods inherited from class org.curjent.test.agent.AgentTest
flush, log, setUp, setUp, setUp, sleep, stats, tearDown, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

agent

ListenerTest.ListenerTestAgent agent

m1

CallSite m1

m2

CallSite m2

m3

CallSite m3
Constructor Detail

ListenerTest

public ListenerTest()
Method Detail

newTestAgent

protected TestAgent newTestAgent()
Specified by:
newTestAgent in class AgentTest

testState

public void testState()

testFinishException

public void testFinishException()

testFinishResult

public void testFinishResult()

testListenerException

public void testListenerException()

testAwait

public void testAwait()

testReentry

public void testReentry()


Copyright 2009-2011 Tom Landon
Apache License 2.0