com.resilientedge.util.workerPool
Class ZWaitQStatsTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.resilientedge.util.test.BaseTestCase
                    |
                    +--com.resilientedge.util.workerPool.ZWaitQStatsTest
All Implemented Interfaces:
junit.framework.Test

public class ZWaitQStatsTest
extends BaseTestCase

Unit Test for the WaitQStats Class

Author:
jgardner

Constructor Summary
ZWaitQStatsTest(java.lang.String name)
           
 
Method Summary
 void testConstruction()
          Test Construction of a WaitQStats
 void testGetId()
          Test construction with Id
 void testNotifyCount()
          Test notifyCounts
 void testTimeoutCount()
          Test timeout count
 void testWaitCounts()
          Test increment the wait counts
 void testWaitTimes()
          Test increment the wait times
 
Methods inherited from class com.resilientedge.util.test.BaseTestCase
log, lookupConfig, lookupConfig
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, name, run, run, runBare, runTest, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZWaitQStatsTest

public ZWaitQStatsTest(java.lang.String name)
Parameters:
name -  
Method Detail

testConstruction

public void testConstruction()
                      throws java.lang.Exception
Test Construction of a WaitQStats
Throws:
java.lang.Exception -  

testGetId

public void testGetId()
               throws java.lang.Exception
Test construction with Id
Throws:
java.lang.Exception -  

testWaitCounts

public void testWaitCounts()
                    throws java.lang.Exception
Test increment the wait counts
Throws:
java.lang.Exception -  

testWaitTimes

public void testWaitTimes()
                   throws java.lang.Exception
Test increment the wait times
Throws:
java.lang.Exception -  

testNotifyCount

public void testNotifyCount()
                     throws java.lang.Exception
Test notifyCounts
Throws:
java.lang.Exception -  

testTimeoutCount

public void testTimeoutCount()
                      throws java.lang.Exception
Test timeout count
Throws:
java.lang.Exception -  


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.