Class AbstractTextInputControlAssert<SELF extends AbstractTextInputControlAssert<SELF>>

  • All Implemented Interfaces:
    org.assertj.core.api.Assert<SELF,​javafx.css.Styleable>, org.assertj.core.api.Descriptable<SELF>, org.assertj.core.api.ExtensionPoints<SELF,​javafx.css.Styleable>
    Direct Known Subclasses:
    TextInputControlAssert

    public class AbstractTextInputControlAssert<SELF extends AbstractTextInputControlAssert<SELF>>
    extends AbstractParentAssert<SELF>
    Base class for all TextInputControl assertions.
    • Field Summary

      • Fields inherited from class org.assertj.core.api.AbstractAssert

        actual, info, myself, objects, throwUnsupportedExceptionOnEquals
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractTextInputControlAssert​(javafx.scene.control.TextInputControl actual, java.lang.Class<?> selfType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SELF doesNotHaveText​(java.lang.String text)
      Verifies that the actual TextInputControl does not have exactly the given text.
      SELF doesNotHaveText​(org.hamcrest.Matcher<java.lang.String> matcher)
      Verifies that the actual TextInputControl is not matched by the given matcher.
      SELF hasText​(java.lang.String text)
      Verifies that the actual TextInputControl has exactly the given text.
      SELF hasText​(org.hamcrest.Matcher<java.lang.String> matcher)
      Verifies that the actual TextInputControl is matched by the given matcher.
      • Methods inherited from class org.assertj.core.api.AbstractAssert

        areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.assertj.core.api.Descriptable

        as, as, as, describedAs, describedAs
    • Constructor Detail

      • AbstractTextInputControlAssert

        protected AbstractTextInputControlAssert​(javafx.scene.control.TextInputControl actual,
                                                 java.lang.Class<?> selfType)
    • Method Detail

      • hasText

        public SELF hasText​(java.lang.String text)
        Verifies that the actual TextInputControl has exactly the given text.
        Parameters:
        text - the given text to compare the actual text to
        Returns:
        this assertion object
      • doesNotHaveText

        public SELF doesNotHaveText​(java.lang.String text)
        Verifies that the actual TextInputControl does not have exactly the given text.
        Parameters:
        text - the given text to compare the actual text to
        Returns:
        this assertion object
      • hasText

        public SELF hasText​(org.hamcrest.Matcher<java.lang.String> matcher)
        Verifies that the actual TextInputControl is matched by the given matcher.
        Parameters:
        matcher - the String matcher to test the actual text with
        Returns:
        this assertion object
      • doesNotHaveText

        public SELF doesNotHaveText​(org.hamcrest.Matcher<java.lang.String> matcher)
        Verifies that the actual TextInputControl is not matched by the given matcher.
        Parameters:
        matcher - the String matcher to test the actual text with
        Returns:
        this assertion object