| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AtomicIntegerArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual |
| public AtomicIntegerArrayAssert | |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the values whose at least one which is expected to be in the array under test. values)Verifies that the actual array contains at least one of the given values. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual AtomicIntegerArray contains only the given values and nothing else, in order. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual AtomicIntegerArray contains exactly the given values and nothing else, in any order. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual atomic array contains only the given values and nothing else, in any order. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual atomic array contains the given values only once. |
| public AtomicIntegerArrayAssert | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual atomic array contains the given sequence, without any other values between them. |
| public AtomicIntegerArrayAssert | Returns: myself assertion object.the subsequence of values to look for. subsequence)Verifies that the actual atomic array contains the given subsequence (possibly with other values between them). |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the given values. values)Verifies that the actual atomic array does not contain the given values. |
| public AtomicIntegerArrayAssert | Returns: myself assertion object.the value to look for. value, Index the index where the value should be stored in the actual atomic array. index)Verifies that the actual atomic array does not contain the given value at the given index. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.Verifies that the actual atomic array does not contain duplicates. |
| public AtomicIntegerArrayAssert | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual atomic array ends with the given sequence of values, without any other values between them. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the int[] array expected to be in the actual AtomicIntegerArray. expected)Verifies that the AtomicIntegerArray has the given array. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the other)Iterable to compare size with actual AtomicIntegerArray.Implements org. Iterable.
|
| public AtomicIntegerArrayAssert | Returns: this assertion object.the expected number of values in the actual AtomicIntegerArray. expected)Implements org. |
| public AtomicIntegerArrayAssert | 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 AtomicIntegerArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public void | isEmpty()
Implements org. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.Implements org. |
| public void | isNullOrEmpty()
Implements org. null or empty.
|
| public AtomicIntegerArrayAssert | Returns: this assertion object.Verifies that the actual AtomicIntegerArray is sorted in ascending order according to the natural ordering of its elements. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the comparator)Comparator used to compare array elementsVerifies that the actual AtomicIntegerArray is sorted according to the given comparator. |
| public AtomicIntegerArrayAssert | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual atomic array starts with the given sequence of values, without any other values between them. |
| public AtomicIntegerArrayAssert | usingDefaultElementComparator()
Implements org. |
| public AtomicIntegerArrayAssert | Returns: this assertion object.the comparator to use for incoming assertion checks. customComparator)Implements org. equals method to compare elements for incoming assertion checks.
|
| array | back to summary |
|---|---|
| private int[] array | |
| arrays | back to summary |
|---|---|
| protected IntArrays arrays
| |
| AtomicIntegerArrayAssert | back to summary |
|---|---|
| public AtomicIntegerArrayAssert(AtomicIntegerArray actual) | |
| contains | back to summary |
|---|---|
| public AtomicIntegerArrayAssert contains(int... values) Verifies that the actual Example:
| |
| contains | back to summary |
|---|---|
| public AtomicIntegerArrayAssert contains(int value, Index index) Verifies that the actual atomic array contains the given value at the given index. Example:
| |
| containsAnyOf | back to summary |
|---|---|
| public AtomicIntegerArrayAssert containsAnyOf(int... values) Verifies that the actual array contains at least one of the given values. Example :
| |
| containsExactly | back to summary |
|---|---|
| public AtomicIntegerArrayAssert containsExactly(int... values) Verifies that the actual AtomicIntegerArray contains only the given values and nothing else, in order. Example :
| |
| containsExactlyInAnyOrder | back to summary |
|---|---|
| public AtomicIntegerArrayAssert containsExactlyInAnyOrder(int... values) Verifies that the actual AtomicIntegerArray contains exactly the given values and nothing else, in any order. Example :
| |
| containsOnly | back to summary |
|---|---|
| public AtomicIntegerArrayAssert containsOnly(int... values) Verifies that the actual atomic array contains only the given values and nothing else, in any order. Example:
| |
| containsOnlyOnce | back to summary |
|---|---|
| public AtomicIntegerArrayAssert containsOnlyOnce(int... values) Verifies that the actual atomic array contains the given values only once. Examples :
| |
| containsSequence | back to summary |
|---|---|
| public AtomicIntegerArrayAssert containsSequence(int... sequence) Verifies that the actual atomic array contains the given sequence, without any other values between them. Example:
| |
| containsSubsequence | back to summary |
|---|---|
| public AtomicIntegerArrayAssert containsSubsequence(int... subsequence) Verifies that the actual atomic array contains the given subsequence (possibly with other values between them). Example:
| |
| doesNotContain | back to summary |
|---|---|
| public AtomicIntegerArrayAssert doesNotContain(int... values) Verifies that the actual atomic array does not contain the given values. Example:
| |
| doesNotContain | back to summary |
|---|---|
| public AtomicIntegerArrayAssert doesNotContain(int value, Index index) Verifies that the actual atomic array does not contain the given value at the given index. Example:
| |
| doesNotHaveDuplicates | back to summary |
|---|---|
| public AtomicIntegerArrayAssert doesNotHaveDuplicates() Verifies that the actual atomic array does not contain duplicates. Example:
| |
| endsWith | back to summary |
|---|---|
| public AtomicIntegerArrayAssert endsWith(int... sequence) Verifies that the actual atomic array ends with the given sequence of values, without any other values between them.
Similar to Example:
| |
| hasArray | back to summary |
|---|---|
| public AtomicIntegerArrayAssert hasArray(int[] expected) Verifies that the AtomicIntegerArray has the given array. Example:
| |
| hasSameSizeAs | back to summary |
|---|---|
| public AtomicIntegerArrayAssert hasSameSizeAs(Iterable<?> other) Implements org. Verifies that the AtomicIntegerArray has the same size as given Example:
| |
| hasSize | back to summary |
|---|---|
| public AtomicIntegerArrayAssert hasSize(int expected) Implements org. Verifies that the number of values in the AtomicIntegerArray is equal to the given one. Example:
| |
| hasSizeBetween | back to summary |
|---|---|
| public AtomicIntegerArrayAssert hasSizeBetween(int lowerBoundary, int higherBoundary) Implements org. Verifies that the number of values in the actual array is between the given boundaries (inclusive). Example:
| |
| hasSizeGreaterThan | back to summary |
|---|---|
| public AtomicIntegerArrayAssert hasSizeGreaterThan(int boundary) Implements org. Verifies that the number of values in the actual array is greater than the given boundary. Example:
| |
| hasSizeGreaterThanOrEqualTo | back to summary |
|---|---|
| public AtomicIntegerArrayAssert hasSizeGreaterThanOrEqualTo(int boundary) Implements org. Verifies that the number of values in the actual array is greater than or equal to the given boundary. Example:
| |
| hasSizeLessThan | back to summary |
|---|---|
| public AtomicIntegerArrayAssert hasSizeLessThan(int boundary) Implements org. Verifies that the number of values in the actual array is less than the given boundary. Example:
| |
| hasSizeLessThanOrEqualTo | back to summary |
|---|---|
| public AtomicIntegerArrayAssert hasSizeLessThanOrEqualTo(int boundary) Implements org. Verifies that the number of values in the actual array is less than or equal to the given boundary. Example:
| |
| isEmpty | back to summary |
|---|---|
| public void isEmpty() Implements org. Verifies that the AtomicIntegerArray is empty. Example:
| |
| isNotEmpty | back to summary |
|---|---|
| public AtomicIntegerArrayAssert isNotEmpty() Implements org. Verifies that the AtomicIntegerArray is not empty. Example:
| |
| isNullOrEmpty | back to summary |
|---|---|
| public void isNullOrEmpty() Implements org. Verifies that the AtomicIntegerArray is Example:
| |
| isSorted | back to summary |
|---|---|
| public AtomicIntegerArrayAssert isSorted() Verifies that the actual AtomicIntegerArray is sorted in ascending order according to the natural ordering of its elements.
Empty or one element arrays are considered sorted (unless the array element type is not Comparable).
| |
| isSortedAccordingTo | back to summary |
|---|---|
| public AtomicIntegerArrayAssert isSortedAccordingTo(Comparator<? super Integer> comparator) Verifies that the actual AtomicIntegerArray is sorted according to the given comparator.
| |
| startsWith | back to summary |
|---|---|
| public AtomicIntegerArrayAssert startsWith(int... sequence) Verifies that the actual atomic array starts with the given sequence of values, without any other values between them.
Similar to Example:
| |
| usingDefaultElementComparator | back to summary |
|---|---|
| public AtomicIntegerArrayAssert usingDefaultElementComparator() Implements org. Doc from org. Revert to standard comparison for incoming assertion group element checks.
This method should be used to disable a custom comparison strategy set by calling
| |
| usingElementComparator | back to summary |
|---|---|
| public AtomicIntegerArrayAssert usingElementComparator(Comparator<? super Integer> customComparator) Implements org. Use given custom comparator instead of relying on Integer Custom comparator is bound to the current assertion instance, meaning that if a new assertion is created, it will use default comparison strategy. Examples :
| |