Failure
holds a description of the failed test and the exception that was thrown while running it. In most cases the {@link org.junit.runner.Description}will be of a single test. However, if problems are encountered while constructing the test (for example, if a {@link org.junit.BeforeClass} method is not static), it may describesomething other than a single test.
@since 4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|