net.praqma.jenkins.rqm.model
Class TestCase
java.lang.Object
net.praqma.jenkins.rqm.model.RqmObject<TestCase>
net.praqma.jenkins.rqm.model.TestCase
- All Implemented Interfaces:
- Serializable
public class TestCase
- extends RqmObject<TestCase>
- Author:
- Praqma
- See Also:
- Serialized Form
| Methods inherited from class net.praqma.jenkins.rqm.model.RqmObject |
createObject, getDescriptor, getDescriptor, getDocumentReader, getDocumentReader, getInternalId, getRqmObjectResourceUrl, hashCode, intializeSingleResource, readMultiple, setRqmObjectResourceUrl |
TestCase
public TestCase()
TestCase
public TestCase(String rqmObjectResourceUrl)
TestCase
public TestCase(String rqmObjectResourceUrl,
String testCaseTitle)
getScripts
public List<TestScript> getScripts()
- Returns:
- the scripts
setScripts
public void setScripts(List<TestScript> scripts)
- Parameters:
scripts - the scripts to set
getTestCaseTitle
public String getTestCaseTitle()
- Returns:
- the testCaseTitle
setTestCaseTitle
public void setTestCaseTitle(String testCaseTitle)
- Parameters:
testCaseTitle - the testCaseTitle to set
read
public List<TestCase> read(RqmParameterList parameters)
throws IOException
- Description copied from class:
RqmObject
- Override this method if you wish to read data from RQM (Primarily GET)
- Overrides:
read in class RqmObject<TestCase>
- Returns:
- a 'constructed' rqm object. Read populates the object given an array of parameters
- Throws:
IOException
attributes
public HashMap<String,String> attributes()
- Overrides:
attributes in class RqmObject<TestCase>
createOrUpdate
public List<TestCase> createOrUpdate(RqmParameterList parameters)
- Description copied from class:
RqmObject
- Override this method if you wish to push data from RQM (PUT && POST)
- Overrides:
createOrUpdate in class RqmObject<TestCase>
- Returns:
- Create or updates the object given an array of parameters. Use the initializeSingleResource() method to parse the object given the returned XML
initializeSingleResource
public TestCase initializeSingleResource(String xml)
throws RQMObjectParseException
- Description copied from class:
RqmObject
- Expects an internal resource id.
- Specified by:
initializeSingleResource in class RqmObject<TestCase>
- Returns:
-
- Throws:
RQMObjectParseException
toString
public String toString()
- Overrides:
toString in class Object
getDescriptor
public String getDescriptor()
equals
public boolean equals(Object obj)
- Overrides:
equals in class RqmObject<TestCase>
getResourceName
public String getResourceName()
- Specified by:
getResourceName in class RqmObject<TestCase>
Copyright © 2004-2014. All Rights Reserved.