Uses of Interface
org.assertj.core.api.AssertionErrorCollector
-
Uses of AssertionErrorCollector in org.assertj.core.api
Modifier and TypeInterfaceDescriptioninterface
Parent interface for soft assertion implementations.interface
interface
AbstractBDDSoftAssertions compatible with Android.interface
AbstractStandardSoftAssertions compatible with Android.interface
Parent interface for soft assertion implementations.interface
interface
Modifier and TypeClassDescriptionclass
class
A version ofBDDSoftAssertions
that uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()
so that you don't forget to.class
A version ofSoftAssertions
that uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()
so that you don't forget to.class
Suppose we have a test case and in it we'd like to make numerous BDD assertions.class
class
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.class
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.class
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.class
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.class
Same asSoftAssertions
, but with the following differences:
First, it's a junit rule, which can be used without having to callassertAll()
, example:class
Deprecated.useSoftAssertionsExtension
instead.class
Deprecated.useSoftAssertionsExtension
instead.class
Same asSoftAssertions
, but with the following differences:
First, it's a junit rule, which can be used without having to callassertAll()
, example:class
Suppose we have a test case and in it we'd like to make numerous assertions.Modifier and TypeMethodDescriptiondefault Optional<AssertionErrorCollector>
AssertionErrorCollector.getDelegate()
DefaultAssertionErrorCollector.getDelegate()
Modifier and TypeMethodDescriptionstatic void
AbstractSoftAssertions.assertAll
(AssertionErrorCollector collector) default void
SoftAssertionsProvider.assertAlso
(AssertionErrorCollector collector) Add all errors ofcollector
argument to current
instance.SoftAssertionsProvider
default void
AssertionErrorCollector.setDelegate
(AssertionErrorCollector delegate) Optionally sets a "delegate" collector into which the collected assertions will be deposited.void
DefaultAssertionErrorCollector.setDelegate
(AssertionErrorCollector delegate) -
Uses of AssertionErrorCollector in org.assertj.core.api.junit.jupiter
Modifier and TypeMethodDescriptionstatic AssertionErrorCollector
SoftAssertionsExtension.getAssertionErrorCollector
(org.junit.jupiter.api.extension.ExtensionContext context) Returns theAssertionErrorCollector
for the given extension context, if none exists for the current context then one is created.