ints.
| Modifier and Type | Field and Description |
|---|---|
| private Arrays | |
| pack-priv Failures | |
| private static final IntArrays |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | assertContains(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int[] the values that are expected to be in the given array. values)Asserts that the given array contains the given values, in any order. |
| public void | assertContains(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int the value to look for. value, Index the index where the value should be stored in the given array. index)Verifies that the given array contains the given value at the given index. |
| public void | |
| public void | |
| public void | |
| public void | assertContainsOnly(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int[] the values that are expected to be in the given array. values)Asserts that the given array contains only the given values and nothing else, in any order. |
| public void | assertContainsOnlyOnce(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int[] the values that are expected to be in the given array. values)Asserts that the given array contains only once the given values. |
| public void | assertContainsSequence(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int[] the sequence of values to look for. sequence)Verifies that the given array contains the given sequence of values, without any other values between them. |
| public void | assertContainsSubsequence(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int[] the subsequence of values to look for. subsequence)Verifies that the given array contains the given subsequence of values (possibly with other values between them). |
| public void | assertDoesNotContain(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int the value to look for. value, Index the index where the value should be stored in the given array. index)Verifies that the given array does not contain the given value at the given index. |
| public void | assertDoesNotContain(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int[] the values that are expected not to be in the given array. values)Asserts that the given array does not contain the given values. |
| public void | assertDoesNotHaveDuplicates(AssertionInfo
contains information about the assertion. info, int[] the given array. actual)Asserts that the given array does not have duplicate values. |
| public void | assertEmpty(AssertionInfo
contains information about the assertion. info, int[] the given array. actual)Asserts that the given array is empty. |
| public void | assertEndsWith(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int[] the sequence of values to look for. sequence)Verifies that the given array ends with the given sequence of values, without any other values between them. |
| public void | assertHasSameSizeAs(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, Iterable<?> the group to compare other)Assert that the actual array has the same size as the other |
| public void | assertHasSameSizeAs(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, Object[] the group to compare other)Assert that the actual array has the same size as the other array. |
| public void | assertHasSize(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int the expected size of expectedSize)actual.Asserts that the number of elements in the given array is equal to the expected one. |
| public void | assertHasSizeBetween(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int 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)Asserts that the number of elements in the given array is between the given lower and higher boundary (inclusive). |
| public void | assertHasSizeGreaterThan(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int the given value to compare the size of boundary)actual to.Asserts that the number of elements in the given array is greater than the given boundary. |
| public void | assertHasSizeGreaterThanOrEqualTo(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int the given value to compare the size of boundary)actual to.Asserts that the number of elements in the given array is greater than or equal to the given boundary. |
| public void | assertHasSizeLessThan(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int the given value to compare the size of boundary)actual to.Asserts that the number of elements in the given array is less than the given boundary. |
| public void | assertHasSizeLessThanOrEqualTo(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int the given value to compare the size of boundary)actual to.Asserts that the number of elements in the given array is less than or equal to the given boundary. |
| public void | assertIsSorted(AssertionInfo
contains information about the assertion. info, int[] the given array. actual)Concrete implementation of |
| public void | assertIsSortedAccordingToComparator(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, Comparator<? super Integer> the comparator)Comparator used to compare array elementsConcrete implementation of |
| public void | assertNotEmpty(AssertionInfo
contains information about the assertion. info, int[] the given array. actual)Asserts that the given array is not empty. |
| public void | assertNullOrEmpty(AssertionInfo
contains information about the assertion. info, int[] the given array. actual)Asserts that the given array is |
| public void | assertStartsWith(AssertionInfo
contains information about the assertion. info, int[] the given array. actual, int[] the sequence of values to look for. sequence)Verifies that the given array starts with the given sequence of values, without any other values between them. |
| public Comparator | |
| public static IntArrays | Returns: the singleton instance of this class.Returns the singleton instance of this class. |
| public void |
| arrays | back to summary |
|---|---|
| private Arrays arrays | |
| failures | back to summary |
|---|---|
| pack-priv Failures failures
| |
| INSTANCE | back to summary |
|---|---|
| private static final IntArrays INSTANCE | |
| IntArrays | back to summary |
|---|---|
pack-priv IntArrays()
| |
| IntArrays | back to summary |
|---|---|
| public IntArrays(ComparisonStrategy comparisonStrategy) | |
| assertContains | back to summary |
|---|---|
| public void assertContains(AssertionInfo info, int[] actual, int[] values) Asserts that the given array contains the given values, in any order.
| |
| assertContains | back to summary |
|---|---|
| public void assertContains(AssertionInfo info, int[] actual, int value, Index index) Verifies that the given array contains the given value at the given index.
| |
| assertContainsAnyOf | back to summary |
|---|---|
| public void assertContainsAnyOf(AssertionInfo info, int[] actual, int[] values) | |
| assertContainsExactly | back to summary |
|---|---|
| public void assertContainsExactly(AssertionInfo info, int[] actual, int[] values) | |
| assertContainsExactlyInAnyOrder | back to summary |
|---|---|
| public void assertContainsExactlyInAnyOrder(AssertionInfo info, int[] actual, int[] values) | |
| assertContainsOnly | back to summary |
|---|---|
| public void assertContainsOnly(AssertionInfo info, int[] actual, int[] values) Asserts that the given array contains only the given values and nothing else, in any order.
| |
| assertContainsOnlyOnce | back to summary |
|---|---|
| public void assertContainsOnlyOnce(AssertionInfo info, int[] actual, int[] values) Asserts that the given array contains only once the given values.
| |
| assertContainsSequence | back to summary |
|---|---|
| public void assertContainsSequence(AssertionInfo info, int[] actual, int[] sequence) Verifies that the given array contains the given sequence of values, without any other values between them.
| |
| assertContainsSubsequence | back to summary |
|---|---|
| public void assertContainsSubsequence(AssertionInfo info, int[] actual, int[] subsequence) Verifies that the given array contains the given subsequence of values (possibly with other values between them).
| |
| assertDoesNotContain | back to summary |
|---|---|
| public void assertDoesNotContain(AssertionInfo info, int[] actual, int value, Index index) Verifies that the given array does not contain the given value at the given index.
| |
| assertDoesNotContain | back to summary |
|---|---|
| public void assertDoesNotContain(AssertionInfo info, int[] actual, int[] values) Asserts that the given array does not contain the given values.
| |
| assertDoesNotHaveDuplicates | back to summary |
|---|---|
| public void assertDoesNotHaveDuplicates(AssertionInfo info, int[] actual) Asserts that the given array does not have duplicate values.
| |
| assertEmpty | back to summary |
|---|---|
| public void assertEmpty(AssertionInfo info, int[] actual) Asserts that the given array is empty.
| |
| assertEndsWith | back to summary |
|---|---|
| public void assertEndsWith(AssertionInfo info, int[] actual, int[] sequence) Verifies that the given array ends with the given sequence of values, without any other values between them.
Similar to
| |
| assertHasSameSizeAs | back to summary |
|---|---|
| public void assertHasSameSizeAs(AssertionInfo info, int[] actual, Iterable<?> other) Assert that the actual array has the same size as the other
| |
| assertHasSameSizeAs | back to summary |
|---|---|
| public void assertHasSameSizeAs(AssertionInfo info, int[] actual, Object[] other) Assert that the actual array has the same size as the other array.
| |
| assertHasSize | back to summary |
|---|---|
| public void assertHasSize(AssertionInfo info, int[] actual, int expectedSize) Asserts that the number of elements in the given array is equal to the expected one.
| |
| assertHasSizeBetween | back to summary |
|---|---|
| public void assertHasSizeBetween(AssertionInfo info, int[] actual, int lowerBoundary, int higherBoundary) Asserts that the number of elements in the given array is between the given lower and higher boundary (inclusive).
| |
| assertHasSizeGreaterThan | back to summary |
|---|---|
| public void assertHasSizeGreaterThan(AssertionInfo info, int[] actual, int boundary) Asserts that the number of elements in the given array is greater than the given boundary.
| |
| assertHasSizeGreaterThanOrEqualTo | back to summary |
|---|---|
| public void assertHasSizeGreaterThanOrEqualTo(AssertionInfo info, int[] actual, int boundary) Asserts that the number of elements in the given array is greater than or equal to the given boundary.
| |
| assertHasSizeLessThan | back to summary |
|---|---|
| public void assertHasSizeLessThan(AssertionInfo info, int[] actual, int boundary) Asserts that the number of elements in the given array is less than the given boundary.
| |
| assertHasSizeLessThanOrEqualTo | back to summary |
|---|---|
| public void assertHasSizeLessThanOrEqualTo(AssertionInfo info, int[] actual, int boundary) Asserts that the number of elements in the given array is less than or equal to the given boundary.
| |
| assertIsSorted | back to summary |
|---|---|
| public void assertIsSorted(AssertionInfo info, int[] actual) Concrete implementation of
| |
| assertIsSortedAccordingToComparator | back to summary |
|---|---|
| public void assertIsSortedAccordingToComparator(AssertionInfo info, int[] actual, Comparator<? super Integer> comparator) Concrete implementation of
| |
| assertNotEmpty | back to summary |
|---|---|
| public void assertNotEmpty(AssertionInfo info, int[] actual) Asserts that the given array is not empty.
| |
| assertNullOrEmpty | back to summary |
|---|---|
| public void assertNullOrEmpty(AssertionInfo info, int[] actual) Asserts that the given array is
| |
| assertStartsWith | back to summary |
|---|---|
| public void assertStartsWith(AssertionInfo info, int[] actual, int[] sequence) Verifies that the given array starts with the given sequence of values, without any other values between them.
Similar to
| |
| getComparator | back to summary |
|---|---|
public Comparator
| |
| instance | back to summary |
|---|---|
| public static IntArrays instance() Returns the singleton instance of this class.
| |
| setArrays | back to summary |
|---|---|
public void setArrays(Arrays arrays)
| |