Class ProjectClient
- 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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTestClient
AbstractTestClient.CheckInfoHolder, AbstractTestClient.ExecutionInfoHolder, AbstractTestClient.LoadConfigCallable, AbstractTestClient.OpenTestFileCallable, AbstractTestClient.TestInfoHolder
-
-
Constructor Summary
Constructors Constructor Description ProjectClient(String testFile, TestConfig testConfig, ProjectConfig projectConfig, ExecutionConfig executionConfig)
Instantiates a newProjectClient
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectConfig
getProjectConfig()
boolean
runTestCase(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
Runs a test case, can be either an ecu.test package or project.-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.test.client.AbstractTestClient
getExecutionConfig, getTestConfig, getTestDescription, getTestFile, getTestName, getTestReportDir, getTestResult, isAborted, recordWarnings, setAborted, setTestDescription, setTestName, setTestReportDir, setTestResult
-
-
-
-
Constructor Detail
-
ProjectClient
public ProjectClient(String testFile, TestConfig testConfig, ProjectConfig projectConfig, ExecutionConfig executionConfig)
Instantiates a newProjectClient
.- Parameters:
testFile
- the project filetestConfig
- the test configurationprojectConfig
- the project configurationexecutionConfig
- the execution configuration
-
-
Method Detail
-
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 runworkspace
- the workspacelauncher
- the launcherlistener
- the listener- Returns:
true
if successful,false
otherwise- Throws:
IOException
- signals that an I/O exception has occurredInterruptedException
- if the build gets interrupted
-
-