public class TestResult extends TestResultModel implements Comparable<TestResult>
DURATION_FORMATTER| Constructor and Description |
|---|
TestResult(String name,
long duration,
ClassTestResults classResults) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFailure(String message,
String stackTrace) |
int |
compareTo(TestResult testResult) |
ClassTestResults |
getClassResults() |
long |
getDuration() |
List<TestFailure> |
getFailures() |
String |
getFormattedDuration() |
Object |
getId() |
String |
getName() |
TestResult.ResultType |
getResultType() |
String |
getTitle() |
void |
ignored() |
getFormattedResultType, getStatusClasspublic TestResult(String name, long duration, ClassTestResults classResults)
public Object getId()
public String getName()
public String getTitle()
getTitle in class TestResultModelpublic TestResult.ResultType getResultType()
getResultType in class TestResultModelpublic long getDuration()
getDuration in class TestResultModelpublic String getFormattedDuration()
getFormattedDuration in class TestResultModelpublic ClassTestResults getClassResults()
public List<TestFailure> getFailures()
public void ignored()
public int compareTo(TestResult testResult)
compareTo in interface Comparable<TestResult>Copyright © 2013. All rights reserved