Uses of Interface
org.assertj.core.api.SoftAssertionsProvider
Packages that use SoftAssertionsProvider
-
Uses of SoftAssertionsProvider in org.assertj.core.api
Subinterfaces of SoftAssertionsProvider 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
interface
Classes in org.assertj.core.api that implement SoftAssertionsProviderModifier 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
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 SoftAssertionsProviderModifier and TypeFieldDescriptionprivate SoftAssertionsProvider
SoftAssertionsStatement.soft
private final SoftAssertionsProvider
SoftThrowableTypeAssert.softAssertionsProvider
Methods in org.assertj.core.api with type parameters of type SoftAssertionsProviderModifier and TypeMethodDescriptionstatic <S extends SoftAssertionsProvider>
voidSoftAssertionsProvider.assertSoftly
(Class<S> type, Consumer<S> softly) Use this to avoid having to call assertAll manually.Methods in org.assertj.core.api with parameters of type SoftAssertionsProviderModifier and TypeMethodDescriptionstatic org.junit.runners.model.Statement
SoftAssertionsStatement.softAssertionsStatement
(SoftAssertionsProvider softAssertions, org.junit.runners.model.Statement baseStatement) Constructors in org.assertj.core.api with parameters of type SoftAssertionsProviderModifierConstructorDescriptionprivate
SoftThrowableAssertAlternative
(ACTUAL actual, SoftAssertionsProvider softAssertionsProvider) SoftThrowableTypeAssert
(Class<? extends T> throwableType, SoftAssertionsProvider softAssertionsProvider) Default constructor. -
Uses of SoftAssertionsProvider in org.assertj.core.api.junit.jupiter
Methods in org.assertj.core.api.junit.jupiter with type parameters of type SoftAssertionsProviderModifier and TypeMethodDescriptionstatic <T extends SoftAssertionsProvider>
TSoftAssertionsExtension.getSoftAssertionsProvider
(org.junit.jupiter.api.extension.ExtensionContext context, Class<T> concreteSoftAssertionsProviderType) Returns aSoftAssertionsProvider
instance of the given type for the given extension context.private static <T extends SoftAssertionsProvider>
TSoftAssertionsExtension.instantiateProvider
(org.junit.jupiter.api.extension.ExtensionContext context, Class<T> providerType) Methods in org.assertj.core.api.junit.jupiter that return types with arguments of type SoftAssertionsProviderModifier and TypeMethodDescriptionprivate static Class
<? extends SoftAssertionsProvider> SoftAssertionsExtension.asSoftAssertionsProviderClass
(Field softAssertionsField, Class<?> providerClass) private static Collection
<SoftAssertionsProvider> SoftAssertionsExtension.getSoftAssertionsProviders
(org.junit.jupiter.api.extension.ExtensionContext context) Methods in org.assertj.core.api.junit.jupiter with parameters of type SoftAssertionsProviderModifier and TypeMethodDescriptionprivate static void
SoftAssertionsExtension.setTestInstanceSoftAssertionsField
(Object testInstance, Field softAssertionsField, SoftAssertionsProvider softAssertions) Method parameters in org.assertj.core.api.junit.jupiter with type arguments of type SoftAssertionsProviderModifier and TypeMethodDescriptionprivate static void
SoftAssertionsExtension.checkHasDefaultConstructor
(Field softAssertionsField, Class<? extends SoftAssertionsProvider> softAssertionsProviderClass) private static void
SoftAssertionsExtension.checkIsNotAbstract
(Field softAssertionsField, Class<? extends SoftAssertionsProvider> softAssertionsProviderClass)