Uses of Class
org.junit.runner.notification.Failure
Packages that use Failure
Package
Description
Provides classes used to describe, collect, run and analyze multiple tests.
Provides information about a test run.
-
Uses of Failure in org.junit.experimental.results
Methods in org.junit.experimental.results that return types with arguments of type FailureModifier and TypeMethodDescriptionPrintableResult.failures()Returns the failures in this result.Constructor parameters in org.junit.experimental.results with type arguments of type FailureModifierConstructorDescriptionPrintableResult(List<Failure> failures) A result that includes the givenfailures -
Uses of Failure in org.junit.internal
Methods in org.junit.internal with parameters of type FailureModifier and TypeMethodDescriptionprotected voidTextListener.printFailure(Failure each, String prefix) voidTextListener.testFailure(Failure failure) -
Uses of Failure in org.junit.runner
Methods in org.junit.runner that return types with arguments of type FailureModifier and TypeMethodDescriptionResult.getFailures()Returns theFailures describing tests that failed and the problems they encountered -
Uses of Failure in org.junit.runner.notification
Methods in org.junit.runner.notification with parameters of type FailureModifier and TypeMethodDescriptionvoidRunNotifier.fireTestAssumptionFailed(Failure failure) Invoke to tell listeners that an atomic test flagged that it assumed something false.voidRunNotifier.fireTestFailure(Failure failure) Invoke to tell listeners that an atomic test failed.voidRunListener.testAssumptionFailure(Failure failure) Called when an atomic test flags that it assumes a condition that is falsevoidRunListener.testFailure(Failure failure) Called when an atomic test fails, or when a listener throws an exception.