java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTestClient
de.tracetronic.jenkins.plugins.ecutest.test.client.ProjectClient
All Implemented Interfaces:
TestClient

public class ProjectClient extends AbstractTestClient
Client to execute ecu.test projects via COM interface.
  • Constructor Details

    • ProjectClient

      public ProjectClient(String testFile, TestConfig testConfig, ProjectConfig projectConfig, ExecutionConfig executionConfig)
      Instantiates a new ProjectClient.
      Parameters:
      testFile - the project file
      testConfig - the test configuration
      projectConfig - the project configuration
      executionConfig - the execution configuration
  • Method Details

    • getProjectConfig

      public ProjectConfig getProjectConfig()
    • runTestCase

      public boolean runTestCase(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
      Description copied from interface: TestClient
      Runs a test case, can be either an ecu.test package or project.
      Parameters:
      run - the run
      workspace - the workspace
      launcher - the launcher
      listener - the listener
      Returns:
      true if successful, false otherwise
      Throws:
      IOException - signals that an I/O exception has occurred
      InterruptedException - if the build gets interrupted