Package org.testfx.assertions.api
Class AbstractWindowAssert<SELF extends AbstractWindowAssert<SELF>>
java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,javafx.stage.Window>
org.testfx.assertions.api.AbstractWindowAssert<SELF>
- All Implemented Interfaces:
org.assertj.core.api.Assert<SELF,
,javafx.stage.Window> org.assertj.core.api.Descriptable<SELF>
,org.assertj.core.api.ExtensionPoints<SELF,
javafx.stage.Window>
- Direct Known Subclasses:
WindowAssert
public class AbstractWindowAssert<SELF extends AbstractWindowAssert<SELF>>
extends org.assertj.core.api.AbstractAssert<SELF,javafx.stage.Window>
Base class for all
Window
assertions.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractWindowAssert
(javafx.stage.Window window, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptionVerifies that the actualWindow
is focused.Verifies that the actualWindow
is not focused.Verifies that the actualWindow
is not showing.Verifies that the actualWindow
is showing.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
-
AbstractWindowAssert
-
-
Method Details
-
isShowing
Verifies that the actualWindow
is showing.- Returns:
- this assertion object
-
isNotShowing
Verifies that the actualWindow
is not showing.- Returns:
- this assertion object
-
isFocused
Verifies that the actualWindow
is focused.- Returns:
- this assertion object
-
isNotFocused
Verifies that the actualWindow
is not focused.- Returns:
- this assertion object
-