Uses of Interface
org.assertj.core.api.AfterAssertionErrorCollected
Packages that use AfterAssertionErrorCollected
-
Uses of AfterAssertionErrorCollected in org.assertj.core.api
Subinterfaces of AfterAssertionErrorCollected in org.assertj.core.apiModifier and TypeInterfaceDescriptioninterfaceinterfaceParent interface for soft assertion implementations.interfaceinterfaceAbstractBDDSoftAssertions compatible with Android.interfaceAbstractStandardSoftAssertions compatible with Android.interfaceParent interface for soft assertion implementations.interfaceinterfaceClasses in org.assertj.core.api that implement AfterAssertionErrorCollectedModifier and TypeClassDescriptionclassclassA version ofBDDSoftAssertionsthat uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()so that you don't forget to.classA version ofSoftAssertionsthat uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()so that you don't forget to.classSuppose we have a test case and in it we'd like to make numerous BDD assertions.classclassDeprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.classDeprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.classDeprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.classDeprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.classSame asSoftAssertions, but with the following differences:
First, it's a junit rule, which can be used without having to callassertAll(), example:classDeprecated.useSoftAssertionsExtensioninstead.classDeprecated.useSoftAssertionsExtensioninstead.classSame asSoftAssertions, but with the following differences:
First, it's a junit rule, which can be used without having to callassertAll(), example:classSuppose we have a test case and in it we'd like to make numerous assertions.Methods in org.assertj.core.api with parameters of type AfterAssertionErrorCollectedModifier and TypeMethodDescriptionvoidDefaultAssertionErrorCollector.addAfterAssertionErrorCollected(AfterAssertionErrorCollected afterAssertionErrorCollected) Register a callback allowing to react after anAssertionErroris collected by the current soft assertions.voidDefaultAssertionErrorCollector.setAfterAssertionErrorCollected(AfterAssertionErrorCollected afterAssertionErrorCollected) Same asDefaultAssertionErrorCollector.addAfterAssertionErrorCollected(AfterAssertionErrorCollected), but also removes all previously added callbacks.