net.praqma.jenkins.rqm.model
Class TestPlan
java.lang.Object
net.praqma.jenkins.rqm.model.RqmObject<TestPlan>
net.praqma.jenkins.rqm.model.TestPlan
- All Implemented Interfaces:
- Serializable
public class TestPlan
- extends RqmObject<TestPlan>
- Author:
- Praqma
A test plan can contain both testCases and test suites.
- See Also:
- Serialized Form
| Methods inherited from class net.praqma.jenkins.rqm.model.RqmObject |
createObject, createOrUpdate, equals, getDescriptor, getDescriptor, getDocumentReader, getDocumentReader, getInternalId, getRqmObjectResourceUrl, hashCode, intializeSingleResource, readMultiple, setRqmObjectResourceUrl |
TestPlan
public TestPlan()
TestPlan
public TestPlan(String testPlanName)
attributes
public HashMap<String,String> attributes()
- Overrides:
attributes in class RqmObject<TestPlan>
initializeSingleResource
public TestPlan initializeSingleResource(String xml)
throws RQMObjectParseException
- We initalize the list of test suites by their assocated TestPlanName
Two cases:
Case 1:
TestCase directly in plan
Case 2:
TestCase
- Specified by:
initializeSingleResource in class RqmObject<TestPlan>
- Returns:
-
- Throws:
RQMObjectParseException
getFeedUrlForTestPlans
public String getFeedUrlForTestPlans(String host,
int port,
String context,
String project)
throws UnsupportedEncodingException
- Method that returns a basic list of feed data. We include everything for a given test plan.
- Parameters:
host - port - context - project -
- Returns:
-
- Throws:
UnsupportedEncodingException
getParametersForFeedUrlForTestPlans
public org.apache.commons.httpclient.NameValuePair[] getParametersForFeedUrlForTestPlans()
toString
public String toString()
- Overrides:
toString in class Object
getTestCases
public Set<TestCase> getTestCases()
- Returns:
- the testCases
setTestCases
public void setTestCases(HashSet<TestCase> testCases)
- Parameters:
testCases - the testCases to set
getTestSuites
public Set<TestSuite> getTestSuites()
- Returns:
- the testSuites
setTestSuites
public void setTestSuites(Set<TestSuite> testSuites)
- Parameters:
testSuites - the testSuites to set
getTestPlanTitle
public String getTestPlanTitle()
- Returns:
- the testPlanTitle
setTestPlanTitle
public void setTestPlanTitle(String testPlanTitle)
- Parameters:
testPlanTitle - the testPlanTitle to set
read
public List<TestPlan> read(RqmParameterList parameters)
throws IOException
- Basic 'Read' operation (GET) for a test plan
- Overrides:
read in class RqmObject<TestPlan>
- Parameters:
parameters -
- Returns:
-
- Throws:
IOException
getResourceName
public String getResourceName()
- Specified by:
getResourceName in class RqmObject<TestPlan>
Copyright © 2004-2014. All Rights Reserved.