All Classes and Interfaces
Class
Description
Base class for all
Button
assertions.Base class for all
Color
assertions.Assertion methods for
ComboBox
type.Base class for all
Dimension2D
assertions.Base class for all
Labeled
assertions.Base class for all
ListView
assertions.Base class for all
MenuItem
assertions.Base class for all
Node
assertions.Base class for all
Parent
assertions.Base class for all
Styleable
assertions.Base class for all
TableView
assertions.Base class for all
Text
assertions.Base class for all
TextFlow
assertions.Base class for all
TextInputControl
assertions.Base class for all
Window
assertions.Provides static utility methods for converting a hamcrest matcher to an AssertJ
condition.
Adapter that adapts from a class implementing the
ApplicationFixture
interface to an actual
Application
.An interface that represents a JavaFX application (something that can be initialized,
started, and stopped).
Interface that configures a few necessary System properties before launching an application with
its' given parameters.
Helper interface whose methods' returned
Future
objects' Future.get()
method either indicates
when an Application
's init, start, or stop methods are finished or returns the created application.The base class that your JUnit test classes should extend from that interact with and/or verify the
state of a JavaFX UI.
The entry point for all TestFX assertions for different JavaFX types.
This point query implements a PointQuery within the bounds of an object.
Assertion methods for
Button
s.TestFX matchers for
Button
controls.Possible types for image export
Assertion methods for
Color
s.Contains
Color
utility methods.Assertion methods for
ComboBox
s.TestFX matchers for
ComboBox
controls.Utility class for displaying additional info, running code, or capturing an image of a test whenever
a test fails using
FxAssert.verifyThat(Node, Matcher)
or its related methods.Assertion methods for
Dimension2D
s.Stores a list of events that have been fired since the start of a test; useful for debugging.
All TestFX tests should use
FxAssert.verifyThat(Node, Matcher, Function)
when writing tests,
so that the developer can use DebugUtils
to provide additional info
as to why a test failed.Stores contextual information for
FxAssert
:
a NodeFinder
, which defaults to FxServiceContext.getNodeFinder()
a CaptureSupport
, which defaults to FxServiceContext.getCaptureSupport()
Stores the robot implementations, the window and node finders, position calculators, and capture support for
FxRobot
.Wrapper-like interface that makes it easier to chain together multiple robot methods while adding a number of
convenience methods, such as finding a given node, scene or window via a
PointQuery
, a Predicate
,
or a Matcher
.Wrapper class that holds a static
FxServiceContext
via FxService.serviceContext()
that is lazily created.Responsible for setup and cleanup of JavaFX fixtures that need the JavaFX thread.
Small tool to execute/call JavaFX GUI-related code from potentially non-JavaFX thread (equivalent to old:
SwingUtilities.invokeLater(...) ...
TestFX matchers for
Dimension2D
instances.Simple JUnit 5 extension to ensure that
@Test
statements are executed
in the JavaFX UI thread.Simple JUnit 5 extension to ensure that
@Test
statements are executed
in the JavaFX UI thread.Simple JUnit 5 extension to ensure that
@Test
statements are executed
in the JavaFX UI thread.A
RobotAdapter
implementation that uses the only the JavaFX public API.Provides a consistent API regardless of what Java version (8+) is used.
An enumeration of Java versions.
Assertion methods for
Labeled
s.TestFX matchers for
Labeled
controls.Assertion methods for
ListView
s.TestFX matchers for
ListView
controls.Assertion methods for
MenuItem
s.TestFX matchers for
MenuItem
controls.Enumeration holding the three simplest types of motion between two 2D points
a = (x₁, y₁) and b = (x₂, y₂).
Assertion methods for
Node
s.TestFX matchers for
Node
instances.Assertion methods for
Parent
s.TestFX matchers for
Parent
nodes.Indicates how similar/dissimilar two images were on a pixel-to-pixel comparison level via
PixelMatcher.match(Image, Image)
.Provides an API for platform specific features.
Interface for constructing
PointQuery
objects that can be used to return a specific
point (in terms of the screen) somewhere in the bounds of the provided object.Used to calculate a position within a given
Bounds
.The main application used during tests when a developer is not testing his/her own subclass of
Application
.RobotAdapter
implementation that uses the private
com.sun.glass.ui.GlassRobot
implementation to support JavaFX versions before 11.RobotAdapter
implementation that uses the public Robot
API added in JavaFX 11.The common interface for all RobotAdapters.
These are the minimum set of functions required from a robot to provide the full functionality use in the higher level api.
These are the minimum set of functions required from a robot to provide the full functionality use in the higher level api.
Assertion methods for
Styleable
objects.TestFX matchers for
Styleable
objects.Assertion methods for
TableView
s.TestFX matchers for
TableView
controls.extension of JUnits @Test annotation to indicate that a particular test should be explicitly
executed within the JavaFX thread.
Always returns true once the TestFx core bundle has been resolved and this interface has
therefore been registered as a service.
Optional JUnit rule that can be used to ensure the JavaFX platform has
been initialized before UI tests are run.
Assertion methods for
Text
s.Assertion methods for
TextFlow
s.TestFX matchers for
TextFlow
controls.Assertion methods for
TextInputControl
s.TestFX matchers for
TextInputControl
controls.TestFX matchers for
Text
nodes.Interface that handles setting up an
Application
, Stage
, Scene
, or rootNode
and application cleanup on the JavaFX Application Thread
.Provides static methods for handling execution on different threads.
Internally used
Callable
that handles all the async stuff.Assertion methods for
Window
s.TestFX matchers for
Window
instances.