org.squashtest.tm.service.testautomation
Interface TestAutomationFinderService

All Known Subinterfaces:
InsecureTestAutomationManagementService
All Known Implementing Classes:
TestAutomationManagementServiceImpl

public interface TestAutomationFinderService


Method Summary
 org.squashtest.tm.domain.testautomation.AutomatedSuite findAutomatedTestSuiteById(String suiteId)
           
 List<org.squashtest.tm.domain.execution.Execution> findExecutionsByAutomatedTestSuiteId(String automatedTestSuiteId)
          Given the id of an automated test suite, returns the list of executions associated to this automated test suite.
 Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> listProjectsOnServer(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
          see listProjectsOnServer(URL, String, String), using a TestAutomationServer for argument
 Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> listProjectsOnServer(URL serverURL, String login, String password)
          Given the URL of the test automation server, and the credentials required to connect it, will return the list of project currently available on it.
 Collection<TestAutomationProjectContent> listTestsInProjects(Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> projects)
          Given a collection of TestAutomationProject, will return the aggregated list of AutomatedTest paired with their owner project.
 

Method Detail

listProjectsOnServer

Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> listProjectsOnServer(URL serverURL,
                                                                                               String login,
                                                                                               String password)

Given the URL of the test automation server, and the credentials required to connect it, will return the list of project currently available on it. The credentials will be tested on the fly.

Parameters:
serverURL -
login -
password -
Returns:
a collection of projects hosted on that server
Throws:
AccessDenied - if the given credentials are invalid

listProjectsOnServer

Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> listProjectsOnServer(org.squashtest.tm.domain.testautomation.TestAutomationServer server)
see listProjectsOnServer(URL, String, String), using a TestAutomationServer for argument

Parameters:
server -
Returns:

listTestsInProjects

Collection<TestAutomationProjectContent> listTestsInProjects(Collection<org.squashtest.tm.domain.testautomation.TestAutomationProject> projects)
Given a collection of TestAutomationProject, will return the aggregated list of AutomatedTest paired with their owner project.

Parameters:
projects -
Returns:

findExecutionsByAutomatedTestSuiteId

List<org.squashtest.tm.domain.execution.Execution> findExecutionsByAutomatedTestSuiteId(String automatedTestSuiteId)
Given the id of an automated test suite, returns the list of executions associated to this automated test suite.

Parameters:
automatedTestSuiteId -
Returns:

findAutomatedTestSuiteById

org.squashtest.tm.domain.testautomation.AutomatedSuite findAutomatedTestSuiteById(String suiteId)


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.