Interface TestRunExecutable
-
- All Known Subinterfaces:
EtsCollection,ExecutableTestSuite,TestRunTemplate
public interface TestRunExecutableRepresents objects that can execute Test Runs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default TestRunCloseableexecute(TestObject testObject)Deprecated.TestRunCloseableexecute(TestObject testObject, RunParameters runParameters)Start a new Test Run.default TestRunexecute(TestObject testObject, TestRunObserver testRunObserver)Deprecated.TestRunexecute(TestObject testObject, TestRunObserver testRunObserver, RunParameters runParameters)Start a new Test Run.RunParametersparameters()Get applicable Run Parameters
-
-
-
Method Detail
-
execute
@Deprecated default TestRunCloseable execute(TestObject testObject) throws RemoteInvocationException, IncompatibleTestObjectTypesException, EtfIllegalStateException, TestRunParameterException
Deprecated.Start a new Test Run. The Client of this API can call the blockingTestRun.result()} method to wait for the result- Parameters:
testObject- the Test Object to use- Returns:
- an object representing the Test Run
- Throws:
RemoteInvocationException- if the ETF instance returned an errorIncompatibleTestObjectTypesException- when the Test Object Type and the types supported by the ETS are incompatibleEtfIllegalStateException- when the method is invoked on an empty ETS collection or the connection to the remote instance has been closedTestRunParameterException- if a required Test Run Parameter is not set. Useexecute(TestObject, TestRunObserver, RunParameters)
-
execute
TestRunCloseable execute(TestObject testObject, RunParameters runParameters) throws RemoteInvocationException, IncompatibleTestObjectTypesException, EtfIllegalStateException, TestRunParameterException
Start a new Test Run. The Client of this API can call the blockingTestRun.result()} method to wait for the result- Parameters:
testObject- the Test Object to userunParameters- the Parameters for the Test Run- Returns:
- an object representing the Test Run
- Throws:
RemoteInvocationException- if the ETF instance returned an errorIncompatibleTestObjectTypesException- when the Test Object Type and the types supported by the ETS are incompatibleEtfIllegalStateException- when the method is invoked on an empty ETS collection or the connection to the remote instance has been closedTestRunParameterException- if a parameter-related error has occurred
-
execute
@Deprecated default TestRun execute(TestObject testObject, TestRunObserver testRunObserver) throws RemoteInvocationException, IncompatibleTestObjectTypesException, EtfIllegalStateException, TestRunParameterException
Deprecated.Start a new Test Run. The Client of the API can implement theTestRunObserverinterface and pass a object that will be called when the Test Run has finished.- Parameters:
testObject- the Test Object to usetestRunObserver- an Object that implements a callback interface- Returns:
- an object representing the Test Run
- Throws:
RemoteInvocationException- if the ETF instance returned an errorIncompatibleTestObjectTypesException- when the Test Object Type and the types supported by the ETS are incompatibleEtfIllegalStateException- * when the method is invoked on an empty ETS collection or * the connection to the remote instance has been closedTestRunParameterException- if a required Test Run Parameter is not set. Useexecute(TestObject, TestRunObserver, RunParameters)
-
execute
TestRun execute(TestObject testObject, TestRunObserver testRunObserver, RunParameters runParameters) throws RemoteInvocationException, IncompatibleTestObjectTypesException, EtfIllegalStateException, TestRunParameterException
Start a new Test Run. The Client of the API can implement theTestRunObserverinterface and pass a object that will be called when the Test Run has finished.- Parameters:
testObject- the Test Object to usetestRunObserver- an Object that implements a callback interfacerunParameters- the Parameters for the Test Run- Returns:
- an object representing the Test Run
- Throws:
RemoteInvocationException- if the ETF instance returned an errorIncompatibleTestObjectTypesException- when the Test Object Type and the types supported by the ETS are incompatibleEtfIllegalStateException- when the method is invoked on an empty ETS collection or the connection to the remote instance has been closedTestRunParameterException- if a parameter-related error occurred
-
parameters
RunParameters parameters()
Get applicable Run Parameters- Returns:
- Test Run Parameters
-
-