| Modifier and Type | Field and Description |
|---|---|
| private final T[] | |
| pack-priv ObjectArrays | |
| private TypeComparators | |
| private final Map | |
| private TypeComparators | |
| pack-priv Iterables |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AtomicReferenceArrayAssert | Returns: this object.the given predicate)Predicate.Implements org. Predicate.
|
| public AtomicReferenceArrayAssert | Returns: this object.the given predicate, String Predicate.a description of the predicateDescription)Predicate used in the error messageImplements org. Predicate.
|
| public AtomicReferenceArrayAssert | Returns: this object.the given requirements)Consumer.Implements org. Consumer.
|
| public AtomicReferenceArrayAssert | Returns: this object.the given requirements)ThrowingConsumer.Implements org. ThrowingConsumer.
|
| public AtomicReferenceArrayAssert | Returns: this object.the given predicate)Predicate.Implements org. Predicate.
|
| public AtomicReferenceArrayAssert | Returns: this object.the given requirements)Consumer.Implements org. Consumer.
|
| public AtomicReferenceArrayAssert | Returns: this object.the given requirements)ThrowingConsumer.Implements org. ThrowingConsumer.
|
| public AtomicReferenceArrayAssert | Returns: this object.the given condition. condition)Implements org. Example :
|
| public AtomicReferenceArrayAssert | Returns: this object.the minimum number of times the condition should be verified. times, Condition<? super T> the given condition. condition)Implements org. |
| public AtomicReferenceArrayAssert | areAtLeastOne(Condition<? super T>
the given condition. condition)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this object.the number of times the condition should be at most verified. times, Condition<? super T> the given condition. condition)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this object.the exact number of times the condition should be verified. times, Condition<? super T> the given condition. condition)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this object.the given condition. condition)Implements org. Example :
|
| public AtomicReferenceArrayAssert | as(Description
the new description to set. description)Overrides default org. |
| public AtomicReferenceArrayAssert | as(String
the new description to set. description, Object... optional parameter if description is a format String. args)Overrides default org. |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the given values. values)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the object to look for. value, Index the index where the object should be stored in the actual AtomicReferenceArray. index)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the given iterable)Iterable we will get elements from.Implements org. Iterable, in any order.
|
| public AtomicReferenceArrayAssert | Returns: this assertion object.the iterable whose at least one element is expected to be in the iterable)AtomicReferenceArray under test.Implements org. Iterable elements.
|
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the values whose at least one which is expected to be in the values)AtomicReferenceArray under test.Implements org. |
| protected AtomicReferenceArrayAssert | |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the given values. values)Implements org. |
| public AtomicReferenceArrayAssert | containsExactlyElementsOf(Iterable<? extends T>
the given iterable)Iterable we will get elements from.Implements org. 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.
|
| protected AtomicReferenceArrayAssert | |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the given values. values)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the given values. values)Implements org. |
| protected AtomicReferenceArrayAssert | |
| protected AtomicReferenceArrayAssert | |
| public AtomicReferenceArrayAssert | Returns: this assertion object.Implements org. |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the given values. values)Implements org. |
| public AtomicReferenceArrayAssert | containsOnlyElementsOf(Iterable<? extends T>
the given iterable)Iterable we will get elements from.Implements org. containsOnly(Object[]) : verifies that actual contains all elements of the given
Iterable and nothing else, in any order and ignoring duplicates (i.e. once a value is found, its duplicates are also considered found).
|
| protected AtomicReferenceArrayAssert | |
| public AtomicReferenceArrayAssert | Returns: this assertion object.Implements org. |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the given values. values)Implements org. |
| public AtomicReferenceArrayAssert | containsOnlyOnceElementsOf(Iterable<? extends T>
the given iterable)Iterable we will get elements from.Implements org. containsOnlyOnce(Object. : verifies that the actual group contains the elements of
the given iterable only once.
|
| protected AtomicReferenceArrayAssert | |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the sequence of objects to look for. sequence)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the sequence of objects to look for. sequence)Implements org. |
| protected AtomicReferenceArrayAssert | |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the subsequence of objects to look for. subsequence)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the subsequence of objects to look for. subsequence)Implements org. |
| protected AtomicReferenceArrayAssert | |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the object to look for. value, Index the index where the object should not be stored in the actual AtomicReferenceArray. index)Implements org. |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the given values. values)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the iterable)Iterable whose elements must not be in the actual AtomicReferenceArray.Implements org. Iterable (i.e. none).
|
| protected AtomicReferenceArrayAssert | |
| public AtomicReferenceArrayAssert | Returns: this assertion object.Implements org. |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the sequence of objects to look for. sequence)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the sequence of objects to look for. sequence)Implements org. |
| protected AtomicReferenceArrayAssert | |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the subsequence of objects to look for. subsequence)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the subsequence of objects to look for. subsequence)Implements org. |
| protected AtomicReferenceArrayAssert | |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the not expected types. unexpectedTypes)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.Implements org. |
| private <U, C extends Collection | |
| public AtomicReferenceArrayAssert | Returns: this object.the given condition. condition)Implements org. |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the first element of the end sequence of objects to look for. first, T... the rest of the end sequence of objects to look for. sequence)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the (possibly empty) sequence of objects to look for. sequence)Implements org. |
| protected AtomicReferenceArrayAssert | |
| public ObjectArrayAssert | Returns: a new assertion object whose object under test is the array of extracted field/property values.the field/property to extract from the array under test fieldOrProperty)Extract the values of given field or property from the array's elements under test into a new array, this new array becoming the array under test. |
| public < the extracted type P> ObjectArrayAssert | Returns: a new assertion object whose object under test is the array of extracted field/property values.the field/property to extract from the array under test fieldOrProperty, Class<P> type to return extractingType)Extract the values of given field or property from the array's elements under test into a new array, this new array becoming the array under test with type. |
| public ObjectArrayAssert | Returns: a new assertion object whose object under test is the list of Tuple with extracted properties/fields values as data.the properties/fields to extract from the initial array under test propertiesOrFields)Extract the values of given fields/properties from the array's elements under test into a new array composed of Tuple (a simple data structure), this new array becoming the array under test. |
| public < the extracted values type U> ObjectArrayAssert | Returns: a new assertion object whose object under test is the list of values extractedthe object transforming input object to desired one extractor)Extract the values from the array's elements by applying an extracting function on them. |
| public < the extracted values type U, the exception type EXCEPTION extends Exception> ObjectArrayAssert | Returns: a new assertion object whose object under test is the list of values extractedthe object transforming input object to desired one extractor)Extract the values from the array's elements by applying an extracting function (which might throw an exception) on them. |
| public ObjectArrayAssert | Returns: a new assertion object whose object under test is the array of extracted values.the name of the method which result is to be extracted from the array under test method)Extract the result of given method invocation from the array's elements under test into a new array, this new array becoming the array under test. |
| public < the extracted type P> ObjectArrayAssert | Returns: a new assertion object whose object under test is the array of extracted values.the name of the method which result is to be extracted from the array under test method, Class<P> type to return extractingType)Extract the result of given method invocation from the array's elements under test into a new array, this new array becoming the array under test. |
| public AtomicReferenceArrayAssert | Returns: a new assertion object with the filtered array under testthe name of the property or field to read propertyOrFieldName, Object the value to compare element's property or field with expectedValue)Filter the array under test keeping only elements having a property or field equal to |
| public AtomicReferenceArrayAssert | Returns: a new assertion object with the filtered array under testthe name of the property or field to read propertyOrFieldName, FilterOperator<?> the filter operator to apply filterOperator)Filter the array under test keeping only elements having a property or field matching the filter expressed with
the |
| public AtomicReferenceArrayAssert | Returns: a new assertion object with the filtered array under testthe filter condition / predicate condition)Filter the array under test keeping only elements matching the given |
| public AtomicReferenceArrayAssert | Returns: a new assertion object with the filtered array under testthe filter predicate predicate)Filter the array under test into a list composed of the elements matching the given |
| public < result type of the filter function U> AtomicReferenceArrayAssert | Returns: a new assertion object with the filtered array under testthe filter function function, U the expected value of the filter function expectedValue)Filter the array under test into a list composed of the elements for which the result of the |
| public AtomicReferenceArrayAssert | Returns: a new assertion object with the filtered array under testthe name of the property or field to read propertyOrFieldName)Filter the array under test keeping only elements whose property or field specified by |
| public < the type of elements to extract. U, the type of collection to flat/extract. C extends Collection | Returns: a new assertion object whose object under test is the list of values extractedthe object transforming input object to an Iterable of desired ones extractor)Extract the Iterable values from the array's elements by applying an Iterable extracting function on them and concatenating the result lists into an array which becomes the new object under test. |
| public < the type of elements to extract. U, the type of collection to flat/extract. C extends Collectionthe exception type EXCEPTION extends Exception> ObjectArrayAssert | Returns: a new assertion object whose object under test is the list of values extractedthe object transforming input object to an Iterable of desired ones extractor)Extract the Iterable values from the array's elements by applying an Iterable extracting function (which might throw an exception) on them and concatenating the result lists into an array which becomes the new object under test. |
| public ObjectArrayAssert | Returns: a new assertion object whose object under test is the list of values extractedthe object transforming input object to an Iterable of desired ones propertyName)Extract from array's elements the Iterable/Array values corresponding to the given property/field name and concatenate them into a single array becoming the new object under test. |
| protected TypeComparators | |
| protected TypeComparators | |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the array expected to be in the actual AtomicReferenceArray. expected)Verifies that the AtomicReferenceArray has the given array. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the expected type. expectedType)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the expected types expectedTypes)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the expected type. expectedType)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the expected classes and interfaces types)Implements org. |
| public AtomicReferenceArrayAssert | hasOnlyOneElementSatisfying(Consumer<? super T>
the assertions to perform on the unique element. elementAssertions)Implements org. 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.
|
| public AtomicReferenceArrayAssert | Returns: this assertion objectthe iterable)Iterable whose elements we expect to be presentImplements org. containsOnlyElementsOf(Iterable) : verifies that actual contains all elements of the
given Iterable and nothing else, in any order.
|
| public AtomicReferenceArrayAssert | Returns: this assertion object.the array to compare size with actual AtomicReferenceArray. other)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the other)Iterable to compare size with actual AtomicReferenceArray.Implements org. Iterable.
|
| public AtomicReferenceArrayAssert | Returns: this assertion object.the expected number of values in the actual AtomicReferenceArray. expected)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the lower boundary compared to which actual size should be greater than or equal to. lowerBoundary, int the higher boundary compared to which actual size should be less than or equal to. higherBoundary)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public AtomicReferenceArrayAssert | Returns: this object.the given condition. condition)Implements org. |
| public AtomicReferenceArrayAssert | haveAtLeast(int
the minimum number of times the condition must hold. times, Condition<? super T> the given condition. condition)Implements org. |
| public AtomicReferenceArrayAssert | haveAtLeastOne(Condition<? super T>
the given condition. condition)Implements org. |
| public AtomicReferenceArrayAssert | haveAtMost(int
the maximum number of times the condition must hold. times, Condition<? super T> the given condition. condition)Implements org. |
| public AtomicReferenceArrayAssert | haveExactly(int
the exact number of times the condition must hold. times, Condition<? super T> the given condition. condition)Implements org. |
| public AtomicReferenceArrayAssert | inBinary()
Overrides org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.Overrides org. |
| private AtomicReferenceArrayAssert | |
| private AtomicReferenceArrayAssert | |
| private AtomicReferenceArrayAssert | |
| private AtomicReferenceArrayAssert | |
| private AtomicReferenceArrayAssert | |
| public void | isEmpty()
Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.Implements org. |
| public void | isNullOrEmpty()
Implements org. null or empty.
|
| public AtomicReferenceArrayAssert | isSorted()
Implements org. |
| public AtomicReferenceArrayAssert | isSortedAccordingTo(Comparator<? super T>
the comparator)Comparator used to compare array elementsImplements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the values)Iterable that should contain all actual elements.Implements org. Iterable.
|
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the values that should be used for checking the elements of actual. values)Implements org. |
| protected AtomicReferenceArrayAssert | |
| public AtomicReferenceArrayAssert | Returns: this object.the given predicate)Predicate.Implements org. Predicate.
|
| public AtomicReferenceArrayAssert | noneSatisfy(Consumer<? super T>
the given restrictions as restrictions)Consumer that no elements should met.Implements org. Consumer.
|
| public AtomicReferenceArrayAssert | Returns: this object.the given restrictions)ThrowingConsumer.Implements org. Consumer.
|
| public final AtomicReferenceArrayAssert | Returns: this to chain assertions.the requirements to meet. requirements)Implements org. |
| public final AtomicReferenceArrayAssert | Returns: this to chain assertions.the requirements to meet. requirements)Implements org. |
| protected AtomicReferenceArrayAssert | |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the consumers that are expected to be satisfied by the elements of the given requirements)Iterable.Implements org. |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the consumers that are expected to be satisfied by the elements of the given requirements)Iterable.Implements org. ThrowingConsumers in order (there must be as
many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements).
|
| protected AtomicReferenceArrayAssert | |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the requirements)Consumer that is expected to be satisfied only once by the elements of the given Iterable.Implements org. AtomicReferenceArray under test that satisfies the Consumer.
|
| public AtomicReferenceArrayAssert | Returns: this assertion object.the requirements)ThrowingConsumer that is expected to be satisfied only once by the elements of the given Iterable.Implements org. AtomicReferenceArray under test that satisfies the ThrowingConsumer.
|
| protected AtomicReferenceArrayAssert | |
| public final AtomicReferenceArrayAssert | Returns: this assertion object.the sequence of objects to look for. sequence)Implements org. |
| protected AtomicReferenceArrayAssert | |
| public < the type to compare. C> AtomicReferenceArrayAssert | Returns: this assertions objectthe comparator, String... java. to usethe names of the properties and/or fields of the elements the comparator should be used for elementPropertyOrFieldNames)
Deprecated
This method is used with
Deprecated javadoc
usingFieldByFieldElementComparator() which is deprecated in favor of
usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration) or usingRecursiveComparison().
Allows to set a comparator to compare properties or fields of elements with the given names. |
| public < the type to compare. C> AtomicReferenceArrayAssert | Returns: this assertions objectthe comparator, Class<C> java. to usethe type)java. of the type of the element fields the comparator should be used for
Deprecated
This method is used with
Deprecated javadoc
usingFieldByFieldElementComparator() which is deprecated in favor of
usingRecursiveFieldByFieldElementComparator(RecursiveComparisonConfiguration) or usingRecursiveComparison().
Allows to set a specific comparator to compare properties or fields of elements with the given type. |
| public < the type to compare. C> AtomicReferenceArrayAssert | Returns: this assertions objectthe comparator, Class<C> java. to usethe type)java. of the type of the element or element fields the comparator should be used forAllows to set a specific comparator for the given type of elements or their fields. |
| public AtomicReferenceArrayAssert | usingDefaultElementComparator()
Implements org. |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the comparator to use for incoming assertion checks. elementComparator)Implements org. equals method to compare AtomicReferenceArray
elements for incoming assertion checks.
|
| public AtomicReferenceArrayAssert | Returns: this assertion object.the names of the fields/properties to ignore fields)
Deprecated
This method is deprecated because it performs a shallow field by field comparison, i.e. elements are
compared field by field but the fields are compared with equals, use
Deprecated javadoc
usingRecursiveFieldByFieldElementComparatorIgnoringFields(String. instead.
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 |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the fields to compare field/property by field/property. fields)
Deprecated
This method is deprecated because it performs a shallow field by field comparison, i.e. elements are
compared field by field but the fields are compared with equals, use
Deprecated javadoc
usingRecursiveFieldByFieldElementComparatorOnFields(String. instead.
Use field/property by field/property comparison on the given fields/properties only (including inherited
fields/properties) instead of relying on actual type A |
| private AtomicReferenceArrayAssert | |
| public AtomicReferenceArrayAssert | Returns: this assertion object.
Deprecated
This method is deprecated because it performs a shallow field by field comparison, i.e. elements are compared
field by field but the fields are compared with equals, use
Deprecated javadoc
usingRecursiveFieldByFieldElementComparator()
or usingRecursiveComparison() instead to perform a true recursive comparison.
Use field/property by field/property comparison (including inherited fields/properties) instead of relying on
actual type A |
| public AtomicReferenceArrayAssert | Returns: this assertion object.Enable using a recursive field by field comparison strategy similar to |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the recursive comparison configuration. configuration)Enable using a recursive field by field comparison strategy similar to |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the field names to exclude in the elements comparison. fields)The assertions chained after this method will use a recursive field by field comparison on all fields (including inherited
fields) except the given ones instead of relying on the element |
| public AtomicReferenceArrayAssert | Returns: this assertion object.the field names to exclude in the elements comparison. fields)The assertions chained after this method will use a recursive field by field comparison on the given fields (including
inherited fields) instead of relying on the element |