|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.tm.service.internal.campaign.CustomTestSuiteModificationServiceImpl
@Service(value="CustomTestSuiteModificationService") public class CustomTestSuiteModificationServiceImpl
| Constructor Summary | |
|---|---|
CustomTestSuiteModificationServiceImpl()
|
|
| Method Summary | |
|---|---|
org.squashtest.tm.domain.execution.Execution |
addAutomatedExecution(long testPlanItemId)
|
org.squashtest.tm.domain.execution.Execution |
addExecution(long testPlanItemId)
|
org.squashtest.tm.domain.testautomation.AutomatedSuite |
createAndStartAutomatedSuite(long suiteId)
Create an automated execution for every automated item test plan in the given test-suite, group them in an automated suite and tells the connector to process them. |
org.squashtest.tm.domain.testautomation.AutomatedSuite |
createAndStartAutomatedSuite(long suiteId,
List<Long> testPlanIds)
Create an automated execution for each of the test plan in arguments, group them in an automated suite and tells the connectors to process them . |
org.squashtest.tm.domain.campaign.TestSuite |
findById(long suiteId)
That method will find the test Suite by its ID |
org.squashtest.tm.domain.campaign.TestPlanStatistics |
findTestSuiteStatistics(long suiteId)
That method will retrieve the data and fill the testSuiteStatistics DTO. |
void |
rename(long suiteId,
String newName)
That method will update the name of the suite with newName, identified by suiteId. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomTestSuiteModificationServiceImpl()
| Method Detail |
|---|
@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'WRITE\') or hasRole(\'ROLE_ADMIN\')")
public void rename(long suiteId,
String newName)
throws org.squashtest.tm.exception.DuplicateNameException
CustomTestSuiteModificationServiceDuplicateNameException
if the suite could not rename itself due to name already used by another suite from the same owning Iteration (as as spec of TestSuite).
rename in interface CustomTestSuiteModificationServiceorg.squashtest.tm.exception.DuplicateNameException@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\',\'READ\') or hasRole(\'ROLE_ADMIN\')") public org.squashtest.tm.domain.campaign.TestSuite findById(long suiteId)
TestSuiteFinder
findById in interface TestSuiteFinder@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\',\'READ\') or hasRole(\'ROLE_ADMIN\')") public org.squashtest.tm.domain.campaign.TestPlanStatistics findTestSuiteStatistics(long suiteId)
CustomTestSuiteModificationServiceThat method will retrieve the data and fill the testSuiteStatistics DTO.
findTestSuiteStatistics in interface CustomTestSuiteModificationService@PreAuthorize(value="hasPermission(#testPlanItemId, \'org.squashtest.tm.domain.campaign.IterationTestPlanItem\', \'EXECUTE\') or hasRole(\'ROLE_ADMIN\')") public org.squashtest.tm.domain.execution.Execution addExecution(long testPlanItemId)
addExecution in interface CustomTestSuiteModificationService@PreAuthorize(value="hasPermission(#testPlanItemId, \'org.squashtest.tm.domain.campaign.IterationTestPlanItem\', \'EXECUTE\') or hasRole(\'ROLE_ADMIN\')") public org.squashtest.tm.domain.execution.Execution addAutomatedExecution(long testPlanItemId)
addAutomatedExecution in interface CustomTestSuiteModificationService@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'EXECUTE\') or hasRole(\'ROLE_ADMIN\')") public org.squashtest.tm.domain.testautomation.AutomatedSuite createAndStartAutomatedSuite(long suiteId)
CustomTestSuiteModificationService
createAndStartAutomatedSuite in interface CustomTestSuiteModificationServiceAutomatedSuite
@PreAuthorize(value="hasPermission(#suiteId, \'org.squashtest.tm.domain.campaign.TestSuite\', \'EXECUTE\') or hasRole(\'ROLE_ADMIN\')")
public org.squashtest.tm.domain.testautomation.AutomatedSuite createAndStartAutomatedSuite(long suiteId,
List<Long> testPlanIds)
CustomTestSuiteModificationService
createAndStartAutomatedSuite in interface CustomTestSuiteModificationServicesuiteId - the id of the testSuite that holds them all, and against which will be tested the user credentials
AutomatedSuite
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||