Uses of Class
org.fest.assertions.api.ShortArrayAssert
Packages that use ShortArrayAssert
-
Uses of ShortArrayAssert in org.fest.assertions.api
Methods in org.fest.assertions.api that return ShortArrayAssertModifier and TypeMethodDescriptionstatic ShortArrayAssert
Assertions.assertThat
(short[] actual) Creates a new instance of
.ShortArrayAssert
ShortArrayAssert.contains
(short... values) Verifies that the actual array contains the given values, in any order.Verifies that the actual array contains the given value at the given index.ShortArrayAssert.containsOnly
(short... values) Verifies that the actual array contains only the given values and nothing else, in any order.ShortArrayAssert.containsSequence
(short... sequence) Verifies that the actual array contains the given sequence, without any other values between them.ShortArrayAssert.doesNotContain
(short... values) Verifies that the actual array does not contain the given values.ShortArrayAssert.doesNotContain
(short value, Index index) Verifies that the actual array does not contain the given value at the given index.ShortArrayAssert.doesNotHaveDuplicates()
Verifies that the actual array does not contain duplicates.ShortArrayAssert.endsWith
(short... sequence) Verifies that the actual array ends with the given sequence of values, without any other values between them.ShortArrayAssert.hasSameSizeAs
(Iterable<?> other) Verifies that the actual group has the same size as givenIterable
.ShortArrayAssert.hasSameSizeAs
(Object[] other) Verifies that the actual group has the same size as given array.ShortArrayAssert.hasSize
(int expected) Verifies that the number of values in the actual group is equal to the given one.ShortArrayAssert.isNotEmpty()
Verifies that the actual group of values is not empty.ShortArrayAssert.isSorted()
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.ShortArrayAssert.isSortedAccordingTo
(Comparator<? super Short> 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 element is compatible with comparator, otherwise an AssertionError is thrown.ShortArrayAssert.startsWith
(short... sequence) Verifies that the actual array starts with the given sequence of values, without any other values between them.ShortArrayAssert.usingDefaultElementComparator()
Revert to standard comparison for incoming assertion group element checks.ShortArrayAssert.usingElementComparator
(Comparator<? super Short> customComparator) Use given custom comparator instead of relying on actual type Aequals
method to compare group elements for incoming assertion checks.