Class ApplicationRule

    • Field Detail

      • start

        private final java.util.function.Consumer<javafx.stage.Stage> start
      • stop

        private final java.util.function.Consumer<javafx.stage.Stage> stop
      • stage

        private javafx.stage.Stage stage
    • Constructor Detail

      • ApplicationRule

        public ApplicationRule​(java.util.function.Consumer<javafx.stage.Stage> start)
      • ApplicationRule

        public ApplicationRule​(java.util.function.Consumer<javafx.stage.Stage> start,
                               java.util.function.Consumer<javafx.stage.Stage> stop)
    • Method Detail

      • init

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

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

        public void stop()
                  throws java.lang.Exception
        Specified by:
        stop in interface ApplicationFixture
        Throws:
        java.lang.Exception
      • before

        private void before()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • after

        private void after()
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • externalResource

        private org.junit.runners.model.Statement externalResource​(org.junit.runners.model.Statement base)
      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                                                       org.junit.runner.Description description)
        Specified by:
        apply in interface org.junit.rules.TestRule