|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.swing.testing.FestSwingTestCaseTemplate
org.fest.swing.junit.testcase.FestSwingJUnitTestCase
public abstract class FestSwingJUnitTestCase
Understands a template for test cases that use FEST-Swing and JUnit. This template installs a
to catch violations of Swing thread rules and manages both
creation and clean up of a FailOnThreadViolationRepaintManager.
Robot
| Constructor Summary | |
|---|---|
FestSwingJUnitTestCase()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.fest.swing.testing.FestSwingTestCaseTemplate |
|---|
cleanUp, robot, setUpRobot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FestSwingJUnitTestCase()
| Method Detail |
|---|
public static 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().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||