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 interfaceAutoCloseableSoftAssertionsProviderParent interface for soft assertion implementations.interfaceBDDSoftAssertionsProviderinterfaceJava6BDDSoftAssertionsProviderAbstractBDDSoftAssertions compatible with Android.interfaceJava6StandardSoftAssertionsProviderAbstractStandardSoftAssertions compatible with Android.interfaceSoftAssertionsRuleinterfaceStandardSoftAssertionsProviderClasses in org.assertj.core.api that implement SoftAssertionsProvider Modifier and Type Class Description classAbstractSoftAssertionsclassAutoCloseableBDDSoftAssertionsA version ofBDDSoftAssertionsthat uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()so that you don't forget to.classAutoCloseableSoftAssertionsA version ofSoftAssertionsthat uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()so that you don't forget to.classBDDSoftAssertionsSuppose we have a test case and in it we'd like to make numerous BDD assertions.classJava6BDDSoftAssertionsDeprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.classJava6JUnitBDDSoftAssertionsDeprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.classJava6JUnitSoftAssertionsDeprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.classJava6SoftAssertionsDeprecated.For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.classJUnitBDDSoftAssertionsSame asSoftAssertions, but with the following differences:
First, it's a junit rule, which can be used without having to callassertAll(), example:classJUnitJupiterBDDSoftAssertionsDeprecated.useSoftAssertionsExtensioninstead.classJUnitJupiterSoftAssertionsDeprecated.useSoftAssertionsExtensioninstead.classJUnitSoftAssertionsSame asSoftAssertions, but with the following differences:
First, it's a junit rule, which can be used without having to callassertAll(), example:classSoftAssertionsSuppose 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 SoftAssertionsProviderSoftAssertionsStatement. softMethods 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.StatementSoftAssertionsStatement. 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 aSoftAssertionsProviderinstance 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 voidSoftAssertionsExtension. 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 voidSoftAssertionsExtension. checkHasDefaultConstructor(Field softAssertionsField, Class<? extends SoftAssertionsProvider> softAssertionsProviderClass)private static voidSoftAssertionsExtension. checkIsNotAbstract(Field softAssertionsField, Class<? extends SoftAssertionsProvider> softAssertionsProviderClass)
-