Module org.testfx
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 allWindow
assertions.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractWindowAssert(javafx.stage.Window window, Class<?> selfType)
-
Method Summary
Modifier and Type Method Description SELF
isFocused()
Verifies that the actualWindow
is focused.SELF
isNotFocused()
Verifies that the actualWindow
is not focused.SELF
isNotShowing()
Verifies that the actualWindow
is not showing.SELF
isShowing()
Verifies that the actualWindow
is showing.-
Methods inherited from class org.assertj.core.api.AbstractAssert
as, as, asInstanceOf, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Constructor Detail
-
AbstractWindowAssert
protected AbstractWindowAssert(javafx.stage.Window window, Class<?> selfType)
-
-
Method Detail
-
isShowing
public SELF isShowing()
Verifies that the actualWindow
is showing.- Returns:
- this assertion object
-
isNotShowing
public SELF isNotShowing()
Verifies that the actualWindow
is not showing.- Returns:
- this assertion object
-
isFocused
public SELF isFocused()
Verifies that the actualWindow
is focused.- Returns:
- this assertion object
-
isNotFocused
public SELF isNotFocused()
Verifies that the actualWindow
is not focused.- Returns:
- this assertion object
-
-