|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.swing.fixture.ComponentFixtureValidator
public final class ComponentFixtureValidator
Understands a validator of common objects used in component fixtures.
Method Summary | ||
---|---|---|
static Robot |
notNullRobot(Robot robot)
Verifies that the given is not null . |
|
static
|
notNullTarget(T target)
Verifies that the given is not null . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Robot notNullRobot(Robot robot)
Robot
is not null
.
robot
- the Robot
to verify.
Robot
.
NullPointerException
- if robot
is null
.public static <T extends Component> T notNullTarget(T target)
Component
is not null
.
T
- specifies the type of Component
to return.target
- the Component
to verify.
Component
.
NullPointerException
- if target
is null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |