org.squashtest.tm.domain.testcase
Class ActionTestStep
java.lang.Object
org.squashtest.tm.domain.testcase.TestStep
org.squashtest.tm.domain.testcase.ActionTestStep
- All Implemented Interfaces:
- AttachmentHolder, BoundEntity
@Entity
public class ActionTestStep
- extends TestStep
- implements BoundEntity, AttachmentHolder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionTestStep
public ActionTestStep()
ActionTestStep
public ActionTestStep(String action,
String expectedResult)
setAction
public void setAction(String action)
getAction
@NotBlank
public String getAction()
setExpectedResult
public void setExpectedResult(String expectedResult)
getExpectedResult
public String getExpectedResult()
createCopy
public ActionTestStep createCopy()
- Description copied from class:
TestStep
- Should create a transient copy of this
TestStep according to business rules. Business rules should be
described by implementor in a unit test case.
- Specified by:
createCopy in class TestStep
- Returns:
- copy, should never return
null.
accept
public void accept(TestStepVisitor visitor)
- Specified by:
accept in class TestStep
getAttachmentList
public AttachmentList getAttachmentList()
- Description copied from interface:
AttachmentHolder
- Should return the container for this object's attachments. Should never return
null.
- Specified by:
getAttachmentList in interface AttachmentHolder
- Returns:
- the
AttachmentList of this object.
createExecutionSteps
public List<ExecutionStep> createExecutionSteps(Dataset dataset)
- Specified by:
createExecutionSteps in class TestStep
getAllAttachments
public Set<Attachment> getAllAttachments()
getBoundEntityId
public Long getBoundEntityId()
- Specified by:
getBoundEntityId in interface BoundEntity
getBoundEntityType
public BindableEntity getBoundEntityType()
- Specified by:
getBoundEntityType in interface BoundEntity
getProject
public Project getProject()
- Specified by:
getProject in interface BoundEntity
removeRequirementVersionCoverage
public void removeRequirementVersionCoverage(RequirementVersionCoverage requirementVersionCoverage)
- Simply remove the RequirementVersionCoverage from this.requirementVersionCoverages.
- Parameters:
requirementVersionCoverage - : the entity to remove from this step's RequirementVersionCoverages list.
getRequirementVersionCoverages
public Set<RequirementVersionCoverage> getRequirementVersionCoverages()
- Returns:
- an UNMODIFIABLE set of this ActionTestStep's RequirementVersionCoverages.
addRequirementVersionCoverage
public void addRequirementVersionCoverage(RequirementVersionCoverage requirementVersionCoverage)
- will simply add the given RequirementVersionCoverage to this requirementVersionCoverages
- Parameters:
requirementVersionCoverage -
getVerifiedRequirementVersions
public Set<RequirementVersion> getVerifiedRequirementVersions()
- Returns:
- UNMODIFIABLE VIEW of verified requirements.
findUsedParametersNames
public Set<String> findUsedParametersNames()
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.