Package | Description |
---|---|
org.junit.experimental.results | |
org.junit.internal | |
org.junit.runner |
Provides classes used to describe, collect, run and analyze multiple tests.
|
org.junit.runner.notification |
Provides information about a test run.
|
Constructor and Description |
---|
PrintableResult(List<Failure> failures)
A result that includes the given
failures |
Modifier and Type | Method and Description |
---|---|
protected void |
TextListener.printFailure(Failure each,
String prefix) |
void |
TextListener.testFailure(Failure failure) |
Modifier and Type | Method and Description |
---|---|
List<Failure> |
Result.getFailures() |
Modifier and Type | Method and Description |
---|---|
void |
RunNotifier.fireTestAssumptionFailed(Failure failure)
Invoke to tell listeners that an atomic test flagged that it assumed
something false.
|
void |
RunNotifier.fireTestFailure(Failure failure)
Invoke to tell listeners that an atomic test failed.
|
void |
RunListener.testAssumptionFailure(Failure failure)
Called when an atomic test flags that it assumes a condition that is
false
|
void |
RunListener.testFailure(Failure failure)
Called when an atomic test fails, or when a listener throws an exception.
|
Copyright © 2002–2022 JUnit. All rights reserved.