Class AbstractButtonAssert<SELF extends AbstractButtonAssert<SELF>>

java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,javafx.css.Styleable>
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:
ButtonAssert

public class AbstractButtonAssert<SELF extends AbstractButtonAssert<SELF>> extends AbstractLabeledAssert<SELF>
Base class for all Button assertions.
  • Field Summary

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractButtonAssert(javafx.scene.control.Button actual, Class<?> selfType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Verifies that the actual Button is a cancel button.
    Verifies that the actual Button is a default button.
    Verifies that the actual Button is not a cancel button.
    Verifies that the actual Button is not a default button.

    Methods inherited from class org.testfx.assertions.api.AbstractLabeledAssert

    doesNotHaveText, doesNotHaveText, hasText, hasText

    Methods inherited from class org.testfx.assertions.api.AbstractParentAssert

    doesNotHaveExactlyNumChildren, hasAnyChild, hasExactlyNumChildren, hasNoChildren

    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 Details

    • AbstractButtonAssert

      protected AbstractButtonAssert(javafx.scene.control.Button actual, Class<?> selfType)
  • Method Details

    • isCancelButton

      public SELF isCancelButton()
      Verifies that the actual Button is a cancel button.
      Returns:
      this assertion object
    • isNotCancelButton

      public SELF isNotCancelButton()
      Verifies that the actual Button is not a cancel button.
      Returns:
      this assertion object
    • isDefaultButton

      public SELF isDefaultButton()
      Verifies that the actual Button is a default button.
      Returns:
      this assertion object
    • isNotDefaultButton

      public SELF isNotDefaultButton()
      Verifies that the actual Button is not a default button.
      Returns:
      this assertion object