bb.util
Class ThreadMeasurer.UnitTest
java.lang.Object
bb.util.ThreadMeasurer.UnitTest
- Enclosing class:
- ThreadMeasurer
public static class ThreadMeasurer.UnitTest
- extends Object
See the Overview page of the project's javadocs for a general description of this unit test class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadMeasurer.UnitTest
public ThreadMeasurer.UnitTest()
test_getThreadState
public void test_getThreadState()
test_getDeadlockState
public void test_getDeadlockState()
throws Exception
- Warning: after this method returns, there will be dealocked threads in existence, but they will have daemon status.
- Throws:
Exception
establishDeadlocks
public static void establishDeadlocks()
throws InterruptedException
- Creates 2 threads which deadlock.
Is public so that other classes may access.
- Throws:
InterruptedException