com.objectwave.utility
Class Timer.Test

java.lang.Object
  |
  +--com.objectwave.test.UnitTestBaseImpl
        |
        +--com.objectwave.utility.Timer.Test
All Implemented Interfaces:
UnitTest
Enclosing class:
Timer

public static class Timer.Test
extends UnitTestBaseImpl

Test case.

Version:
$Id: Timer.java,v 2.1 2002/07/31 15:55:23 dave_hoag Exp $
Author:
dhoag

Field Summary
 
Fields inherited from class com.objectwave.test.UnitTestBaseImpl
testContext
 
Constructor Summary
Timer.Test()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main program for the Test class
 void testContinuousActionListeners()
           
 void testContinuousTimer()
           
 void testMultiShot()
          A multi shot is just like a one shot, except that resources are not released.
 void testOneShot()
           
 void testRunningQueueSize()
           
 void testRunOnceListener()
           
 void testWaitForListeners()
           
 
Methods inherited from class com.objectwave.test.UnitTestBaseImpl
createTest, removeFile, setUp, tearDown, writeFile, writeFileResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timer.Test

public Timer.Test()
Method Detail

testRunOnceListener

public void testRunOnceListener()
                         throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException - Description of Exception

testWaitForListeners

public void testWaitForListeners()
                          throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException - Description of Exception

testRunningQueueSize

public void testRunningQueueSize()
                          throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException - Description of Exception

testContinuousActionListeners

public void testContinuousActionListeners()
                                   throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException - Description of Exception

testContinuousTimer

public void testContinuousTimer()

testOneShot

public void testOneShot()

testMultiShot

public void testMultiShot()
A multi shot is just like a one shot, except that resources are not released. A call to stop() is necessary.


main

public static void main(java.lang.String[] args)
The main program for the Test class

Parameters:
args - The command line arguments