public class ComponentVisibleCondition extends Condition
EMPTY_TEXT| Constructor and Description |
|---|
ComponentVisibleCondition(ComponentFinder finder,
ComponentMatcher matcher)
Creates a new
|
ComponentVisibleCondition(String name)
Creates a new
|
ComponentVisibleCondition(String name,
Class<? extends Component> type)
Creates a new
|
ComponentVisibleCondition(String description,
ComponentFinder finder,
ComponentMatcher matcher)
Creates a new
|
| Modifier and Type | Method and Description |
|---|---|
Component |
found() |
boolean |
test()
Returns
true if a component that matches the search criteria in this
condition's can be found. |
descriptionAddendum, done, toStringpublic ComponentVisibleCondition(String name, Class<? extends Component> type)
ComponentVisibleConditionname - The name of the component to find.type - The type of the component to find.public ComponentVisibleCondition(String name)
ComponentVisibleConditionname - The name of the component to find.public ComponentVisibleCondition(ComponentFinder finder, ComponentMatcher matcher)
ComponentVisibleConditionfinder - performs the component search.matcher - specifies the condition that the component we are looking for needs to
match.public ComponentVisibleCondition(String description, ComponentFinder finder, ComponentMatcher matcher)
ComponentVisibleConditiondescription - the description of this condition.finder - performs the component search.matcher - specifies the condition that the component we are looking for needs to
match.public boolean test()
true if a component that matches the search criteria in this
condition's ComponentMatcher can be found. Otherwise, this
method returns false.public Component found()
Copyright © 2014–2016 AssertJ. All rights reserved.