org.apache.commons.performance
Class ClientThreadTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.performance.ClientThreadTest
All Implemented Interfaces:
junit.framework.Test

public class ClientThreadTest
extends junit.framework.TestCase


Field Summary
protected  org.apache.commons.performance.ClientThread clientThread
           
protected static Logger logger
           
protected static org.apache.commons.performance.Statistics stats
           
 
Constructor Summary
ClientThreadTest(String name)
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void testAdjustStateNoChange()
           
 void testComputeCyclicDelayConst()
           
 void testComputeCyclicDelayRamp()
           
 void testCyclicDelayRandom()
           
 void testLifeCycle()
           
 void testLifeCycleThrowing()
           
 void testStateTransitions()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

clientThread

protected org.apache.commons.performance.ClientThread clientThread

logger

protected static Logger logger

stats

protected static org.apache.commons.performance.Statistics stats
Constructor Detail

ClientThreadTest

public ClientThreadTest(String name)
Method Detail

suite

public static junit.framework.Test suite()

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testComputeCyclicDelayRamp

public void testComputeCyclicDelayRamp()
                                throws Exception
Throws:
Exception

testComputeCyclicDelayConst

public void testComputeCyclicDelayConst()
                                 throws Exception
Throws:
Exception

testCyclicDelayRandom

public void testCyclicDelayRandom()
                           throws Exception
Throws:
Exception

testAdjustStateNoChange

public void testAdjustStateNoChange()
                             throws Exception
Throws:
Exception

testStateTransitions

public void testStateTransitions()
                          throws Exception
Throws:
Exception

testLifeCycle

public void testLifeCycle()

testLifeCycleThrowing

public void testLifeCycleThrowing()


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.