Class AbstractStyleableAssert<SELF extends AbstractStyleableAssert<SELF>>

java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,javafx.css.Styleable>
org.testfx.assertions.api.AbstractStyleableAssert<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:
AbstractMenuItemAssert, AbstractNodeAssert, StyleableAssert

public class AbstractStyleableAssert<SELF extends AbstractStyleableAssert<SELF>> extends org.assertj.core.api.AbstractAssert<SELF,javafx.css.Styleable>
Base class for all Styleable assertions.
  • Field Summary

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractStyleableAssert(javafx.css.Styleable actual, Class<?> selfType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Verifies that the actual Styleable does not have the given CSS id.
    Verifies that the actual Styleable does not have the given CSS style.
    doesNotHaveStyleableParent(javafx.css.Styleable styleableParent)
    Verifies that the actual Styleable does not have the given parent.
    Verifies that the actual Styleable does not have the given type selector.
    Verifies that the actual Styleable has the given CSS id.
    Verifies that the actual Styleable has the given CSS style.
    hasStyleableParent(javafx.css.Styleable styleableParent)
    Verifies that the actual Styleable has the given parent.
    hasTypeSelector(String typeSelector)
    Verifies that the actual Styleable has the given type selector.

    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

    • AbstractStyleableAssert

      protected AbstractStyleableAssert(javafx.css.Styleable actual, Class<?> selfType)
  • Method Details

    • hasTypeSelector

      public SELF hasTypeSelector(String typeSelector)
      Verifies that the actual Styleable has the given type selector.
      Parameters:
      typeSelector - the given type selector to compare the actual type selector to
      Returns:
      this assertion object
    • doesNotHaveTypeSelector

      public SELF doesNotHaveTypeSelector(String typeSelector)
      Verifies that the actual Styleable does not have the given type selector.
      Parameters:
      typeSelector - the given type selector to compare the actual type selector to
      Returns:
      this assertion object
    • hasId

      public SELF hasId(String id)
      Verifies that the actual Styleable has the given CSS id.
      Parameters:
      id - the given CSS id to compare the actual CSS id to
      Returns:
      this assertion object
    • doesNotHaveId

      public SELF doesNotHaveId(String id)
      Verifies that the actual Styleable does not have the given CSS id.
      Parameters:
      id - the given CSS id to compare the actual CSS id to
      Returns:
      this assertion object
    • hasStyle

      public SELF hasStyle(String style)
      Verifies that the actual Styleable has the given CSS style.
      Parameters:
      style - the given CSS style to compare the actual CSS style to
      Returns:
      this assertion object
    • doesNotHaveStyle

      public SELF doesNotHaveStyle(String style)
      Verifies that the actual Styleable does not have the given CSS style.
      Parameters:
      style - the given CSS style to compare the actual CSS style to
      Returns:
      this assertion object
    • hasStyleableParent

      public SELF hasStyleableParent(javafx.css.Styleable styleableParent)
      Verifies that the actual Styleable has the given parent.
      Parameters:
      styleableParent - the given parent to compare the actual styleable parent to
      Returns:
      this assertion object
    • doesNotHaveStyleableParent

      public SELF doesNotHaveStyleableParent(javafx.css.Styleable styleableParent)
      Verifies that the actual Styleable does not have the given parent.
      Parameters:
      styleableParent - the given parent to compare the actual styleable parent to
      Returns:
      this assertion object