|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.freehep.jas.util.waitcursor.WaitCursorEventQueueTest
public class WaitCursorEventQueueTest
Constructor Summary | |
---|---|
WaitCursorEventQueueTest(String name)
|
Method Summary | |
---|---|
void |
setUp()
|
void |
tearDown()
|
void |
testCursor()
|
void |
testCursorAndDialog()
|
void |
testCursorAndDialogAndCursor()
|
void |
testCursorAndTwoDialogsAndCursor()
|
void |
testDelayedGetNextEvent()
This test checks the condition where the EventDispatchThread does not call EventQueue.getNextEvent() within TIMEOUT, (presumably) because of thread contention, even when there is not a dialog going down. |
void |
testDialog()
|
void |
testNoCursor()
|
void |
testTwoDialogs()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WaitCursorEventQueueTest(String name)
Method Detail |
---|
public void setUp()
setUp
in class junit.framework.TestCase
public void tearDown() throws InvocationTargetException, InterruptedException
tearDown
in class junit.framework.TestCase
InvocationTargetException
InterruptedException
public void testCursor() throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
public void testCursorAndDialog() throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
public void testCursorAndDialogAndCursor() throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
public void testCursorAndTwoDialogsAndCursor() throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
public void testDelayedGetNextEvent() throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
public void testDialog() throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
public void testNoCursor() throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
public void testTwoDialogs() throws InvocationTargetException, InterruptedException
InvocationTargetException
InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |