public class AbstractTextInputControlAssert<SELF extends AbstractTextInputControlAssert<SELF>> extends AbstractParentAssert<SELF>
TextInputControl assertions.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTextInputControlAssert(javafx.scene.control.TextInputControl actual,
java.lang.Class<?> selfType) |
| Modifier and Type | Method and Description |
|---|---|
SELF |
doesNotHaveText(org.hamcrest.Matcher<java.lang.String> matcher)
Verifies that the actual
TextInputControl is not matched by the given
matcher. |
SELF |
doesNotHaveText(java.lang.String text)
Verifies that the actual
TextInputControl does not have exactly the
given text. |
SELF |
hasText(org.hamcrest.Matcher<java.lang.String> matcher)
Verifies that the actual
TextInputControl is matched by the given matcher. |
SELF |
hasText(java.lang.String text)
Verifies that the actual
TextInputControl has exactly the given text. |
doesNotHaveExactlyNumChildren, hasAnyChild, hasExactlyNumChildren, hasNoChildrendoesNotHaveChild, hasChild, hasExactlyChildren, isDisabled, isEnabled, isFocused, isInvisible, isNotFocused, isVisibleas, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorprotected AbstractTextInputControlAssert(javafx.scene.control.TextInputControl actual,
java.lang.Class<?> selfType)
public SELF hasText(java.lang.String text)
TextInputControl has exactly the given text.text - the given text to compare the actual text topublic SELF doesNotHaveText(java.lang.String text)
TextInputControl does not have exactly the
given text.text - the given text to compare the actual text topublic SELF hasText(org.hamcrest.Matcher<java.lang.String> matcher)
TextInputControl is matched by the given matcher.matcher - the String matcher to test the actual text withpublic SELF doesNotHaveText(org.hamcrest.Matcher<java.lang.String> matcher)
TextInputControl is not matched by the given
matcher.matcher - the String matcher to test the actual text with