Module org.testfx
Package org.testfx.assertions.api
Class AbstractDimension2DAssert<SELF extends AbstractDimension2DAssert<SELF>>
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,Dimension2D>
-
- org.testfx.assertions.api.AbstractDimension2DAssert<SELF>
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<SELF,Dimension2D>,org.assertj.core.api.Descriptable<SELF>,org.assertj.core.api.ExtensionPoints<SELF,Dimension2D>
- Direct Known Subclasses:
Dimension2DAssert
public class AbstractDimension2DAssert<SELF extends AbstractDimension2DAssert<SELF>> extends org.assertj.core.api.AbstractAssert<SELF,Dimension2D>
Base class for allDimension2Dassertions.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDimension2DAssert(Dimension2D dimension2D, Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELFdoesNotHaveDimension(double width, double height)SELFhasDimension(double width, double height)-
Methods inherited from class org.assertj.core.api.AbstractAssert
as, 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, withThreadDumpOnError
-
-
-
-
Constructor Detail
-
AbstractDimension2DAssert
protected AbstractDimension2DAssert(Dimension2D dimension2D, Class<?> selfType)
-
-
Method Detail
-
hasDimension
public SELF hasDimension(double width, double height)
- Parameters:
width- the given width to compare the actual width toheight- the given height to compare the actual height to- Returns:
- this assertion object
-
doesNotHaveDimension
public SELF doesNotHaveDimension(double width, double height)
- Parameters:
width- the given width to compare the actual width toheight- the given height to compare the actual height to- Returns:
- this assertion object
-
-