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 voidcheckIsNotNull(Object[] values)static voidcheckIterableIsNotNull(AssertionInfo info, Iterable<?> set)static voidcheckLineCounts(Object actual, int lineCountOfActual, int lineCountOfOther, AssertionInfo info)static voidcheckSequenceIsNotNull(Object sequence)static voidcheckSizes(Object actual, int sizeOfActual, int sizeOfOther, AssertionInfo info)static voidcheckSubsequenceIsNotNull(Object subsequence)static voidcheckTypeIsNotNull(Class<?> expectedType)static voidfailIfEmptySinceActualIsNotEmpty(Object[] values)static voidhasSameSizeAsCheck(AssertionInfo info, Object actual, Iterable<?> other, int sizeOfActual)static voidhasSameSizeAsCheck(AssertionInfo info, Object actual, Object other, int sizeOfActual)static voidhasSameSizeAsCheck(AssertionInfo info, Object actual, Map<?,?> other, int sizeOfActual)static NullPointerExceptioniterableToLookForIsNull()
-
-
-
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)
-
-