public class TestResult extends Object
| 构造器和说明 |
|---|
TestResult(int fRunTests,
String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
caseCount()
Gets the number of test case.
|
int |
errorCount()
Gets the number of detected errors.
|
List<TestFailure> |
errors()
Returns the errors
|
int |
failureCount()
Gets the number of detected failures.
|
List<TestFailure> |
failures()
Returns the failures
|
long |
getEndTime() |
String |
getName()
Gets the TestResult name.
|
long |
getStartTime() |
void |
setEndTime(long endTime) |
void |
setStartTime(long startTime) |
int |
skipCount()
Gets the number of detected skips.
|
List<TestFailure> |
skips()
Returns an Enumeration for the skips
|
List<AbstractTest> |
success()
Returns the success
|
int |
successCount()
Gets the number of detected successes.
|
public TestResult(int fRunTests,
String name)
public int errorCount()
public List<TestFailure> errors()
public int failureCount()
public List<TestFailure> failures()
public int skipCount()
public List<TestFailure> skips()
public int successCount()
public List<AbstractTest> success()
public int caseCount()
public String getName()
public long getStartTime()
public void setStartTime(long startTime)
public long getEndTime()
public void setEndTime(long endTime)
Copyright © 2019. All rights reserved.