public class CReturnStatus extends java.lang.Object implements IConstantsResults
CReturnStatus
class defines a generic status returned by
a launcher after it executed a testcaseREQUEST_EXISTINGDEFECT, REQUEST_NEWDEFECT, REQUEST_NEXTTEST, REQUEST_NEXTTESTCASE, REQUEST_PAUSE, REQUEST_PREVIOUSTEST, REQUEST_PREVIOUSTESTCASE, REQUEST_REWINDTESTCASE, RESULT_FAILURE, RESULT_INDEFINITE, RESULT_INFO, RESULT_NO_RESULT, RESULT_NOT_EXECUTABLE, RESULT_NOT_EXECUTED, RESULT_SUCCESS, RESULT_UNKNOWN
Constructor and Description |
---|
CReturnStatus() |
CReturnStatus(short result) |
CReturnStatus(short result,
java.util.Vector<CExecutionStep> executionSteps)
Construct a
CReturnStatus object. |
Modifier and Type | Method and Description |
---|---|
java.util.Vector<CExecutionStep> |
getExecutionSteps()
Return the history of all the execution steps
|
short |
getResult()
Return the global result of the test execution
|
void |
setResult(short result) |
java.lang.String |
toString() |
public CReturnStatus(short result, java.util.Vector<CExecutionStep> executionSteps)
CReturnStatus
object.result
- a global standard result code (RESULT_FAILURE
, RESULT_NO_RESULT
,
RESULT_NOT_EXECUTED
, RESULT_INDEFINITE
, RESULT_SUCCESS
or RESULT_UNKNOWN
)executionSteps
- an history of all the execution steps. Each CExecutionStep object
represents a step in the testcase execution process.CExecutionStep
public CReturnStatus(short result)
public CReturnStatus()
public short getResult()
RESULT_FAILURE
, RESULT_NO_RESULT
,
RESULT_NOT_EXECUTED
, RESULT_INDEFINITE
, RESULT_SUCCESS
or RESULT_UNKNOWN
)public void setResult(short result)
public java.util.Vector<CExecutionStep> getExecutionSteps()
CExecutionStep
public java.lang.String toString()
toString
in class java.lang.Object