Package org.testfx.assertions.api
Class AbstractButtonAssert<SELF extends AbstractButtonAssert<SELF>>
java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,javafx.css.Styleable>
org.testfx.assertions.api.AbstractStyleableAssert<SELF>
org.testfx.assertions.api.AbstractNodeAssert<SELF>
org.testfx.assertions.api.AbstractParentAssert<SELF>
org.testfx.assertions.api.AbstractLabeledAssert<SELF>
org.testfx.assertions.api.AbstractButtonAssert<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:
ButtonAssert
public class AbstractButtonAssert<SELF extends AbstractButtonAssert<SELF>>
extends AbstractLabeledAssert<SELF>
Base class for all
Button assertions.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractButtonAssert(javafx.scene.control.Button actual, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionVerifies that the actualButtonis a cancel button.Verifies that the actualButtonis a default button.Verifies that the actualButtonis not a cancel button.Verifies that the actualButtonis not a default button.Methods inherited from class org.testfx.assertions.api.AbstractLabeledAssert
doesNotHaveText, doesNotHaveText, hasText, hasTextMethods inherited from class org.testfx.assertions.api.AbstractParentAssert
doesNotHaveExactlyNumChildren, hasAnyChild, hasExactlyNumChildren, hasNoChildrenMethods inherited from class org.testfx.assertions.api.AbstractNodeAssert
doesNotHaveChild, hasChild, hasExactlyChildren, isDisabled, isEnabled, isFocused, isInvisible, isNotFocused, isVisibleMethods inherited from class org.testfx.assertions.api.AbstractStyleableAssert
doesNotHaveId, doesNotHaveStyle, doesNotHaveStyleableParent, doesNotHaveTypeSelector, hasId, hasStyle, hasStyleableParent, hasTypeSelectorMethods 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
-
AbstractButtonAssert
-
-
Method Details
-
isCancelButton
Verifies that the actualButtonis a cancel button.- Returns:
- this assertion object
-
isNotCancelButton
Verifies that the actualButtonis not a cancel button.- Returns:
- this assertion object
-
isDefaultButton
Verifies that the actualButtonis a default button.- Returns:
- this assertion object
-
isNotDefaultButton
Verifies that the actualButtonis not a default button.- Returns:
- this assertion object
-