public class WaitCursorEventQueueTest
extends junit.framework.TestCase
Constructor and Description |
---|
WaitCursorEventQueueTest(String name) |
Modifier and Type | Method and Description |
---|---|
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() |
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public WaitCursorEventQueueTest(String name)
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
public void testCursorAndDialog() throws InvocationTargetException, InterruptedException
public void testCursorAndDialogAndCursor() throws InvocationTargetException, InterruptedException
public void testCursorAndTwoDialogsAndCursor() throws InvocationTargetException, InterruptedException
public void testDelayedGetNextEvent() throws InvocationTargetException, InterruptedException
public void testDialog() throws InvocationTargetException, InterruptedException
public void testNoCursor() throws InvocationTargetException, InterruptedException
public void testTwoDialogs() throws InvocationTargetException, InterruptedException
Copyright © 2018. All rights reserved.