public class TestCase extends Object
| Constructor and Description |
|---|
TestCase() |
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
getCreatedTimestamp()
Returns the start timestamp of the test-case.
|
String |
getErrorMsg()
Returns the error message if there's any.
|
String |
getId()
Returns the id of the test-case.
|
Timestamp |
getModifiedTimestamp()
Returns the modified timestamp of the test-case.
|
String |
getName()
Returns the name of the test-case.
|
Status |
getStatus()
Returns the status of the test-case.
|
void |
setCreatedTimestamp(Timestamp createdTimestamp)
Sets the start timestamp of the test-case.
|
void |
setErrorMsg(String errorMsg)
Sets the error message (if available) in the test-case.
|
void |
setId(String id)
Sets the id of the test-case.
|
void |
setModifiedTimestamp(Timestamp modifiedTimestamp)
Sets the modified timestamp of the test-case.
|
void |
setName(String name)
Sets the name of the test-case.
|
void |
setStatus(Status status)
Sets the status of the test-case.
|
public String getId()
public void setId(String id)
id - test-case idpublic String getName()
public void setName(String name)
name - test-case namepublic Timestamp getCreatedTimestamp()
public void setCreatedTimestamp(Timestamp createdTimestamp)
createdTimestamp - test-case start timestamppublic Timestamp getModifiedTimestamp()
public void setModifiedTimestamp(Timestamp modifiedTimestamp)
modifiedTimestamp - modified test-case timestamppublic Status getStatus()
true if the test is success, false otherwisepublic void setStatus(Status status)
status - test-case getStatuspublic String getErrorMsg()
public void setErrorMsg(String errorMsg)
errorMsg - error messageCopyright © 2019 WSO2. All rights reserved.