org.fest.swing.core
Class EdtSafeCondition
java.lang.Object
org.fest.swing.timing.Condition
org.fest.swing.core.EdtSafeCondition
public abstract class EdtSafeCondition
- extends Condition
Understands a Condition
that is evaluated in the event dispatch thread (EDT.)
- Since:
- 1.2
- Author:
- Alex Ruiz
Method Summary |
boolean |
test()
Checks if the condition has been satisfied. |
protected abstract boolean |
testInEDT()
Checks if the condition has been satisfied. |
EdtSafeCondition
public EdtSafeCondition(String description)
- Creates a new
EdtSafeCondition
.
- Parameters:
description
- describes this condition.
EdtSafeCondition
public EdtSafeCondition(org.fest.assertions.Description description)
- Creates a new
EdtSafeCondition
.
- Parameters:
description
- describes this condition.
test
public final boolean test()
- Checks if the condition has been satisfied.
- Specified by:
test
in class Condition
- Returns:
true
if the condition has been satisfied, otherwise false
.
testInEDT
protected abstract boolean testInEDT()
- Checks if the condition has been satisfied. This method is guaranteed to be executed in the event dispatch thread.
- Returns:
true
if the condition has been satisfied, otherwise false
.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.