public class AbstractLabeledAssert<SELF extends AbstractLabeledAssert<SELF>> extends AbstractParentAssert<SELF>
Labeled assertions.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLabeledAssert(javafx.scene.control.Labeled actual,
java.lang.Class<?> selfType) |
| Modifier and Type | Method and Description |
|---|---|
SELF |
doesNotHaveText(org.hamcrest.Matcher<java.lang.String> matcher)
Verifies that the actual
Labeled is not matched by the given matcher. |
SELF |
doesNotHaveText(java.lang.String text)
Verifies that the actual
Labeled does not have exactly the given text. |
SELF |
hasText(org.hamcrest.Matcher<java.lang.String> matcher)
Verifies that the actual
Labeled is matched by the given matcher. |
SELF |
hasText(java.lang.String text)
Verifies that the actual
Labeled 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 AbstractLabeledAssert(javafx.scene.control.Labeled actual,
java.lang.Class<?> selfType)
public SELF hasText(java.lang.String text)
Labeled has exactly the given text.text - the given text to compare the actual text topublic SELF doesNotHaveText(java.lang.String text)
Labeled 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)
Labeled 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)
Labeled is not matched by the given matcher.matcher - the String matcher to test the actual text with