Interface TestRunExecutable
-
- All Known Subinterfaces:
EtsCollection
,ExecutableTestSuite
,TestRunTemplate
public interface TestRunExecutable
Represents objects that can execute Test Runs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default TestRunCloseable
execute(TestObject testObject)
Deprecated.TestRunCloseable
execute(TestObject testObject, RunParameters runParameters)
Start a new Test Run.default TestRun
execute(TestObject testObject, TestRunObserver testRunObserver)
Deprecated.TestRun
execute(TestObject testObject, TestRunObserver testRunObserver, RunParameters runParameters)
Start a new Test Run.RunParameters
parameters()
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 theTestRunObserver
interface 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 theTestRunObserver
interface 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
-
-