private static class TestRunner.TestResults extends Object
| Modifier and Type | Field and Description |
|---|---|
private List<org.junit.runner.notification.Failure> |
failures |
private int |
numFailed |
private int |
numIgnored |
private int |
numRun |
| Modifier | Constructor and Description |
|---|---|
private |
TestRunner.TestResults() |
| Modifier and Type | Method and Description |
|---|---|
TestRunner.TestResults |
merge(Class<?> testClass,
org.junit.runner.Result result)
Updates the current state of
this with the result. |
String |
summarize()
Constructs a human-readable summary of the success/failure of the tests executed.
|
private int numRun
private int numFailed
private int numIgnored
private List<org.junit.runner.notification.Failure> failures
public TestRunner.TestResults merge(Class<?> testClass, org.junit.runner.Result result)
this with the result.testClass - The test class executed.result - The results of the test class execution.thispublic String summarize()
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.