public final class CommonValidations extends Object
Modifier and Type | Method and Description |
---|---|
static void |
checkIsNotNull(Object[] values) |
static void |
checkIterableIsNotNull(Iterable<?> set) |
static void |
checkLineCounts(Object actual,
int lineCountOfActual,
int lineCountOfOther,
AssertionInfo info) |
static void |
checkSequenceIsNotNull(Object sequence) |
static void |
checkSizeBetween(Object actual,
int lowerBoundary,
int higherBoundary,
int sizeOfActual,
AssertionInfo info) |
static void |
checkSizeGreaterThan(Object actual,
int boundary,
int sizeOfActual,
AssertionInfo info) |
static void |
checkSizeGreaterThanOrEqualTo(Object actual,
int boundary,
int sizeOfActual,
AssertionInfo info) |
static void |
checkSizeLessThan(Object actual,
int boundary,
int sizeOfActual,
AssertionInfo info) |
static void |
checkSizeLessThanOrEqualTo(Object actual,
int boundary,
int sizeOfActual,
AssertionInfo info) |
static void |
checkSizes(Object actual,
int sizeOfActual,
int sizeOfOther,
AssertionInfo info) |
static void |
checkSubsequenceIsNotNull(Object subsequence) |
static void |
checkTypeIsNotNull(Class<?> expectedType) |
static void |
failIfEmptySinceActualIsNotEmpty(Object[] values) |
static void |
hasSameSizeAsCheck(AssertionInfo info,
Object actual,
Iterable<?> other,
int sizeOfActual) |
static void |
hasSameSizeAsCheck(AssertionInfo info,
Object actual,
Map<?,?> other,
int sizeOfActual) |
static void |
hasSameSizeAsCheck(AssertionInfo info,
Object actual,
Object other,
int sizeOfActual) |
static NullPointerException |
iterableToLookForIsNull() |
public static void checkIsNotNull(Object[] values)
public static void failIfEmptySinceActualIsNotEmpty(Object[] values)
public static void hasSameSizeAsCheck(AssertionInfo info, Object actual, Object other, int sizeOfActual)
public static void hasSameSizeAsCheck(AssertionInfo info, Object actual, Iterable<?> other, int sizeOfActual)
public static void hasSameSizeAsCheck(AssertionInfo info, Object actual, Map<?,?> other, int sizeOfActual)
public static void checkSizes(Object actual, int sizeOfActual, int sizeOfOther, AssertionInfo info)
public static void checkSizeGreaterThan(Object actual, int boundary, int sizeOfActual, AssertionInfo info)
public static void checkSizeGreaterThanOrEqualTo(Object actual, int boundary, int sizeOfActual, AssertionInfo info)
public static void checkSizeLessThan(Object actual, int boundary, int sizeOfActual, AssertionInfo info)
public static void checkSizeLessThanOrEqualTo(Object actual, int boundary, int sizeOfActual, AssertionInfo info)
public static void checkSizeBetween(Object actual, int lowerBoundary, int higherBoundary, int sizeOfActual, AssertionInfo info)
public static void checkLineCounts(Object actual, int lineCountOfActual, int lineCountOfOther, AssertionInfo info)
public static void checkTypeIsNotNull(Class<?> expectedType)
public static void checkIterableIsNotNull(Iterable<?> set)
public static NullPointerException iterableToLookForIsNull()
public static void checkSequenceIsNotNull(Object sequence)
public static void checkSubsequenceIsNotNull(Object subsequence)
Copyright © 2014–2019 AssertJ. All rights reserved.