org.squashtest.csp.tm.domain.testcase
Class ActionTestStep

java.lang.Object
  extended by org.squashtest.csp.tm.domain.testcase.TestStep
      extended by org.squashtest.csp.tm.domain.testcase.ActionTestStep
All Implemented Interfaces:
AttachmentHolder

@Entity
public class ActionTestStep
extends TestStep
implements AttachmentHolder


Constructor Summary
ActionTestStep()
           
ActionTestStep(String action, String expectedResult)
           
 
Method Summary
 void accept(TestStepVisitor visitor)
           
 ActionTestStep createCopy()
          Should create a transient copy of this TestStep according to business rules.
 String getAction()
           
 AttachmentList getAttachmentList()
          Should return the container for this object's attachments.
 List<ExecutionStep> getExecutionStep()
           
 String getExpectedResult()
           
 void setAction(String action)
           
 void setExpectedResult(String expectedResult)
           
 
Methods inherited from class org.squashtest.csp.tm.domain.testcase.TestStep
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionTestStep

public ActionTestStep()

ActionTestStep

public ActionTestStep(String action,
                      String expectedResult)
Method Detail

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.

getExecutionStep

public List<ExecutionStep> getExecutionStep()
Specified by:
getExecutionStep in class TestStep


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.