Methods Summary |
---|
public void | add(Result result)
Result r = result;
addToResult(r);
|
private void | addToResult(Result r)add the result object to specific Vector based on the status.
if (r.getStatus() == Result.FAILED) {
failedResults.add(r);
} else if (r.getStatus() == Result.PASSED) {
okayResults.add(r);
} else if (r.getStatus() == Result.WARNING) {
warningResults.add(r);
} else if ((r.getStatus() == Result.NOT_APPLICABLE) ||
(r.getStatus() == Result.NOT_RUN) ||
(r.getStatus() == Result.NOT_IMPLEMENTED)) {
naResults.add(r);
}
|
public java.util.Vector | getError()
return error;
|
public int | getErrorCount()
return (error == null) ? 0 : error.size();
|
public int | getFailedCount()
return (failedResults == null) ? 0 : failedResults.size();
|
public java.util.Vector | getFailedResults()
return failedResults;
|
public java.util.Vector | getNaResults()
return naResults;
|
public java.util.Vector | getOkayResults()
return okayResults;
|
public int | getWarningCount()
return (warningResults == null) ? 0 : warningResults.size();
|
public java.util.Vector | getWarningResults()
return warningResults;
|
public void | log(java.util.logging.LogRecord logRecord)
error.add(logRecord);
|