Class ExecuteTestsSlaveCallable

  • All Implemented Interfaces:
    hudson.remoting.Callable<java.lang.Boolean,​java.lang.InterruptedException>, java.io.Serializable, org.jenkinsci.remoting.RoleSensitive

    public class ExecuteTestsSlaveCallable
    extends TptApiCallable<java.lang.Boolean>
    The Callable executes tpt test cases on a Jenkins Agent via the TPT API.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ExecuteTestsSlaveCallable​(TaskListener listener, int tptPort, java.lang.String tptBindingName, FilePath[] exePaths, java.util.List<java.lang.String> arguments, long startUpWaitTime, FilePath tptFilePath, FilePath slaveReportPath, FilePath slaveDataPath, java.lang.String executionConfigName, java.util.List<java.lang.String> testSet, java.lang.String testSetName)
      Create a new callable to execute a subset of tests of a given test set as part of a complete test execution.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean call()  
      void checkRoles​(org.jenkinsci.remoting.RoleChecker arg0)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface hudson.remoting.Callable

        getChannelOrFail, getOpenChannelOrFail
    • Constructor Detail

      • ExecuteTestsSlaveCallable

        public ExecuteTestsSlaveCallable​(TaskListener listener,
                                         int tptPort,
                                         java.lang.String tptBindingName,
                                         FilePath[] exePaths,
                                         java.util.List<java.lang.String> arguments,
                                         long startUpWaitTime,
                                         FilePath tptFilePath,
                                         FilePath slaveReportPath,
                                         FilePath slaveDataPath,
                                         java.lang.String executionConfigName,
                                         java.util.List<java.lang.String> testSet,
                                         java.lang.String testSetName)
        Create a new callable to execute a subset of tests of a given test set as part of a complete test execution.
        Parameters:
        listener - The task listener
        tptPort - The port for TPT RMI API calls
        tptBindingName - The binding name for TPT RMI API calls
        exePaths - Paths to look for TPT installations
        arguments - startup arguments fo TPT
        startUpWaitTime - Timeto wait for TPT start up
        tptFilePath - The TPT file which tests shall be executeds
        slaveReportPath - Path where the report shall be stored in the workspace
        slaveDataPath - Path where the test data shall be stored in the workspace
        executionConfigName - The execution configuration to execute
        testSet - List of test cases to executes
        testSetName - The test set to execute
    • Method Detail

      • call

        public java.lang.Boolean call()
                               throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • checkRoles

        public void checkRoles​(org.jenkinsci.remoting.RoleChecker arg0)
                        throws java.lang.SecurityException
        Throws:
        java.lang.SecurityException