Uses of Class
org.junit.platform.commons.PreconditionViolationException
Packages that use PreconditionViolationException
-
Uses of PreconditionViolationException in org.junit.platform.commons.util
Methods in org.junit.platform.commons.util that throw PreconditionViolationExceptionModifier and TypeMethodDescriptionstatic void
Assert that the suppliedpredicate
istrue
.static void
Assert that the suppliedpredicate
istrue
.static <T> T[]
Preconditions.containsNoNullElements
(T[] array, String message) Assert that the supplied array contains nonull
elements.static <T> T[]
Preconditions.containsNoNullElements
(T[] array, Supplier<String> messageSupplier) Assert that the supplied array contains nonull
elements.static <T extends Collection<?>>
TPreconditions.containsNoNullElements
(T collection, String message) Assert that the supplied collection contains nonull
elements.static <T extends Collection<?>>
TPreconditions.containsNoNullElements
(T collection, Supplier<String> messageSupplier) Assert that the supplied collection contains nonull
elements.static String
Assert that the suppliedString
is not blank.static String
Assert that the suppliedString
is not blank.static int[]
Assert that the supplied array is neithernull
nor empty.static <T> T[]
Assert that the supplied array is neithernull
nor empty.static <T> T[]
Assert that the supplied array is neithernull
nor empty.static <T extends Collection<?>>
TAssert that the suppliedCollection
is neithernull
nor empty.static <T extends Collection<?>>
TAssert that the suppliedCollection
is neithernull
nor empty.static <T> T
Assert that the suppliedObject
is notnull
.static <T> T
Assert that the suppliedObject
is notnull
.