|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ListAssert in org.fest.assertions |
---|
Methods in org.fest.assertions that return ListAssert | |
---|---|
ListAssert |
ListAssert.as(Description description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
ListAssert |
ListAssert.as(String description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
static ListAssert |
Assertions.assertThat(List<?> actual)
Creates a new instance of . |
ListAssert |
ListAssert.contains(Object... objects)
Verifies that the actual contains the given objects, in any order. |
ListAssert |
ListAssert.contains(Object o,
Index index)
Verifies that the actual contains the given object at the given index. |
ListAssert |
ListAssert.containsExactly(Object... objects)
Verifies that the actual contains the given objects, in the same order. |
ListAssert |
ListAssert.containsOnly(Object... objects)
Verifies that the actual contains the given objects only, in any order. |
ListAssert |
ListAssert.containsSequence(Object... sequence)
Verifies that the actual contains the given sequence of objects, without any other
objects between them. |
ListAssert |
ListAssert.describedAs(Description description)
Alias for , since "as" is a keyword in
Groovy. |
ListAssert |
ListAssert.describedAs(String description)
Alias for , since "as" is a keyword in
Groovy. |
ListAssert |
ListAssert.doesNotHaveDuplicates()
Verifies that the actual does not have duplicates. |
ListAssert |
ListAssert.doesNotSatisfy(Condition<List<?>> condition)
Verifies that the actual does not satisfy the given condition. |
ListAssert |
ListAssert.endsWith(Object... sequence)
Verifies that the actual ends with the given sequence of objects, without any other
objects between them. |
ListAssert |
ListAssert.excludes(Object... objects)
Verifies that the actual does not contain the given objects. |
ListAssert |
ListAssert.hasSize(int expected)
Verifies that the number of elements in the actual is equal to the given one. |
ListAssert |
ListAssert.is(Condition<List<?>> condition)
Alias for . |
ListAssert |
ListAssert.isEqualTo(List<?> expected)
Verifies that the actual is equal to the given one. |
ListAssert |
ListAssert.isNot(Condition<List<?>> condition)
Alias for . |
ListAssert |
ListAssert.isNotEmpty()
Verifies that the actual contains at least on element. |
ListAssert |
ListAssert.isNotEqualTo(List<?> other)
Verifies that the actual is not equal to the given one. |
ListAssert |
ListAssert.isNotNull()
Verifies that the actual is not null . |
ListAssert |
ListAssert.isNotSameAs(List<?> other)
Verifies that the actual is not the same as the given one. |
ListAssert |
ListAssert.isSameAs(List<?> expected)
Verifies that the actual is the same as the given one. |
ListAssert |
ListAssert.onProperty(String propertyName)
Creates a new instance of whose target list contains the values of the given
property name from the elements of this ListAssert 's list. |
ListAssert |
ListAssert.overridingErrorMessage(String message)
Replaces the default message displayed in case of a failure with the given one. |
ListAssert |
ListAssert.satisfies(Condition<List<?>> condition)
Verifies that the actual satisfies the given condition. |
ListAssert |
ListAssert.startsWith(Object... sequence)
Verifies that the actual starts with the given sequence of objects, without any other
objects between them. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |