public class Arrays extends Object
Constructor and Description |
---|
Arrays() |
Arrays(ComparisonStrategy comparisonStrategy) |
Modifier and Type | Method and Description |
---|---|
<E> void |
assertAre(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
Condition<E> condition) |
<E> void |
assertAreAtLeast(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition) |
<E> void |
assertAreAtMost(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition) |
<E> void |
assertAreExactly(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition) |
<E> void |
assertAreNot(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
Condition<E> condition) |
void |
assertContains(AssertionInfo info,
Failures failures,
Object actual,
Object values) |
void |
assertContainsAnyOf(AssertionInfo info,
Failures failures,
Object actual,
Object values) |
void |
assertHasSameSizeAs(AssertionInfo info,
Object array,
Object other) |
<E> void |
assertHave(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
Condition<E> condition) |
<E> void |
assertHaveAtLeast(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition) |
<E> void |
assertHaveAtMost(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition) |
<E> void |
assertHaveExactly(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
int times,
Condition<E> condition) |
<E> void |
assertHaveNot(AssertionInfo info,
Failures failures,
Conditions conditions,
Object array,
Condition<E> condition) |
static void |
assertIsArray(AssertionInfo info,
Object array) |
void |
assertIsSubsetOf(AssertionInfo info,
Failures failures,
Object actual,
Iterable<?> values) |
Comparator<?> |
getComparator() |
ComparisonStrategy |
getComparisonStrategy() |
static Arrays |
instance()
Returns the singleton instance of this class based on
StandardComparisonStrategy . |
public Arrays()
public Arrays(ComparisonStrategy comparisonStrategy)
public static Arrays instance()
StandardComparisonStrategy
.StandardComparisonStrategy
.public Comparator<?> getComparator()
public ComparisonStrategy getComparisonStrategy()
public static void assertIsArray(AssertionInfo info, Object array)
public void assertHasSameSizeAs(AssertionInfo info, Object array, Object other)
public void assertContains(AssertionInfo info, Failures failures, Object actual, Object values)
public void assertIsSubsetOf(AssertionInfo info, Failures failures, Object actual, Iterable<?> values)
public <E> void assertAre(AssertionInfo info, Failures failures, Conditions conditions, Object array, Condition<E> condition)
public <E> void assertAreNot(AssertionInfo info, Failures failures, Conditions conditions, Object array, Condition<E> condition)
public <E> void assertHave(AssertionInfo info, Failures failures, Conditions conditions, Object array, Condition<E> condition)
public <E> void assertHaveNot(AssertionInfo info, Failures failures, Conditions conditions, Object array, Condition<E> condition)
public <E> void assertAreAtLeast(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)
public <E> void assertAreAtMost(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)
public <E> void assertAreExactly(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)
public <E> void assertHaveAtLeast(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)
public <E> void assertHaveAtMost(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)
public <E> void assertHaveExactly(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)
public void assertContainsAnyOf(AssertionInfo info, Failures failures, Object actual, Object values)
Copyright © 2014–2019 AssertJ. All rights reserved.