@Unstable(reason="needs more tests") public class TextInputControlMatchers extends Object
TextInputControl
Constructor and Description |
---|
TextInputControlMatchers() |
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Node> |
hasText(org.hamcrest.Matcher<String> matcher)
Creates a matcher that matches all
TextInputControl s whose text matches the given matcher . |
static org.hamcrest.Matcher<Node> |
hasText(String string)
Creates a matcher that matches all
TextInputControl s whose text equals the given string . |
public static org.hamcrest.Matcher<Node> hasText(String string)
TextInputControl
s whose text equals the given string
.public static org.hamcrest.Matcher<Node> hasText(org.hamcrest.Matcher<String> matcher)
TextInputControl
s whose text matches the given matcher
.