Package org.assertj.core.internal
Class CommonValidations
- java.lang.Object
-
- org.assertj.core.internal.CommonValidations
-
public final class CommonValidations extends Object
- Author:
- Alex Ruiz, Joel Costigliola
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkIsNotNull(Object[] values)
static void
checkIterableIsNotNull(AssertionInfo info, Iterable<?> set)
static void
checkLineCounts(Object actual, int lineCountOfActual, int lineCountOfOther, AssertionInfo info)
static void
checkSequenceIsNotNull(Object sequence)
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, Object other, int sizeOfActual)
static void
hasSameSizeAsCheck(AssertionInfo info, Object actual, Map<?,?> other, int sizeOfActual)
static NullPointerException
iterableToLookForIsNull()
-
-
-
Method Detail
-
checkIsNotNull
public static void checkIsNotNull(Object[] values)
-
failIfEmptySinceActualIsNotEmpty
public static void failIfEmptySinceActualIsNotEmpty(Object[] values)
-
hasSameSizeAsCheck
public static void hasSameSizeAsCheck(AssertionInfo info, Object actual, Object other, int sizeOfActual)
-
hasSameSizeAsCheck
public static void hasSameSizeAsCheck(AssertionInfo info, Object actual, Iterable<?> other, int sizeOfActual)
-
hasSameSizeAsCheck
public static void hasSameSizeAsCheck(AssertionInfo info, Object actual, Map<?,?> other, int sizeOfActual)
-
checkSizes
public static void checkSizes(Object actual, int sizeOfActual, int sizeOfOther, AssertionInfo info)
-
checkLineCounts
public static void checkLineCounts(Object actual, int lineCountOfActual, int lineCountOfOther, AssertionInfo info)
-
checkTypeIsNotNull
public static void checkTypeIsNotNull(Class<?> expectedType)
-
checkIterableIsNotNull
public static void checkIterableIsNotNull(AssertionInfo info, Iterable<?> set)
-
iterableToLookForIsNull
public static NullPointerException iterableToLookForIsNull()
-
checkSequenceIsNotNull
public static void checkSequenceIsNotNull(Object sequence)
-
checkSubsequenceIsNotNull
public static void checkSubsequenceIsNotNull(Object subsequence)
-
-