public abstract class FestSwingTestngTestCase
extends org.fest.swing.testing.FestSwingTestCaseTemplate
FailOnThreadViolationRepaintManager
to catch violations of Swing thread rules and manages both
creation and clean up of a Robot
.Constructor and Description |
---|
FestSwingTestngTestCase() |
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
. |
void |
setUpOnce()
Installs a
to catch violations of Swing threading rules. |
void |
tearDown()
Cleans up any resources used in this test.
|
public final void setUpOnce()
FailOnThreadViolationRepaintManager
to catch violations of Swing threading rules.public final void setUp()
Robot
.FestSwingTestCaseTemplate.setUpRobot()
,
onSetUp()
protected abstract void onSetUp()
setUp()
.public final void tearDown()
onTearDown()
, this method cleans up
resources used by this test's Robot
.FestSwingTestCaseTemplate.cleanUp()
,
onTearDown()
protected void onTearDown()
tearDown()
.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.