public class TextInputControlMatchers
extends java.lang.Object
TextInputControl controls.| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<javafx.scene.control.TextInputControl> |
hasText(org.hamcrest.Matcher<java.lang.String> matcher)
Creates a matcher that matches all
TextInputControls that have text that matches the given
matcher. |
static org.hamcrest.Matcher<javafx.scene.control.TextInputControl> |
hasText(java.lang.String text)
Creates a matcher that matches all
TextInputControls that have text equal to the given text. |
public static org.hamcrest.Matcher<javafx.scene.control.TextInputControl> hasText(java.lang.String text)
TextInputControls that have text equal to the given text.text - the String the matched TextInputControls should have as their textpublic static org.hamcrest.Matcher<javafx.scene.control.TextInputControl> hasText(org.hamcrest.Matcher<java.lang.String> matcher)
TextInputControls that have text that matches the given
matcher.matcher - the Matcher<String> the TextInputControls text should match