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
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
ConstructorsConstructorDescriptionProjectClient
(String testFile, TestConfig testConfig, ProjectConfig projectConfig, ExecutionConfig executionConfig) Instantiates a newProjectClient
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
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 Details
-
getProjectConfig
-
runTestCase
public boolean runTestCase(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedExceptionDescription 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
-