public class SuiteResult extends Object
| Constructor and Description |
|---|
SuiteResult(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(TestResult result) |
long |
getElapsedTime() |
List<TestResult> |
getErrorTests()
Returns all tests in error
|
List<TestResult> |
getFailingTests()
Returns all failing tests
|
int |
getNumberOfErrors()
Returns the number of errors in the suite
|
int |
getNumberOfFailures()
Returns the number of failing tests in the suite
|
int |
getNumberOfSkipped() |
int |
getNumberOfTests() |
String |
getTestName()
Returns the Suite Name
|
boolean |
hasSucceeded()
Notifies if the Suite failed or not
|
void |
setElapsedTime(long elapsedTime) |
public SuiteResult(String name)
public boolean hasSucceeded()
public int getNumberOfFailures()
public int getNumberOfErrors()
public int getNumberOfSkipped()
public int getNumberOfTests()
public long getElapsedTime()
public void setElapsedTime(long elapsedTime)
public String getTestName()
public List<TestResult> getFailingTests()
public List<TestResult> getErrorTests()
public void add(TestResult result)
Copyright © 2019. All rights reserved.