public class TestResults extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestResults.TestResult |
Constructor and Description |
---|
TestResults(String name) |
Modifier and Type | Method and Description |
---|---|
TestResults |
addResult(String name,
boolean succeeded,
boolean errored,
Throwable e) |
int |
getErroredCount() |
int |
getFailedCount() |
String |
getFile() |
String |
getName() |
List<TestResults.TestResult> |
getResults() |
int |
getSucceededCount() |
boolean |
hasAnyErrors() |
void |
printResults() |
TestResults |
setFile(String file) |
TestResults |
setName(String name) |
public TestResults(String name)
public boolean hasAnyErrors()
public void printResults()
public TestResults addResult(String name, boolean succeeded, boolean errored, Throwable e)
public List<TestResults.TestResult> getResults()
public int getErroredCount()
public int getSucceededCount()
public int getFailedCount()
public TestResults setFile(String file)
public TestResults setName(String name)
Copyright © 2016. All rights reserved.