Package org.testfx.assertions.api
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 allStyleableassertions.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractStyleableAssert(javafx.css.Styleable actual, java.lang.Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELFdoesNotHaveId(java.lang.String id)Verifies that the actualStyleabledoes not have the given CSS id.SELFdoesNotHaveStyle(java.lang.String style)Verifies that the actualStyleabledoes not have the given CSS style.SELFdoesNotHaveStyleableParent(javafx.css.Styleable styleableParent)Verifies that the actualStyleabledoes not have the given parent.SELFdoesNotHaveTypeSelector(java.lang.String typeSelector)Verifies that the actualStyleabledoes not have the given type selector.SELFhasId(java.lang.String id)Verifies that the actualStyleablehas the given CSS id.SELFhasStyle(java.lang.String style)Verifies that the actualStyleablehas the given CSS style.SELFhasStyleableParent(javafx.css.Styleable styleableParent)Verifies that the actualStyleablehas the given parent.SELFhasTypeSelector(java.lang.String typeSelector)Verifies that the actualStyleablehas the given type selector.-
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, withThreadDumpOnError
-
-
-
-
Method Detail
-
hasTypeSelector
public SELF hasTypeSelector(java.lang.String typeSelector)
Verifies that the actualStyleablehas 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(java.lang.String typeSelector)
Verifies that the actualStyleabledoes 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(java.lang.String id)
Verifies that the actualStyleablehas 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(java.lang.String id)
Verifies that the actualStyleabledoes 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(java.lang.String style)
Verifies that the actualStyleablehas 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(java.lang.String style)
Verifies that the actualStyleabledoes 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 actualStyleablehas 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 actualStyleabledoes not have the given parent.- Parameters:
styleableParent- the given parent to compare the actual styleable parent to- Returns:
- this assertion object
-
-