@Entity public class TestCase extends AbstractUUIDEntity implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
FAILURE_MESSAGE_COLUMN |
static String |
IS_SUCCESS_COLUMN |
static String |
NAME_COLUMN
Column names of the table.
|
static String |
TEST_CASE_TABLE
Test plan table name.
|
static String |
TEST_SCENARIO_COLUMN |
ID_COLUMN| Constructor and Description |
|---|
TestCase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFailureMessage()
Returns the failure message of the test case.
|
String |
getName()
Returns the name of the test case.
|
Status |
getStatus()
Returns whether the test is successful or failed.
|
TestScenario |
getTestScenario()
Returns the test scenario for the test case.
|
int |
hashCode() |
void |
setFailureMessage(String failureMessage)
Sets the failure message of the test case.
|
void |
setName(String name)
Sets the name of the test case.
|
void |
setSuccess(Status success)
Sets whether the test is successful or failed.
|
void |
setTestScenario(TestScenario testScenario)
Sets the test scenario for the test case.
|
String |
toString() |
generateUUID, getCreatedTimestamp, getId, getModifiedTimestamp, setCreatedTimestamp, setId, setModifiedTimestamppublic static final String TEST_CASE_TABLE
public static final String NAME_COLUMN
public static final String IS_SUCCESS_COLUMN
public static final String FAILURE_MESSAGE_COLUMN
public static final String TEST_SCENARIO_COLUMN
public String getName()
public void setName(String name)
name - test case namepublic Status getStatus()
true if the test case is successful, false otherwisepublic void setSuccess(Status success)
success - whether the test is successful or failedpublic String getFailureMessage()
public void setFailureMessage(String failureMessage)
failureMessage - test case failure messagepublic TestScenario getTestScenario()
public void setTestScenario(TestScenario testScenario)
testScenario - test scenario for the test caseCopyright © 2019 WSO2. All rights reserved.