|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InsecureTestAutomationManagementService
That private interface contains methods that cannot be secured because the current ACL system doesn't encompass the TestAutomationX entities. That service should always be called through a front service being itself secured. That interface won't be published as OSGI service.
| Method Summary | |
|---|---|
void |
fetchAllResultURL(org.squashtest.tm.domain.testautomation.TestAutomationProject project,
org.squashtest.tm.domain.testautomation.AutomatedSuite suite)
Will (attempt to) retrieve the result url for all the executions that belongs to a given automated suite, and of which tests belongs to a given project. |
org.squashtest.tm.domain.testautomation.TestAutomationProject |
findProjectById(long projectId)
|
org.squashtest.tm.domain.testautomation.AutomatedTest |
findTestById(long testId)
|
org.squashtest.tm.domain.testautomation.TestAutomationServer |
getDefaultServer()
That method returns the default server configuration. |
org.squashtest.tm.domain.testautomation.AutomatedTest |
persistOrAttach(org.squashtest.tm.domain.testautomation.AutomatedTest newTest)
Pretty much the same than persistOrAttach(TestAutomationProject). |
org.squashtest.tm.domain.testautomation.TestAutomationProject |
persistOrAttach(org.squashtest.tm.domain.testautomation.TestAutomationProject newProject)
Will persist the supplied remote TestAutomationProject. |
void |
startAutomatedSuite(org.squashtest.tm.domain.testautomation.AutomatedSuite suite)
Will start a test suite, by dispatching the tests to the corresponding connectors. |
| Methods inherited from interface org.squashtest.tm.service.testautomation.TestAutomationFinderService |
|---|
findAutomatedTestSuiteById, findExecutionsByAutomatedTestSuiteId, listProjectsOnServer, listProjectsOnServer, listTestsInProjects |
| Method Detail |
|---|
org.squashtest.tm.domain.testautomation.TestAutomationProject persistOrAttach(org.squashtest.tm.domain.testautomation.TestAutomationProject newProject)
Will persist the supplied remote TestAutomationProject. The argument must be attached to a TestAutomationServer
and return it using TestAutomationProject.getServer().
The service will first try to reattach the server and project instance to existing instance in the database (See org.squashtest.tm.domain.testautomation package info for more about this), then persist the unknown entities.
That method returns the persisted instance of TestAutomationProject, that should be used in place of the one supplied in arguments from now on by the client code. That method is idempotent : an attached entity won't be peristed again.
remoteProject - org.squashtest.tm.domain.testautomation.AutomatedTest persistOrAttach(org.squashtest.tm.domain.testautomation.AutomatedTest newTest)
Pretty much the same than persistOrAttach(TestAutomationProject). The argument must be attached to a persisted and
session-bound TestAutomationProject.
Same principles and same results apply here
newTest -
org.squashtest.tm.domain.testautomation.TestAutomationProject findProjectById(long projectId)
org.squashtest.tm.domain.testautomation.AutomatedTest findTestById(long testId)
org.squashtest.tm.domain.testautomation.TestAutomationServer getDefaultServer()
void fetchAllResultURL(org.squashtest.tm.domain.testautomation.TestAutomationProject project,
org.squashtest.tm.domain.testautomation.AutomatedSuite suite)
project - suite - void startAutomatedSuite(org.squashtest.tm.domain.testautomation.AutomatedSuite suite)
suite -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||