Package org.testfx.assertions.api
Class AbstractDimension2DAssert<SELF extends AbstractDimension2DAssert<SELF>>
java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,javafx.geometry.Dimension2D>
org.testfx.assertions.api.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, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDimension2DAssert(javafx.geometry.Dimension2D dimension2D, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptiondoesNotHaveDimension(double width, double height) Verifies that the actualDimension2Ddoes not have either the givenwidthand/orheight.hasDimension(double width, double height) Verifies that the actualDimension2Dhas the givenwidthandheight.Methods inherited from class org.assertj.core.api.AbstractAssert
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, 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, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Constructor Details
-
AbstractDimension2DAssert
-
-
Method Details
-
hasDimension
Verifies that the actualDimension2Dhas the givenwidthandheight.- 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
Verifies that the actualDimension2Ddoes not have either the givenwidthand/orheight.- Parameters:
width- the given width to compare the actual width toheight- the given height to compare the actual height to- Returns:
- this assertion object
-