public class TestRunTypeServiceImpl extends java.lang.Object implements TestRunTypeService
| Constructor and Description |
|---|
TestRunTypeServiceImpl(ZafiraClient zafiraClient) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort(java.lang.Long testRunId) |
java.lang.String |
convertConfigurationToXML(ConfigurationType config)
Marshals configuration bean to XML.
|
TestRunType |
findTestRunByCiRunId(java.lang.String ciRunId) |
java.util.List<TestType> |
findTestRunResults(long id) |
TestRunType |
register(java.lang.Long testSuiteId,
java.lang.Long userId,
java.lang.Long jobId,
java.lang.Long parentJobId,
ConfigurationType configuration,
CiConfig ciConfig,
java.lang.String jiraSuiteId) |
TestRunType |
register(TestRunType testRun,
CiConfig.BuildCase buildCase,
long suiteId,
long jobId,
long userId,
JobType parentJob,
CiConfig ciConfig,
java.lang.String jiraSuiteId,
ConfigurationType configuration) |
TestRunType |
registerTestRunResults(TestRunType testRun,
ConfigurationType configuration)
Registers test run results
Resets configuration to store for example updated at run-time app_version etc
|
TestRunType |
rerun(TestRunType testRun,
int ciBuildNumber,
long suiteId,
ConfigurationType configuration)
Resets build number(to map to the latest rerun build),
config(in case of queued tests),
suite (https://github.com/qaprosoft/zafira/issues/1584) and starts test run
|
TestRunType |
startTestRun(TestRunType testRun) |
public TestRunTypeServiceImpl(ZafiraClient zafiraClient)
public TestRunType findTestRunByCiRunId(java.lang.String ciRunId)
findTestRunByCiRunId in interface TestRunTypeServicepublic TestRunType startTestRun(TestRunType testRun)
startTestRun in interface TestRunTypeServicepublic TestRunType rerun(TestRunType testRun, int ciBuildNumber, long suiteId, ConfigurationType configuration)
TestRunTypeServicererun in interface TestRunTypeServicetestRun - - test run to startciBuildNumber - - build number to map to the latest buildsuiteId - - created suite idconfiguration - - test run configuration filepublic boolean abort(java.lang.Long testRunId)
abort in interface TestRunTypeServicepublic java.util.List<TestType> findTestRunResults(long id)
findTestRunResults in interface TestRunTypeServicepublic TestRunType register(java.lang.Long testSuiteId, java.lang.Long userId, java.lang.Long jobId, java.lang.Long parentJobId, ConfigurationType configuration, CiConfig ciConfig, java.lang.String jiraSuiteId)
register in interface TestRunTypeServicepublic TestRunType register(TestRunType testRun, CiConfig.BuildCase buildCase, long suiteId, long jobId, long userId, JobType parentJob, CiConfig ciConfig, java.lang.String jiraSuiteId, ConfigurationType configuration)
register in interface TestRunTypeServicepublic TestRunType registerTestRunResults(TestRunType testRun, ConfigurationType configuration)
TestRunTypeServiceregisterTestRunResults in interface TestRunTypeServicetestRun - - with result to registerconfiguration - - configuration to overridepublic java.lang.String convertConfigurationToXML(ConfigurationType config)
convertConfigurationToXML in interface TestRunTypeServiceconfig - bean