public class TestCaseWrapper extends Object implements Serializable
Constructor and Description |
---|
TestCaseWrapper() |
TestCaseWrapper(br.eti.kinoshita.testlinkjavaapi.model.TestCase testCase) |
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(br.eti.kinoshita.testlinkjavaapi.model.Attachment attachment)
Adds an attachment to this test case.
|
void |
addCustomFieldAndStatus(String customField,
br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus executionStatus)
Add a custom field name and its execution status.
|
void |
appendNotes(String notes) |
List<br.eti.kinoshita.testlinkjavaapi.model.Attachment> |
getAttachments() |
String |
getAuthorLogin() |
Map<String,br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus> |
getCustomFieldAndStatus() |
List<br.eti.kinoshita.testlinkjavaapi.model.CustomField> |
getCustomFields() |
Integer |
getExecutionOrder() |
br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus |
getExecutionStatus() |
br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus |
getExecutionStatus(String keyCustomFieldName)
Calculates the new value of this wrapped test case execution status,
given a number of custom fields.
|
String |
getFullExternalId() |
Integer |
getId() |
Integer |
getInternalId() |
String |
getKeyCustomFieldValue(String keyCustomFieldName) |
String[] |
getKeyCustomFieldValues(String keyCustomFieldName) |
String |
getName() |
String |
getNotes() |
String |
getPlatform() |
List<br.eti.kinoshita.testlinkjavaapi.model.TestCaseStep> |
getSteps() |
String |
getSummary() |
Integer |
getTestProjectId() |
Integer |
getTestSuiteId() |
Integer |
getVersion() |
void |
setAuthorLogin(String authorLogin) |
void |
setCustomFields(List<br.eti.kinoshita.testlinkjavaapi.model.CustomField> customFields) |
void |
setExecutionOrder(Integer executionOrder) |
void |
setExecutionStatus(br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus executionStatus) |
void |
setFullExternalId(String fullExternalId) |
void |
setId(Integer id) |
void |
setInternalId(Integer internalId) |
void |
setName(String name) |
void |
setPlatform(String platform) |
void |
setSteps(List<br.eti.kinoshita.testlinkjavaapi.model.TestCaseStep> steps) |
void |
setSummary(String summary) |
void |
setTestProjectId(Integer testProjectId) |
void |
setTestSuiteId(Integer testSuiteId) |
protected String[] |
split(String input)
Splits a String by comma and gets an array of Strings.
|
public TestCaseWrapper()
public TestCaseWrapper(br.eti.kinoshita.testlinkjavaapi.model.TestCase testCase)
testCase
- wrapped automated test case.public void addCustomFieldAndStatus(String customField, br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus executionStatus)
customField
- custom field nameexecutionStatus
- execution statuspublic Map<String,br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus> getCustomFieldAndStatus()
public void addAttachment(br.eti.kinoshita.testlinkjavaapi.model.Attachment attachment)
attachment
- public List<br.eti.kinoshita.testlinkjavaapi.model.Attachment> getAttachments()
public String getNotes()
public void appendNotes(String notes)
public String getPlatform()
public void setPlatform(String platform)
public br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus getExecutionStatus()
public br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus getExecutionStatus(String keyCustomFieldName)
public Integer getId()
public void setId(Integer id)
public String getName()
public void setCustomFields(List<br.eti.kinoshita.testlinkjavaapi.model.CustomField> customFields)
public List<br.eti.kinoshita.testlinkjavaapi.model.CustomField> getCustomFields()
public void setExecutionStatus(br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus executionStatus)
public void setName(String name)
public Integer getInternalId()
public void setInternalId(Integer internalId)
public Integer getExecutionOrder()
public void setExecutionOrder(Integer executionOrder)
public Integer getTestSuiteId()
public void setTestSuiteId(Integer testSuiteId)
public Integer getTestProjectId()
public void setTestProjectId(Integer testProjectId)
public String getAuthorLogin()
public void setAuthorLogin(String authorLogin)
public String getSummary()
public void setSummary(String summary)
public List<br.eti.kinoshita.testlinkjavaapi.model.TestCaseStep> getSteps()
public void setSteps(List<br.eti.kinoshita.testlinkjavaapi.model.TestCaseStep> steps)
public Integer getVersion()
public String getFullExternalId()
public void setFullExternalId(String fullExternalId)
Copyright © 2010–2019 Jenkins. All rights reserved.