public abstract class AssertJSwingJUnitTestCase extends AssertJSwingTestCaseTemplate
FailOnThreadViolationRepaintManager to catch violations of Swing thread rules and manages both
creation and clean up of a Robot.| Constructor and Description |
|---|
AssertJSwingJUnitTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
onSetUp()
Subclasses need set up their own test fixture in this method.
|
protected void |
onTearDown()
Subclasses need to clean up resources in this method.
|
void |
setUp()
Sets up this test's fixture, starting from creation of a new
. |
static void |
setUpOnce()
Installs a
to catch violations of Swing threading rules. |
void |
tearDown()
Cleans up any resources used in this test.
|
static void |
tearDownOnce()
Removes the
again to allow EDT violating and EDT safe
tests in the same suite. |
cleanUp, robot, setUpRobotpublic static final void setUpOnce()
FailOnThreadViolationRepaintManager to catch violations of Swing threading rules.public final void setUp()
Robot.protected abstract void onSetUp()
setUp().public static final void tearDownOnce()
FailOnThreadViolationRepaintManager again to allow EDT violating and EDT safe
tests in the same suite.public final void tearDown()
onTearDown(), this method cleans up
resources used by this test's Robot.protected void onTearDown()
tearDown().Copyright © 2014–2016 AssertJ. All rights reserved.