|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TestResult
The TestResult represents the results from a single test. A single test can include 1 or more sql commands that are considered 1 inclusive test.
| Nested Class Summary | |
|---|---|
static interface |
TestResult.RESULT_STATE
The RESULT_STATE is the value assigned based the result of the executed query test |
static interface |
TestResult.RESULT_STATE_STRING
|
| Method Summary | |
|---|---|
long |
getBeginTS()
Return the time (in a long value) that this query started. |
long |
getEndTS()
Return the time (in a long value) that this query ended |
String |
getErrorfile()
|
Throwable |
getException()
|
String |
getExceptionMsg()
If the result from this query produced an exception, then this method should return the String representation of the exception. |
String |
getQuery()
Return the query that was executed in order to produce this result. |
String |
getQueryID()
Return the id that uniquely identifies the query within the query set getQuerySetID(). |
String |
getQuerySetID()
Return the id the uniquely identifies the query set. |
String |
getResultStatusString()
Return the result status in string format. |
int |
getStatus()
Return the status of the execution of this query {@link #getQuery(); |
void |
setBeginTS(long beginTS)
|
void |
setEndTS(long endTS)
|
void |
setErrorFile(String errorFile)
|
void |
setException(Throwable error)
Set the exception that indicates the reason why there is a problem with the results. |
void |
setExceptionMessage(String errorMsg)
Set the error message relating to the reason why there is a problem with the results. |
void |
setStatus(int status)
Call to set the status for this test result. |
| Method Detail |
|---|
String getQuerySetID()
String getQueryID()
getQuerySetID().
String getQuery()
int getStatus()
TestResult.RESULT_STATEvoid setStatus(int status)
status - TestResult.RESULT_STATEString getResultStatusString()
String getExceptionMsg()
String representation of the exception.
Throwable getException()
void setException(Throwable error)
setExceptionMessage(String) to display
a different message in the summary file.
error - void setExceptionMessage(String errorMsg)
errorMsg - long getBeginTS()
void setBeginTS(long beginTS)
long getEndTS()
void setEndTS(long endTS)
String getErrorfile()
void setErrorFile(String errorFile)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||