Uses of Interface
org.assertj.core.api.AssertFactory
Packages that use AssertFactory
-
Uses of AssertFactory in org.assertj.core.api
Classes in org.assertj.core.api that implement AssertFactoryModifier and TypeClassDescriptionclass
InstanceOfAssertFactory<T,
ASSERT extends AbstractAssert<?, ?>> AssertFactory
decorator that casts the input value to the given type before invoking the decorated factory.class
Deprecated.Fields in org.assertj.core.api declared as AssertFactoryModifier and TypeFieldDescriptionprivate AssertFactory
<ELEMENT, ELEMENT_ASSERT> FactoryBasedNavigableIterableAssert.assertFactory
private AssertFactory
<ELEMENT, ELEMENT_ASSERT> FactoryBasedNavigableListAssert.assertFactory
private final AssertFactory
<T, ASSERT> InstanceOfAssertFactory.delegate
Methods in org.assertj.core.api with parameters of type AssertFactoryModifier and TypeMethodDescriptionstatic <ACTUAL extends Iterable<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Assertions.assertThat
(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterable
instance.static <ACTUAL extends List<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Assertions.assertThat
(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anList
instance.static <ACTUAL extends Iterable<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> AssertionsForInterfaceTypes.assertThat
(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterable
instance.static <ACTUAL extends List<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> AssertionsForInterfaceTypes.assertThat
(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterable
instance.static <ACTUAL extends Iterable<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> FactoryBasedNavigableIterableAssert.assertThat
(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterable
instance.static <ACTUAL extends List<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> FactoryBasedNavigableListAssert.assertThat
(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anList
instance.static <ACTUAL extends Iterable<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Java6Assertions.assertThat
(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterable
instance.static <ACTUAL extends List<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Java6Assertions.assertThat
(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anList
instance.default <ACTUAL extends Iterable<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> WithAssertions.assertThat
(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterable
instance.default <ACTUAL extends List<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> WithAssertions.assertThat
(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anList
instance.protected <ASSERT extends AbstractAssert<?,
?>>
ASSERTAbstractAssert.extracting
(String propertyOrField, AssertFactory<Object, ASSERT> assertFactory) Extracts the value of given field/property from the object under test and creates a new assertion object using the given assert factory.protected <T,
ASSERT extends AbstractAssert<?, ?>>
ASSERTAbstractAssert.extracting
(Function<? super ACTUAL, ? extends T> extractor, AssertFactory<T, ASSERT> assertFactory) Uses the givenFunction
to extract a value from the object under test and creates a new assertion object using the given assert factory.static <ACTUAL extends Iterable<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> BDDAssertions.then
(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterable
instance.static <ACTUAL extends List<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> BDDAssertions.then
(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anList
instance.static <ACTUAL extends Iterable<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Java6BDDAssertions.then
(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterable
instance.static <ACTUAL extends List<? extends ELEMENT>,
ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Java6BDDAssertions.then
(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anList
instance.Constructors in org.assertj.core.api with parameters of type AssertFactoryModifierConstructorDescriptionFactoryBasedNavigableIterableAssert
(ACTUAL actual, Class<?> selfType, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) FactoryBasedNavigableListAssert
(ACTUAL actual, Class<?> selfType, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) InstanceOfAssertFactory
(Class<T> rawClass, Type[] typeArguments, AssertFactory<T, ASSERT> delegate) Instantiates a newInstanceOfAssertFactory
for a given type with type arguments.InstanceOfAssertFactory
(Class<T> type, AssertFactory<T, ASSERT> delegate) Instantiates a newInstanceOfAssertFactory
for a given type.private
InstanceOfAssertFactory
(Type type, Class<T> rawClass, AssertFactory<T, ASSERT> delegate)
Assertions.assertThat(Object)
instead.