Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Method and Description |
---|---|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.allMatch(Predicate<? super T> predicate)
Verifies that all elements match the given
Predicate . |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.allMatch(Predicate<? super T> predicate,
String predicateDescription)
Verifies that all the elements of actual's array match the given
Predicate . |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.allSatisfy(Consumer<? super T> requirements)
Verifies that all the elements satisfy given requirements expressed as a
Consumer . |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.anyMatch(Predicate<? super T> predicate)
Verifies whether any elements match the provided
Predicate . |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.anySatisfy(Consumer<? super T> requirements)
Verifies that at least one element satisfies the given requirements expressed as a
Consumer . |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.are(Condition<? super T> condition)
Verifies that each element value satisfies the given condition
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.areAtLeast(int times,
Condition<? super T> condition)
Verifies that there are at least n elements in the actual AtomicReferenceArray satisfying the given condition.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.areAtLeastOne(Condition<? super T> condition)
Verifies that there is at least one element in the actual AtomicReferenceArray satisfying the given condition.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.areAtMost(int times,
Condition<? super T> condition)
Verifies that there are at most n elements in the actual AtomicReferenceArray satisfying the given condition.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.areExactly(int times,
Condition<? super T> condition)
Verifies that there are exactly n elements in the actual AtomicReferenceArray satisfying the given condition.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.areNot(Condition<? super T> condition)
Verifies that each element value does not satisfy the given condition
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.as(Description description) |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.as(String description,
Object... args) |
<ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
Java6AbstractStandardSoftAssertions.assertThat(AtomicReferenceArray<ELEMENT> actual)
Create assertion for
AtomicReferenceArray . |
default <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
WithAssertions.assertThat(AtomicReferenceArray<ELEMENT> actual)
Create assertion for
AtomicReferenceArray . |
static <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
Assertions.assertThat(AtomicReferenceArray<ELEMENT> actual)
Create assertion for
AtomicReferenceArray . |
static <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
Java6Assertions.assertThat(AtomicReferenceArray<ELEMENT> actual)
Create assertion for
AtomicReferenceArray . |
static <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
Assumptions.assumeThat(AtomicReferenceArray<ELEMENT> actual)
Create assumption for
AtomicReferenceArray . |
default <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
WithAssumptions.assumeThat(AtomicReferenceArray<ELEMENT> actual)
Creates a new instance of
assumption. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.contains(T... values)
Verifies that the actual AtomicReferenceArray contains the given values, in any order.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.contains(T value,
Index index)
Verifies that the actual AtomicReferenceArray contains the given object at the given index.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsAll(Iterable<? extends T> iterable)
Verifies that the actual AtomicReferenceArray contains all the elements of given
Iterable , in any order. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsAnyElementsOf(Iterable<? extends T> iterable)
Verifies that the actual AtomicReferenceArray contains at least one of the given
Iterable elements. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsAnyOf(T... values)
Verifies that the actual AtomicReferenceArray contains at least one of the given values.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsExactly(T... values)
Verifies that the actual AtomicReferenceArray contains only the given values and nothing else, in order.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsExactlyElementsOf(Iterable<? extends T> iterable)
Same as
containsExactly(Object...) but handles the Iterable to array conversion : verifies that
actual contains all elements of the given Iterable and nothing else in the same order. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsExactlyInAnyOrder(T... values)
Verifies that the actual AtomicReferenceArray contains exactly the given values and nothing else, in any order.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsExactlyInAnyOrderElementsOf(Iterable<? extends T> values)
Verifies that the actual AtomicReferenceArray contains exactly the given values and nothing else, in any order.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsNull()
Verifies that the actual AtomicReferenceArray contains at least a null element.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsOnly(T... values)
Verifies that the actual AtomicReferenceArray contains only the given values and nothing else, in any order and ignoring duplicates (i.e.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsOnlyElementsOf(Iterable<? extends T> iterable)
Same semantic as
containsOnly(Object[]) : verifies that actual contains all elements of the given
Iterable and nothing else, in any order and ignoring duplicates (i.e. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsOnlyNulls()
Verifies that the actual AtomicReferenceArray contains only null elements and nothing else.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsOnlyOnce(T... values)
Verifies that the actual AtomicReferenceArray contains the given values only once.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsSequence(Iterable<? extends T> sequence)
Verifies that the actual AtomicReferenceArray contains the given sequence in the correct order and without extra values between the sequence values.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsSequence(T... sequence)
Verifies that the actual AtomicReferenceArray contains the given sequence in the correct order and without extra values between the sequence values.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsSubsequence(Iterable<? extends T> subsequence)
Verifies that the actual AtomicReferenceArray contains the given subsequence in the correct order (possibly with other values between them).
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.containsSubsequence(T... subsequence)
Verifies that the actual AtomicReferenceArray contains the given subsequence in the correct order (possibly with other values between them).
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotContain(T... values)
Verifies that the actual AtomicReferenceArray does not contain the given values.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotContain(T value,
Index index)
Verifies that the actual AtomicReferenceArray does not contain the given object at the given index.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotContainAnyElementsOf(Iterable<? extends T> iterable)
Verifies that the actual AtomicReferenceArray does not contain any elements of the given
Iterable (i.e. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotContainNull()
Verifies that the actual AtomicReferenceArray does not contain null elements.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotContainSequence(Iterable<? extends T> sequence)
Verifies that the actual AtomicReferenceArray contains the given sequence in the given order and without extra values between the sequence values.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotContainSequence(T... sequence)
Verifies that the actual AtomicReferenceArray contains the given sequence in the given order and without extra values between the sequence values.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotContainSubsequence(Iterable<? extends T> subsequence)
Verifies that the actual AtomicReferenceArray does not contain the given subsequence in the correct order (possibly
with other values between them).
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotContainSubsequence(T... subsequence)
Verifies that the actual AtomicReferenceArray does not contain the given subsequence in the correct order (possibly
with other values between them).
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotHaveAnyElementsOfTypes(Class<?>... unexpectedTypes)
Verifies that all the elements in the actual AtomicReferenceArray do not belong to the specified types (including subclasses).
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotHaveDuplicates()
Verifies that the actual AtomicReferenceArray does not contain duplicates.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doNotHave(Condition<? super T> condition)
Verifies that all elements don't satisfy the given condition.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.endsWith(T[] sequence)
Verifies that the actual AtomicReferenceArray ends with the given sequence of objects, without any other objects between them.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.endsWith(T first,
T... sequence)
Verifies that the actual AtomicReferenceArray ends with the given sequence of objects, without any other objects between them.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.filteredOn(Condition<? super T> condition)
Filter the array under test keeping only elements matching the given
Condition . |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.filteredOn(String propertyOrFieldName,
FilterOperator<?> filterOperator)
Filter the array under test keeping only elements having a property or field matching the filter expressed with
the
FilterOperator , the property/field is specified by propertyOrFieldName parameter. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.filteredOn(String propertyOrFieldName,
Object expectedValue)
Filter the array under test keeping only elements having a property or field equal to
expectedValue , the
property/field is specified by propertyOrFieldName parameter. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.filteredOnNull(String propertyOrFieldName)
Filter the array under test keeping only elements whose property or field specified by
propertyOrFieldName
is null. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasArray(T[] expected)
Verifies that the AtomicReferenceArray has the given array.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasAtLeastOneElementOfType(Class<?> expectedType)
Verifies that at least one element in the actual AtomicReferenceArray has the specified type (matching
includes subclasses of the given type).
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasOnlyElementsOfType(Class<?> expectedType)
Verifies that all the elements in the actual AtomicReferenceArray belong to the specified type (matching includes
subclasses of the given type).
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasOnlyElementsOfTypes(Class<?>... types)
Verifies that all elements of the actual group are instances of given classes or interfaces.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasOnlyOneElementSatisfying(Consumer<? super T> elementAssertions)
Verifies that the unique element of the
AtomicReferenceArray satisfies the given assertions expressed as a Consumer ,
if it does not, only the first error is reported, use SoftAssertions to get all the errors. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasSameElementsAs(Iterable<? extends T> iterable)
An alias of
containsOnlyElementsOf(Iterable) : verifies that actual contains all elements of the
given Iterable and nothing else, in any order. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasSameSizeAs(Iterable<?> other)
Verifies that the actual AtomicReferenceArray has the same size as the given
Iterable . |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasSameSizeAs(Object other)
Verifies that the actual AtomicReferenceArray has the same size as the given array.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasSize(int expected)
Verifies that the number of values in the AtomicReferenceArray is equal to the given one.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasSizeBetween(int lowerBoundary,
int higherBoundary)
Verifies that the number of values in the actual array is between the given boundaries (inclusive).
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasSizeGreaterThan(int boundary)
Verifies that the number of values in the actual array is greater than the given boundary.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasSizeGreaterThanOrEqualTo(int boundary)
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasSizeLessThan(int boundary)
Verifies that the number of values in the actual array is less than the given boundary.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.hasSizeLessThanOrEqualTo(int boundary)
Verifies that the number of values in the actual array is less than or equal to the given boundary.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.have(Condition<? super T> condition)
Verifies that all elements satisfy the given condition.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.haveAtLeast(int times,
Condition<? super T> condition)
Verifies that there are at least n elements in the actual AtomicReferenceArray satisfying the given condition.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.haveAtLeastOne(Condition<? super T> condition)
Verifies that there is at least one element in the actual AtomicReferenceArray satisfying the given condition.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.haveAtMost(int times,
Condition<? super T> condition)
Verifies that there are at most n elements in the actual AtomicReferenceArray satisfying the given condition.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.haveExactly(int times,
Condition<? super T> condition)
Verifies that there are exactly n elements in the actual AtomicReferenceArray satisfying the given condition.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.inBinary() |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.inHexadecimal()
Enable hexadecimal object representation of Iterable elements instead of standard java representation in error
messages.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.isNotEmpty()
Verifies that the AtomicReferenceArray is not empty.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.isSorted()
Verifies that the actual array is sorted in ascending order according to the natural ordering of its elements.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.isSortedAccordingTo(Comparator<? super T> comparator)
Verifies that the actual array is sorted according to the given comparator.
Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if the element is compatible with comparator, otherwise an AssertionError is thrown. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.isSubsetOf(Iterable<? extends T> values)
Verifies that all elements of actual are present in the given
Iterable . |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.isSubsetOf(T... values)
Verifies that all elements of actual are present in the given values.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.noneMatch(Predicate<? super T> predicate)
Verifies that no elements match the given
Predicate . |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.noneSatisfy(Consumer<? super T> restrictions) |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.startsWith(T... sequence)
Verifies that the actual AtomicReferenceArray starts with the given sequence of objects, without any other objects between them.
|
static <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
Java6BDDAssertions.then(AtomicReferenceArray<ELEMENT> actual)
Create assertion for
AtomicReferenceArray . |
static <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
BDDAssertions.then(AtomicReferenceArray<ELEMENT> actual)
Create assertion for
AtomicReferenceArray . |
<ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
Java6AbstractBDDSoftAssertions.then(AtomicReferenceArray<ELEMENT> actual)
Create assertion for
AtomicReferenceArray . |
<C> AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.usingComparatorForElementFieldsWithNames(Comparator<C> comparator,
String... elementPropertyOrFieldNames)
Allows to set a comparator to compare properties or fields of elements with the given names.
|
<C> AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.usingComparatorForElementFieldsWithType(Comparator<C> comparator,
Class<C> type)
Allows to set a specific comparator to compare properties or fields of elements with the given type.
|
<C> AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.usingComparatorForType(Comparator<C> comparator,
Class<C> type)
Allows to set a specific comparator for the given type of elements or their fields.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.usingDefaultElementComparator()
Revert to standard comparison for incoming assertion group element checks.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.usingElementComparator(Comparator<? super T> elementComparator)
Use given custom comparator instead of relying on actual element type
equals method to compare AtomicReferenceArray
elements for incoming assertion checks. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.usingElementComparatorIgnoringFields(String... fields)
Use field/property by field/property on all fields/properties except the given ones (including inherited
fields/properties) instead of relying on actual type A
equals method to compare AtomicReferenceArray elements for
incoming assertion checks. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.usingElementComparatorOnFields(String... fields)
Use field/property by field/property comparison on the given fields/properties only (including inherited
fields/properties) instead of relying on actual type A
equals method to compare AtomicReferenceArray elements for
incoming assertion checks. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.usingFieldByFieldElementComparator()
Use field/property by field/property comparison (including inherited fields/properties) instead of relying on
actual type A
equals method to compare AtomicReferenceArray elements for incoming assertion checks. |
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.usingRecursiveFieldByFieldElementComparator()
Use a recursive field/property by field/property comparison (including inherited fields/properties)
instead of relying on actual type A
equals method to compare AtomicReferenceArray elements for incoming
assertion checks. |
Copyright © 2014–2019 AssertJ. All rights reserved.