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 all
Styleable
assertions.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractStyleableAssert
(javafx.css.Styleable actual, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptiondoesNotHaveId
(String id) Verifies that the actualStyleable
does not have the given CSS id.doesNotHaveStyle
(String style) Verifies that the actualStyleable
does not have the given CSS style.doesNotHaveStyleableParent
(javafx.css.Styleable styleableParent) Verifies that the actualStyleable
does not have the given parent.doesNotHaveTypeSelector
(String typeSelector) Verifies that the actualStyleable
does not have the given type selector.Verifies that the actualStyleable
has the given CSS id.Verifies that the actualStyleable
has the given CSS style.hasStyleableParent
(javafx.css.Styleable styleableParent) Verifies that the actualStyleable
has the given parent.hasTypeSelector
(String typeSelector) Verifies that the actualStyleable
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
-
-
Method Details
-
hasTypeSelector
Verifies that the actualStyleable
has the given type selector.- Parameters:
typeSelector
- the given type selector to compare the actual type selector to- Returns:
- this assertion object
-
doesNotHaveTypeSelector
Verifies that the actualStyleable
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
Verifies that the actualStyleable
has the given CSS id.- Parameters:
id
- the given CSS id to compare the actual CSS id to- Returns:
- this assertion object
-
doesNotHaveId
Verifies that the actualStyleable
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
Verifies that the actualStyleable
has the given CSS style.- Parameters:
style
- the given CSS style to compare the actual CSS style to- Returns:
- this assertion object
-
doesNotHaveStyle
Verifies that the actualStyleable
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
Verifies that the actualStyleable
has the given parent.- Parameters:
styleableParent
- the given parent to compare the actual styleable parent to- Returns:
- this assertion object
-
doesNotHaveStyleableParent
Verifies that the actualStyleable
does not have the given parent.- Parameters:
styleableParent
- the given parent to compare the actual styleable parent to- Returns:
- this assertion object
-