public class ALMRepositoryDaemon extends Object implements ALMRepository, ALMConnection
Modifier and Type | Field and Description |
---|---|
static String |
ALM_RUN_ID |
Constructor and Description |
---|
ALMRepositoryDaemon(ch.exense.commons.app.Configuration configuration,
File resourceDir) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertTestcaseNotCheckedOut(ITest test) |
IRun |
createRun(step.core.execution.model.Execution execution,
IRunFactory runFactory) |
void |
destroy() |
step.core.repositories.ArtefactInfo |
getArtefactInfo(Map<String,String> repositoryParameters) |
protected String |
getRnHost(step.core.execution.model.Execution testExecution) |
ITestSet |
getTestSet(step.core.execution.model.Execution execution) |
step.core.repositories.TestSetStatusOverview |
getTestSetStatusOverview(Map<String,String> repositoryParameters) |
step.core.repositories.ImportResult |
importArtefact(Map<String,String> repositoryParameters,
Map<String,String> executionAttributes) |
void |
init(ALMConnectionParameters connectionParameters) |
static void |
main(String[] args) |
void |
reportExecution(Map<String,String> repositoryParameters,
String executionID) |
void |
reportTestCaseExecution(Map<String,String> repositoryParameters,
String testCaseReportNodeId) |
Integer |
reportTestCaseStart(Map<String,String> repositoryParameters,
String testCaseReportNodeId) |
protected void |
uploadAttachmentsToStep(step.core.artefacts.reports.ReportNode stepReport,
IStep step) |
public static final String ALM_RUN_ID
public ALMRepositoryDaemon(ch.exense.commons.app.Configuration configuration, File resourceDir)
public void init(ALMConnectionParameters connectionParameters)
init
in interface ALMConnection
public void destroy()
public step.core.repositories.ArtefactInfo getArtefactInfo(Map<String,String> repositoryParameters) throws Exception
getArtefactInfo
in interface ALMRepository
Exception
public step.core.repositories.ImportResult importArtefact(Map<String,String> repositoryParameters, Map<String,String> executionAttributes) throws Exception
importArtefact
in interface ALMRepository
Exception
public step.core.repositories.TestSetStatusOverview getTestSetStatusOverview(Map<String,String> repositoryParameters) throws Exception
getTestSetStatusOverview
in interface ALMRepository
Exception
public void reportExecution(Map<String,String> repositoryParameters, String executionID) throws Exception
reportExecution
in interface ALMRepository
Exception
public Integer reportTestCaseStart(Map<String,String> repositoryParameters, String testCaseReportNodeId) throws Exception
reportTestCaseStart
in interface ALMRepository
Exception
public void reportTestCaseExecution(Map<String,String> repositoryParameters, String testCaseReportNodeId) throws Exception
reportTestCaseExecution
in interface ALMRepository
Exception
public IRun createRun(step.core.execution.model.Execution execution, IRunFactory runFactory)
public ITestSet getTestSet(step.core.execution.model.Execution execution)
protected void uploadAttachmentsToStep(step.core.artefacts.reports.ReportNode stepReport, IStep step)
protected String getRnHost(step.core.execution.model.Execution testExecution)
protected void assertTestcaseNotCheckedOut(ITest test) throws step.repositories.parser.StepsParser.ParsingException
step.repositories.parser.StepsParser.ParsingException
Copyright © 2020. All rights reserved.