Uses of Package
org.assertj.core.api
Packages that use org.assertj.core.api
Package
Description
-
Classes in org.assertj.core.api used by org.assertj.core.apiClassDescriptionBase class for all two-dimensional array assertions.Base class for all array assertions.Base class for all assertions.Base class for all fieldupdater assertions.Base class for atomic assertions.Base class for all implementations of assertions for
BigDecimal
s.Base class for BigDecimal scale assertions.Base class for all implementations of assertions forBigInteger
s.Base class for all implementations of assertions forBoolean
s.Base class for all implementations of assertions forByte
s.Base class for all implementations of assertions forCharacter
s.Base class for all implementations of assertions forCharSequence
s.Base class for all implementations of assertions forClass
es.Base class for all implementations of assertions forCollection
s.Base class for all implementations of
.ComparableAssert
Assertions forCompletableFuture
.Base class for all implementations of assertions forDate
s.Base class for all implementations of assertions forDouble
s.Assertions forDuration
type.Base implementation for Enumerable class assertions.Base class for all implementations of assertions forFile
s.Base class for file size assertions.Base class for all implementations of assertions forFloat
s.Base class for all implementations of assertions forInputStream
s.Assertions forInstant
type from new Date & Time API introduced in Java 8.Base class for all implementations of assertions forInteger
s.Base class for implementations of
whose actual value type isObjectEnumerableAssert
.Collection
Base class for all implementations of assertions forIterator
s.Base class for all implementations of assertions forList
s.Assertions forLocalDate
type from new Date & Time API introduced in Java 8.Assertions forLocalDateTime
type from new Date & Time API introduced in Java 8.Assertions forLocalTime
type from new Date & Time API introduced in Java 8.Base class for all implementations of assertions forLongAdder
s.Base class for all implementations of assertions forLong
s.Base class for all implementations of assertions forMap
s.Assertions forMatcher
Assertion methods for arrays of objects.Base class for all implementations of assertions forObject
s.Assertions forOffsetDateTime
type from new Date & Time API introduced in Java 8.Assertions forOffsetTime
type from new Date & Time API introduced in Java 8.Assertions forOptional
.Assertions forOptionalDouble
.Assertions forOptionalInt
.Assertions forOptionalLong
.Assertions forPath
objectsAssertions forPeriod
type.Assertions forPredicate
.Assertions forPredicate
.Base class for all implementations of assertions forShort
s.Assertions forSpliterator
type.Base class for all implementations of assertions forTemporal
s.Base class for all implementations of assertions forThrowable
s.Base class forComparable
assertions.Base class for all implementations of assertions forURI
s.Base class for all implementations of assertions forURL
s.Assertions applicable to two-dimensional arrays.Assertions applicable to primitive arrays or arrays of elements either naturallyComparable
or according to a givenComparator
.Base contract of all assertion objects: the minimum functionality that any assertion object should provide.A marker interface that can be used to wrap your assertion within assertThat method for better readability.A single method factory interface to create anAssert
for a given value.Information about an assertion.Entry point for assertion methods for different types.Java 8 is picky when choosing the rightassertThat
method if the object under test is generic and bounded, for example if foo is instance of T that extends Exception, java 8 will complain that it can't resolve the properassertThat
method (normallyassertThat(Throwable)
as foo might implement an interface like List, if that occurredassertThat(List)
would also be a possible choice - thus confusing java 8.Provides aAssert
for the current object.Entry point for assumption methods for different types, which allow to skip test execution on failed assumptions.Assertion methods forAtomicIntegerFieldUpdater
s.Assertion methods forAtomicLongFieldUpdater
s.Assertion methods forAtomicMarkableReference
s.Assertion methods forAtomicReferenceFieldUpdater
s.Assertion methods forAtomicStampedReference
s.Parent interface for soft assertion implementations.Behavior-driven development style entry point for assertion methods for different types.Suppose we have a test case and in it we'd like to make numerous BDD assertions.Assertion methods forBigDecimal
s.Assertion methods forBigInteger
s.Assertion methods for two-dimensional arrays ofboolean
s.Assertion methods for arrays ofboolean
s.Assertion methods forBoolean
s.Assertion methods for two-dimensional arrays ofbyte
s.Assertion methods for arrays ofbyte
s.Assertion methods forByte
s.Assertion methods for two-dimensional arrays ofchar
s.Assertion methods forCharacter
s.Assertion methods for arrays ofchar
s.Assertion methods forCharSequence
s.Assertion methods forClass
es.Build the Assert instance by reflection.Build the Assert instance by reflection.Assertion methods forCollection
s.Assertion methods applicable to
s.Comparable
Assertions forCompletableFuture
.A condition to be met by an object.Describes the condition status after being evaluated.Assertions forDate
s.An object that has a description.Assertion methods for two-dimensional arrays ofdouble
s.Assertion methods for arrays ofdouble
s.Assertion methods forDouble
s.Assertions forPredicate
.Assertion methods forDuration
Assertions applicable to groups of values that can be enumerated (e.g.Collects error messages of all AssertionErrors thrown by the proxied method.Mechanism for extending assertion classes.Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions through deeply nested models more easily.Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions through deeply nested models more easily.Assertion methods forFile
s.Reusable assertions for two-dimensional arrays offloat
s.Assertion methods for arrays offloat
s.Assertion methods for floats.Assertion methods applicable to floating-point
s.Number
Assertion methods forFuture
.Allows to use a Hamcrest matcher as a condition.Assertions methods applicable to indexed groups of objects (e.g.Assertion methods forInputStream
s.InstanceOfAssertFactory
instances for Java types.AssertFactory
decorator which casts the input value to the given type before invoking the decoratedAssertFactory
.Assertion methods forInstant
s.Assertion methods for two-dimensional arrays ofint
s.Assertion methods for arrays ofint
s.Assertion methods forInteger
s.Assertions forPredicate
.Assertion methods forIterable
.Assertion methods forIterator
.AbstractBDDSoftAssertions compatible with Android.AbstractStandardSoftAssertions compatible with Android.Assertion methods forList
s.Assertion methods for two-dimensional arrays oflong
s.Assertions forLongAdder
.Assertion methods for arrays oflong
s.Assertion methods forLong
s.Assertions forLongPredicate
.Assertions forMap
s.Assertions forMatcher
.Assertion class checking aThrowableAssert.ThrowingCallable
throws no exception.Assertion methods applicable to
s.Number
Assertion methods for two-dimensional arrays of objects.Assertion methods for arrays of objects.Assertion methods forObject
s.Assertions methods applicable to groups of objects (e.g.Assertions forOptional
.Assertions forOptionalDouble
.Assertions forOptionalInt
.Assertions forOptionalLong
.Assertion class forPath
sAssertion methods forPeriod
Assertions forPredicate
.An assertion that supports asserting aPredicate
over all the fields of an object graph.Assertion methods for arrays ofshort
s.Assertion methods for arrays ofshort
s.Assertion methods forShort
s.Suppose we have a test case and in it we'd like to make numerous assertions.Parent interface for soft assertion implementations.ThrowableAssertAlternative
subclass used in soft assertions.ThrowableTypeAssert for soft assertions.Assertion methods forSpliterator
s.Assertion methods forString
s.Assertion methods forThrowable
s.Assertion methods forThrowable
similar toThrowableAssert
but with assertions methods named differently to make testing code fluent (ex :withMessage
instead ofhasMessage
.Assertion class checkingThrowable
type.Consumer
that deals with checked exceptions by rethrowing them asRuntimeException
.Assertion class forURI
sWritable information about an assertion.Assertions forZonedDateTime
type from new Date & Time API introduced in Java 8. -
Classes in org.assertj.core.api used by org.assertj.core.api.filter
-
Classes in org.assertj.core.api used by org.assertj.core.api.junit.jupiterClassDescriptionSuppose we have a test case and in it we'd like to make numerous assertions.Parent interface for soft assertion implementations.
-
Classes in org.assertj.core.api used by org.assertj.core.conditionClassDescriptionA condition to be met by an object.An object that has a description.
-
Classes in org.assertj.core.api used by org.assertj.core.errorClassDescriptionInformation about an assertion.A condition to be met by an object.
-
Classes in org.assertj.core.api used by org.assertj.core.internalClassDescriptionInformation about an assertion.A condition to be met by an object.
-
Classes in org.assertj.core.api used by org.assertj.guava.apiClassDescriptionBase class for all assertions.Base class for all implementations of assertions for
CharSequence
s.Base class for implementations of
whose actual value type isObjectEnumerableAssert
.Collection
Base class for all implementations of assertions forObject
s.Base contract of all assertion objects: the minimum functionality that any assertion object should provide.An object that has a description.Assertions applicable to groups of values that can be enumerated (e.g.Mechanism for extending assertion classes.AssertFactory
decorator which casts the input value to the given type before invoking the decoratedAssertFactory
.Assertion methods forObject
s.Assertions methods applicable to groups of objects (e.g.