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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Timer.Test
public Timer.Test()
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