org.curjent.test.agent
Class CapacityTest

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

public class CapacityTest
extends AgentTest

Tests for Capacity.


Nested Class Summary
(package private) static interface CapacityTest.CapacityTestAgent
           
(package private)  class CapacityTest.CapacityTestTask
           
 
Nested classes/interfaces inherited from class org.curjent.test.agent.AgentTest
AgentTest.Context
 
Field Summary
private static int ACCEPTED_DEFAULT
           
(package private)  CapacityTest.CapacityTestAgent agent
           
private static int PENDING_DEFAULT
           
private static long TIMEOUT_DEFAULT
           
private static TimeUnit TIMEUNIT_DEFAULT
           
 
Fields inherited from class org.curjent.test.agent.AgentTest
config, failed, stats
 
Constructor Summary
CapacityTest()
           
 
Method Summary
protected  TestAgent newTestAgent()
           
 void testAnnotation()
           
 void testConfig()
           
 void testPending()
           
(package private)  void testPendingLimit(int PENDING)
           
 void testPendingLimit0()
           
 void testPendingLimit1()
           
 void testPendingLimit2()
           
 void testPendingTimeout()
           
 
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

ACCEPTED_DEFAULT

private static final int ACCEPTED_DEFAULT
See Also:
Constant Field Values

PENDING_DEFAULT

private static final int PENDING_DEFAULT
See Also:
Constant Field Values

TIMEOUT_DEFAULT

private static final long TIMEOUT_DEFAULT
See Also:
Constant Field Values

TIMEUNIT_DEFAULT

private static final TimeUnit TIMEUNIT_DEFAULT

agent

CapacityTest.CapacityTestAgent agent
Constructor Detail

CapacityTest

public CapacityTest()
Method Detail

newTestAgent

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

testAnnotation

public void testAnnotation()

testConfig

public void testConfig()

testPending

public void testPending()
                 throws InterruptedException
Throws:
InterruptedException

testPendingTimeout

public void testPendingTimeout()
                        throws Throwable
Throws:
Throwable

testPendingLimit0

public void testPendingLimit0()
                       throws InterruptedException
Throws:
InterruptedException

testPendingLimit1

public void testPendingLimit1()
                       throws InterruptedException
Throws:
InterruptedException

testPendingLimit2

public void testPendingLimit2()
                       throws InterruptedException
Throws:
InterruptedException

testPendingLimit

void testPendingLimit(int PENDING)
                throws InterruptedException
Throws:
InterruptedException


Copyright 2009-2011 Tom Landon
Apache License 2.0