| Modifier and Type | Field and Description |
|---|---|
| protected BooleanArrays |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual array contains the given values, in any order. |
| public SELF | |
| public SELF | |
| public SELF | 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 SELF | 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 values of the given array. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group contains only the given values and nothing else, in order. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group contains only the values of the given array and nothing else, in order. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group contains exactly the given values and nothing else, in any order. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group contains exactly the values of the given array and nothing else, in any order. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual array contains only the given values and nothing else, in any order. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual array contains only the values of the given array and nothing else, in any order. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual array contains the given values only once. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual array contains the values of the given array only once. |
| public SELF | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual array contains the given sequence, without any other values between them. |
| public SELF | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual array contains the given sequence, without any other values between them. |
| public SELF | Returns: myself assertion object.the subsequence of values to look for. subsequence)Verifies that the actual array contains the given subsequence (possibly with other values between them). |
| public SELF | Returns: myself assertion object.the subsequence of values to look for. subsequence)Verifies that the actual array contains the given subsequence (possibly with other values between them). |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual array does not contain the given values. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual array does not contain the values of the given array. |
| public SELF | Returns: myself assertion object.the value to look for. value, Index the index where the value should be stored in the actual array. index)Verifies that the actual array does not contain the given value at the given index. |
| public SELF | Returns: this assertion object.Verifies that the actual array does not contain duplicates. |
| public SELF | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual array ends with the given sequence of values, without any other values between them. |
| public SELF | |
| public SELF | hasSameSizeAs(Iterable<?>
the other)Iterable to compare size with actual group.Implements org. Iterable.
|
| public SELF | hasSize(int
the expected number of values in the actual group. expected)Implements org. |
| public SELF | 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 SELF | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public SELF | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public SELF | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public SELF | Returns: this assertion object.the given value to compare the actual size to. boundary)Implements org. |
| public void | isEmpty()
Implements org. |
| public SELF | isNotEmpty()
Implements org. |
| public void | isNullOrEmpty()
Implements org. null or empty.
|
| public SELF | isSorted()
Implements org. |
| public SELF | isSortedAccordingTo(Comparator<? super Boolean>
the comparator)Comparator used to compare array elementsImplements org. |
| public SELF | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual array starts with the given sequence of values, without any other values between them. |
| public SELF | Returns: myself assertion object.the sequence of values to look for. sequence)Verifies that the actual array starts with the given sequence of values, without any other values between them. |
| private static boolean[] | |
| public final SELF | usingDefaultElementComparator()
Implements org.
Deprecated
Custom element Comparator is not supported for Boolean array comparison.
Do not use this method.
|
| public final SELF | usingElementComparator(Comparator<? super Boolean>
the comparator to use for incoming assertion checks. customComparator)Implements org.
Deprecated
Custom element Comparator is not supported for Boolean array comparison.
Do not use this method.
|
| arrays | back to summary |
|---|---|
| protected BooleanArrays arrays
| |
| AbstractBooleanArrayAssert | back to summary |
|---|---|
| protected AbstractBooleanArrayAssert(boolean[] actual, Class<?> selfType) | |
| contains | back to summary |
|---|---|
| public SELF contains(boolean... values) Verifies that the actual array contains the given values, in any order. Example:
| |
| contains | back to summary |
|---|---|
| public SELF contains(Boolean[] values) Verifies that the actual array contains the values of the given array, in any order. Example:
| |
| contains | back to summary |
|---|---|
| public SELF contains(boolean value, Index index) Verifies that the actual array contains the given value at the given index. Example:
| |
| containsAnyOf | back to summary |
|---|---|
| public SELF containsAnyOf(boolean... values) Verifies that the actual array contains at least one of the given values. Example :
| |
| containsAnyOf | back to summary |
|---|---|
| public SELF containsAnyOf(Boolean[] values) Verifies that the actual array contains at least one of the values of the given array. Example :
| |
| containsExactly | back to summary |
|---|---|
| public SELF containsExactly(boolean... values) Verifies that the actual group contains only the given values and nothing else, in order. Example :
| |
| containsExactly | back to summary |
|---|---|
| public SELF containsExactly(Boolean[] values) Verifies that the actual group contains only the values of the given array and nothing else, in order. Example :
| |
| containsExactlyInAnyOrder | back to summary |
|---|---|
| public SELF containsExactlyInAnyOrder(boolean... values) Verifies that the actual group contains exactly the given values and nothing else, in any order. Example :
| |
| containsExactlyInAnyOrder | back to summary |
|---|---|
| public SELF containsExactlyInAnyOrder(Boolean[] values) Verifies that the actual group contains exactly the values of the given array and nothing else, in any order. Example :
| |
| containsOnly | back to summary |
|---|---|
| public SELF containsOnly(boolean... values) Verifies that the actual array contains only the given values and nothing else, in any order. Example:
| |
| containsOnly | back to summary |
|---|---|
| public SELF containsOnly(Boolean[] values) Verifies that the actual array contains only the values of the given array and nothing else, in any order. Example:
| |
| containsOnlyOnce | back to summary |
|---|---|
| public SELF containsOnlyOnce(boolean... values) Verifies that the actual array contains the given values only once. Examples :
| |
| containsOnlyOnce | back to summary |
|---|---|
| public SELF containsOnlyOnce(Boolean[] values) Verifies that the actual array contains the values of the given array only once. Examples :
| |
| containsSequence | back to summary |
|---|---|
| public SELF containsSequence(boolean... sequence) Verifies that the actual array contains the given sequence, without any other values between them. Example:
| |
| containsSequence | back to summary |
|---|---|
| public SELF containsSequence(Boolean[] sequence) Verifies that the actual array contains the given sequence, without any other values between them. Example:
| |
| containsSubsequence | back to summary |
|---|---|
| public SELF containsSubsequence(boolean... subsequence) Verifies that the actual array contains the given subsequence (possibly with other values between them). Example:
| |
| containsSubsequence | back to summary |
|---|---|
| public SELF containsSubsequence(Boolean[] subsequence) Verifies that the actual array contains the given subsequence (possibly with other values between them). Example:
| |
| doesNotContain | back to summary |
|---|---|
| public SELF doesNotContain(boolean... values) Verifies that the actual array does not contain the given values. Example:
| |
| doesNotContain | back to summary |
|---|---|
| public SELF doesNotContain(Boolean[] values) Verifies that the actual array does not contain the values of the given array. Example:
| |
| doesNotContain | back to summary |
|---|---|
| public SELF doesNotContain(boolean value, Index index) Verifies that the actual array does not contain the given value at the given index. Example:
| |
| doesNotHaveDuplicates | back to summary |
|---|---|
| public SELF doesNotHaveDuplicates() Verifies that the actual array does not contain duplicates. Example:
| |
| endsWith | back to summary |
|---|---|
| public SELF endsWith(boolean... sequence) Verifies that the actual array ends with the given sequence of values, without any other values between them.
Similar to Example:
| |
| endsWith | back to summary |
|---|---|
| public SELF endsWith(Boolean[] sequence) Verifies that the actual array ends with the given sequence of values, without any other values between them.
Similar to Example:
| |
| hasSameSizeAs | back to summary |
|---|---|
| public SELF hasSameSizeAs(Iterable<?> other) Implements org. Verifies that the actual group has the same size as given Example:
| |
| hasSize | back to summary |
|---|---|
| public SELF hasSize(int expected) Implements org. Doc from org. Verifies that the number of values in the actual group is equal to the given one. Example:
Example:
| |
| hasSizeBetween | back to summary |
|---|---|
| public SELF hasSizeBetween(int lowerBoundary, int higherBoundary) Implements org. Verifies that the number of values in the actual group is between the given boundaries (inclusive). Example:
| |
| hasSizeGreaterThan | back to summary |
|---|---|
| public SELF hasSizeGreaterThan(int boundary) Implements org. Verifies that the number of values in the actual group is greater than the given boundary. Example:
| |
| hasSizeGreaterThanOrEqualTo | back to summary |
|---|---|
| public SELF hasSizeGreaterThanOrEqualTo(int boundary) Implements org. Verifies that the number of values in the actual group is greater than or equal to the given boundary. Example:
| |
| hasSizeLessThan | back to summary |
|---|---|
| public SELF hasSizeLessThan(int boundary) Implements org. Verifies that the number of values in the actual group is less than the given boundary. Example:
| |
| hasSizeLessThanOrEqualTo | back to summary |
|---|---|
| public SELF hasSizeLessThanOrEqualTo(int boundary) Implements org. Verifies that the number of values in the actual group is less than or equal to the given boundary. Example:
| |
| isEmpty | back to summary |
|---|---|
| public void isEmpty() Implements org. Doc from org. Verifies that the actual group of values is empty. Example:
| |
| isNotEmpty | back to summary |
|---|---|
| public SELF isNotEmpty() Implements org. Doc from org. Verifies that the actual group of values is not empty. Example:
| |
| isNullOrEmpty | back to summary |
|---|---|
| public void isNullOrEmpty() Implements org. Doc from org. Verifies that the actual group of values is Example:
| |
| isSorted | back to summary |
|---|---|
| public SELF isSorted() Implements org. Doc from org. Verifies that the actual array is sorted in ascending order according to the natural ordering of its elements.
All array elements must be primitive or implement the
| |
| isSortedAccordingTo | back to summary |
|---|---|
| public SELF isSortedAccordingTo(Comparator<? super Boolean> comparator) Implements org. Doc from org. Verifies that the actual array is sorted according to the given comparator.
| |
| startsWith | back to summary |
|---|---|
| public SELF startsWith(boolean... sequence) Verifies that the actual array starts with the given sequence of values, without any other values between them.
Similar to Example:
| |
| startsWith | back to summary |
|---|---|
| public SELF startsWith(Boolean[] sequence) Verifies that the actual array starts with the given sequence of values, without any other values between them.
Similar to Example:
| |
| toPrimitiveBooleanArray | back to summary |
|---|---|
| private static boolean[] toPrimitiveBooleanArray(Boolean[] values) | |
| usingDefaultElementComparator | back to summary |
|---|---|
| public final SELF usingDefaultElementComparator() Implements org. Deprecated Custom element Comparator is not supported for Boolean array comparison. Do not use this method.
| |
| usingElementComparator | back to summary |
|---|---|
| public final SELF usingElementComparator(Comparator<? super Boolean> customComparator) Implements org. Deprecated Custom element Comparator is not supported for Boolean array comparison. Do not use this method.
| |