Module org.testfx

Class AbstractDimension2DAssert<SELF extends AbstractDimension2DAssert<SELF>>

  • All Implemented Interfaces:
    org.assertj.core.api.Assert<SELF,​javafx.geometry.Dimension2D>, org.assertj.core.api.Descriptable<SELF>, org.assertj.core.api.ExtensionPoints<SELF,​javafx.geometry.Dimension2D>
    Direct Known Subclasses:
    Dimension2DAssert

    public class AbstractDimension2DAssert<SELF extends AbstractDimension2DAssert<SELF>>
    extends org.assertj.core.api.AbstractAssert<SELF,​javafx.geometry.Dimension2D>
    Base class for all Dimension2D assertions.
    • Field Summary

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

        actual, info, myself, throwUnsupportedExceptionOnEquals
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractDimension2DAssert​(javafx.geometry.Dimension2D dimension2D, Class<?> selfType)  
    • Method Summary

      Modifier and Type Method Description
      SELF doesNotHaveDimension​(double width, double height)
      Verifies that the actual Dimension2D does not have either the given width and/or height.
      SELF hasDimension​(double width, double height)
      Verifies that the actual Dimension2D has the given width and height.
      • Methods inherited from class org.assertj.core.api.AbstractAssert

        as, as, asInstanceOf, 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, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
    • Constructor Detail

      • AbstractDimension2DAssert

        protected AbstractDimension2DAssert​(javafx.geometry.Dimension2D dimension2D,
                                            Class<?> selfType)
    • Method Detail

      • hasDimension

        public SELF hasDimension​(double width,
                                 double height)
        Verifies that the actual Dimension2D has the given width and height.
        Parameters:
        width - the given width to compare the actual width to
        height - the given height to compare the actual height to
        Returns:
        this assertion object
      • doesNotHaveDimension

        public SELF doesNotHaveDimension​(double width,
                                         double height)
        Verifies that the actual Dimension2D does not have either the given width and/or height.
        Parameters:
        width - the given width to compare the actual width to
        height - the given height to compare the actual height to
        Returns:
        this assertion object