|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.tm.service.internal.campaign.TestSuiteExecutionProcessingServiceImpl
@Service(value="squashtest.tm.service.TestSuiteExecutionProcessingService") @Transactional public class TestSuiteExecutionProcessingServiceImpl
| Constructor Summary | |
|---|---|
TestSuiteExecutionProcessingServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
deleteAllExecutions(long testSuiteId)
will delete all existing executions |
boolean |
hasMoreExecutableItems(long testSuiteId,
long testPlanItemId)
tells if a test suite has at least one executable item in its test plan after the given item. |
boolean |
hasPreviousExecutableItems(long testSuiteId,
long testPlanItemId)
tells if a test suite has at least one executable item in its test plan before the given item. |
org.squashtest.tm.domain.execution.Execution |
startResume(long testSuiteId)
returns the execution were to resume the test suite or throw a @linkEmptyTestSuiteTestPlanException or TestPlanItemNotExecutableException if no execution is to be resumed because : all terminated, or no execution-step on executions, or no execution and test-case deleted if there is no execution should start a new execution for the given test suite, ie create an execution for the first test case of this suite's test plan |
org.squashtest.tm.domain.execution.Execution |
startResumeNextExecution(long testSuiteId,
long testPlanItemId)
Should start a new execution for the next executable test plan item of the given test suite's test plan. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestSuiteExecutionProcessingServiceImpl()
| Method Detail |
|---|
@PreAuthorize(value="hasPermission(#testSuiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'EXECUTE\') or hasRole(\'ROLE_ADMIN\')") public org.squashtest.tm.domain.execution.Execution startResume(long testSuiteId)
TestSuiteExecutionProcessingService
returns the execution were to resume the test suite
or throw a @linkEmptyTestSuiteTestPlanException or TestPlanItemNotExecutableException
if no execution is to be resumed because :
if there is no execution should start a new execution for the given test suite, ie create an execution for the first test case of this suite's test plan
startResume in interface TestSuiteExecutionProcessingServiceorg.squashtest.tm.service.campaign.TestSuiteExecutionProcessingService#startResume(long, long)@PreAuthorize(value="hasPermission(#testSuiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'EXECUTE\') or hasRole(\'ROLE_ADMIN\')") public void deleteAllExecutions(long testSuiteId)
TestSuiteExecutionProcessingServicewill delete all existing executions
deleteAllExecutions in interface TestSuiteExecutionProcessingServiceorg.squashtest.tm.service.campaign.TestSuiteExecutionProcessingService#restart(long, long)
public boolean hasMoreExecutableItems(long testSuiteId,
long testPlanItemId)
TestSuiteExecutionProcessingServicetells if a test suite has at least one executable item in its test plan after the given item.
hasMoreExecutableItems in interface TestSuiteExecutionProcessingServiceTestSuiteExecutionProcessingService.hasMoreExecutableItems(long, long)
public boolean hasPreviousExecutableItems(long testSuiteId,
long testPlanItemId)
TestSuiteExecutionProcessingServicetells if a test suite has at least one executable item in its test plan before the given item.
hasPreviousExecutableItems in interface TestSuiteExecutionProcessingServiceTestSuiteExecutionProcessingService.hasPreviousExecutableItems(long,
long)
@PreAuthorize(value="hasPermission(#testSuiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'EXECUTE\') or hasRole(\'ROLE_ADMIN\')")
public org.squashtest.tm.domain.execution.Execution startResumeNextExecution(long testSuiteId,
long testPlanItemId)
TestSuiteExecutionProcessingServiceShould start a new execution for the next executable test plan item of the given test suite's test plan. Or should return the execution to resume or null if :
startResumeNextExecution in interface TestSuiteExecutionProcessingServiceorg.squashtest.tm.service.campaign.TestSuiteExecutionProcessingService#startNextExecution(long, long)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||