Uses of Interface
org.assertj.core.api.AssertionErrorCollector
Packages that use AssertionErrorCollector
-
Uses of AssertionErrorCollector in org.assertj.core.api
Subinterfaces of AssertionErrorCollector in org.assertj.core.apiModifier 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
Classes in org.assertj.core.api that implement AssertionErrorCollectorModifier 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.Fields in org.assertj.core.api declared as AssertionErrorCollectorModifier and TypeFieldDescriptionprivate AssertionErrorCollector
ErrorCollector.assertionErrorCollector
private AssertionErrorCollector
DefaultAssertionErrorCollector.delegate
Methods in org.assertj.core.api that return types with arguments of type AssertionErrorCollectorModifier and TypeMethodDescriptiondefault Optional
<AssertionErrorCollector> AssertionErrorCollector.getDelegate()
DefaultAssertionErrorCollector.getDelegate()
Methods in org.assertj.core.api with parameters of type AssertionErrorCollectorModifier 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) Constructors in org.assertj.core.api with parameters of type AssertionErrorCollectorModifierConstructorDescription(package private)
ErrorCollector
(AssertionErrorCollector collector) SoftProxies
(AssertionErrorCollector assertionErrorCollector) -
Uses of AssertionErrorCollector in org.assertj.core.api.junit.jupiter
Classes in org.assertj.core.api.junit.jupiter that implement AssertionErrorCollectorModifier and TypeClassDescription(package private) static class
Fields in org.assertj.core.api.junit.jupiter with type parameters of type AssertionErrorCollectorModifier and TypeFieldDescription(package private) InheritableThreadLocal
<AssertionErrorCollector> SoftAssertionsExtension.ThreadLocalErrorCollector.threadLocal
Methods in org.assertj.core.api.junit.jupiter that return AssertionErrorCollectorModifier 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.Methods in org.assertj.core.api.junit.jupiter that return types with arguments of type AssertionErrorCollectorModifier and TypeMethodDescriptionSoftAssertionsExtension.ThreadLocalErrorCollector.getDelegate()
Methods in org.assertj.core.api.junit.jupiter with parameters of type AssertionErrorCollectorModifier and TypeMethodDescriptionprivate static boolean
SoftAssertionsExtension.initialiseDelegate
(org.junit.jupiter.api.extension.ExtensionContext context, AssertionErrorCollector collector) void
SoftAssertionsExtension.ThreadLocalErrorCollector.setDelegate
(AssertionErrorCollector assertionErrorCollector)