Class ApplicationTest

java.lang.Object
org.testfx.api.FxRobot
org.testfx.framework.junit5.ApplicationTest
All Implemented Interfaces:
org.testfx.api.FxRobotInterface, ApplicationFixture

public abstract class ApplicationTest extends org.testfx.api.FxRobot implements ApplicationFixture
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final javafx.application.HostServices
    Deprecated.
    final javafx.application.Application.Parameters
    Deprecated.
    void
     
    final void
     
    final void
     
    static javafx.application.Application
    launch(Class<? extends javafx.application.Application> appClass, String... appArgs)
     
    final void
    notifyPreloader(javafx.application.Preloader.PreloaderNotification notification)
    Deprecated.
    void
    start(javafx.stage.Stage stage)
     
    void
     

    Methods inherited from class org.testfx.api.FxRobot

    bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, bounds, capture, capture, capture, capture, capture, capture, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, closeCurrentWindow, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, drag, drag, drag, drag, drag, drag, drag, drag, drag, drag, drag, drop, dropBy, dropTo, dropTo, dropTo, dropTo, dropTo, dropTo, dropTo, dropTo, dropTo, dropTo, eraseText, from, from, from, fromAll, interact, interact, interactNoWait, interactNoWait, interrupt, interrupt, listTargetWindows, listWindows, lookup, lookup, lookup, moveBy, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, offset, offset, offset, offset, offset, offset, offset, offset, offset, point, point, point, point, point, point, point, point, point, press, press, push, push, release, release, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, robotContext, rootNode, rootNode, rootNode, scroll, scroll, scroll, scroll, scroll, sleep, sleep, targetPos, targetWindow, targetWindow, targetWindow, targetWindow, targetWindow, targetWindow, targetWindow, targetWindow, type, type, window, window, window, window, window, window, write, write, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.testfx.api.FxRobotInterface

    clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, clickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, doubleClickOn, moveBy, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, moveTo, offset, offset, offset, offset, offset, offset, offset, offset, offset, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn, rightClickOn
  • Constructor Details

    • ApplicationTest

      public ApplicationTest()
  • Method Details

    • launch

      public static javafx.application.Application launch(Class<? extends javafx.application.Application> appClass, String... appArgs) throws Exception
      Throws:
      Exception
    • internalBefore

      @BeforeEach public final void internalBefore() throws Exception
      Throws:
      Exception
    • internalAfter

      @AfterEach public final void internalAfter() throws Exception
      Throws:
      Exception
    • init

      public void init() throws Exception
      Specified by:
      init in interface ApplicationFixture
      Throws:
      Exception
    • start

      public void start(javafx.stage.Stage stage) throws Exception
      Specified by:
      start in interface ApplicationFixture
      Throws:
      Exception
    • stop

      public void stop() throws Exception
      Specified by:
      stop in interface ApplicationFixture
      Throws:
      Exception
    • getHostServices

      @Deprecated public final javafx.application.HostServices getHostServices()
      Deprecated.
    • getParameters

      @Deprecated public final javafx.application.Application.Parameters getParameters()
      Deprecated.
    • notifyPreloader

      @Deprecated public final void notifyPreloader(javafx.application.Preloader.PreloaderNotification notification)
      Deprecated.