Interface TestRunCloseable

  • All Superinterfaces:
    java.lang.AutoCloseable, TestRun

    public interface TestRunCloseable
    extends TestRun, java.lang.AutoCloseable
    The information about a started test run is updated at regular intervals and the state can be queried using the methods of this interface. Except the other methods, the TestRun.result() method blocks until the Test Run finishes.
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void close()
      Cancels the Test Run on the remote instance Please note: if the Test Run has already finished, this will delete the Test Report from the remote instance! Using it in a try-with-resources statement only makes sense if the test results are retrieved and processed within the statement.
    • Method Detail

      • close

        default void close()
                    throws RemoteInvocationException
        Cancels the Test Run on the remote instance Please note: if the Test Run has already finished, this will delete the Test Report from the remote instance! Using it in a try-with-resources statement only makes sense if the test results are retrieved and processed within the statement. After exiting the statement, the report is deleted!
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        RemoteInvocationException - if the ETF instance returned an error