Class TestRunService
java.lang.Object
ch.admin.bit.jeap.testorchestrator.services.TestRunService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTestRunService(TestReportService testReportService, TestRunJpaRepository testRunJpaRepository, org.springframework.transaction.PlatformTransactionManager transactionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidabortLongRunningTestRun(String testId) Aborts a TestRun, when the orchestrator.testRunTimeout is reached and the TestRun is in State 'STARTED'voidabortTestRun(String testId, String message) Aborts a TestRun, when the TestAgents acting weird (no connection, timeout, ..)voidendTestRun(String testId) Ends a TestRun means: Set EndDate and the State to 'ENDED'getOverallTestConclusion(String testId) getParameters(String testId) getParameterValue(String testId, String key) getTestInstance(String testCaseName) booleanisTestRunInProgress(String testId) Returns True if the TestRun has the State Started, otherwise FALSEvoidsetParameter(String testId, String key, String value) voidsetTestCasesMap(Map<String, TestCaseBaseInterface> testCasesMap)
-
Field Details
-
testCasesMap
-
-
Constructor Details
-
TestRunService
public TestRunService(TestReportService testReportService, TestRunJpaRepository testRunJpaRepository, org.springframework.transaction.PlatformTransactionManager transactionManager)
-
-
Method Details
-
getParameterValue
-
getParameters
-
setParameter
-
endTestRun
Ends a TestRun means: Set EndDate and the State to 'ENDED' -
abortTestRun
Aborts a TestRun, when the TestAgents acting weird (no connection, timeout, ..) Means: Set EndDate and set the State to 'ABORTED' -
abortLongRunningTestRun
Aborts a TestRun, when the orchestrator.testRunTimeout is reached and the TestRun is in State 'STARTED' -
isTestRunInProgress
Returns True if the TestRun has the State Started, otherwise FALSE -
getOverallTestConclusion
-
getTestInstance
-
setTestCasesMap
-