Uses of Interface
org.assertj.core.api.SoftAssertionsProvider
-
Packages that use SoftAssertionsProvider Package Description org.assertj.core.api org.assertj.core.api.junit.jupiter -
-
Uses of SoftAssertionsProvider in org.assertj.core.api
Subinterfaces of SoftAssertionsProvider in org.assertj.core.api Modifier and Type Interface Description interface
AutoCloseableSoftAssertionsProvider
Parent interface for soft assertion implementations.interface
BDDSoftAssertionsProvider
interface
Java6BDDSoftAssertionsProvider
AbstractBDDSoftAssertions compatible with Android.interface
Java6StandardSoftAssertionsProvider
AbstractStandardSoftAssertions compatible with Android.interface
SoftAssertionsRule
interface
StandardSoftAssertionsProvider
Classes in org.assertj.core.api that implement SoftAssertionsProvider Modifier and Type Class Description class
AbstractSoftAssertions
class
AutoCloseableBDDSoftAssertions
A version ofBDDSoftAssertions
that uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()
so that you don't forget to.class
AutoCloseableSoftAssertions
A version ofSoftAssertions
that uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()
so that you don't forget to.class
BDDSoftAssertions
Suppose we have a test case and in it we'd like to make numerous BDD assertions.class
Java6BDDSoftAssertions
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.class
Java6JUnitBDDSoftAssertions
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.class
Java6JUnitSoftAssertions
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.class
Java6SoftAssertions
Deprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.class
JUnitBDDSoftAssertions
Same asSoftAssertions
, but with the following differences:
First, it's a junit rule, which can be used without having to callassertAll()
, example:class
JUnitJupiterBDDSoftAssertions
Deprecated.useSoftAssertionsExtension
instead.class
JUnitJupiterSoftAssertions
Deprecated.useSoftAssertionsExtension
instead.class
JUnitSoftAssertions
Same asSoftAssertions
, but with the following differences:
First, it's a junit rule, which can be used without having to callassertAll()
, example:class
SoftAssertions
Suppose we have a test case and in it we'd like to make numerous assertions.Fields in org.assertj.core.api declared as SoftAssertionsProvider Modifier and Type Field Description private SoftAssertionsProvider
SoftAssertionsStatement. soft
Methods in org.assertj.core.api with type parameters of type SoftAssertionsProvider Modifier and Type Method Description static <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 SoftAssertionsProvider Modifier and Type Method Description static 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 SoftAssertionsProvider Constructor Description SoftAssertionsStatement(SoftAssertionsProvider soft)
-
Uses of SoftAssertionsProvider in org.assertj.core.api.junit.jupiter
Methods in org.assertj.core.api.junit.jupiter with type parameters of type SoftAssertionsProvider Modifier and Type Method Description static <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 SoftAssertionsProvider Modifier and Type Method Description private 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 SoftAssertionsProvider Modifier and Type Method Description private static void
SoftAssertionsExtension. setTestInstanceSoftAssertionsField(Object testInstance, Field softAssertionsField, SoftAssertionsProvider softAssertions)
Method parameters in org.assertj.core.api.junit.jupiter with type arguments of type SoftAssertionsProvider Modifier and Type Method Description private static void
SoftAssertionsExtension. checkHasDefaultConstructor(Field softAssertionsField, Class<? extends SoftAssertionsProvider> softAssertionsProviderClass)
private static void
SoftAssertionsExtension. checkIsNotAbstract(Field softAssertionsField, Class<? extends SoftAssertionsProvider> softAssertionsProviderClass)
-