- java.lang.Object
-
- org.testfx.matcher.control.TextInputControlMatchers
-
public class TextInputControlMatchers extends Object
TestFX matchers forTextInputControlcontrols.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.hamcrest.Matcher<TextInputControl>hasText(String text)Creates a matcher that matches allTextInputControls that have text equal to the giventext.static org.hamcrest.Matcher<TextInputControl>hasText(org.hamcrest.Matcher<String> matcher)Creates a matcher that matches allTextInputControls that have text that matches the givenmatcher.
-
-
-
Method Detail
-
hasText
public static org.hamcrest.Matcher<TextInputControl> hasText(String text)
Creates a matcher that matches allTextInputControls that have text equal to the giventext.- Parameters:
text- theStringthe matched TextInputControls should have as their text
-
hasText
public static org.hamcrest.Matcher<TextInputControl> hasText(org.hamcrest.Matcher<String> matcher)
Creates a matcher that matches allTextInputControls that have text that matches the givenmatcher.- Parameters:
matcher- theMatcher<String>the TextInputControls text should match
-
-