Uses of Class
org.junit.platform.commons.PreconditionViolationException
Package
Description
Internal common utilities for JUnit.
Public API for test engines.
Public API for configuring and launching test plans.
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder
.-
Uses of PreconditionViolationException in org.junit.platform.commons.util
Modifier 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
. -
Uses of PreconditionViolationException in org.junit.platform.engine
-
Uses of PreconditionViolationException in org.junit.platform.engine.discovery
Modifier and TypeMethodDescriptionstatic MethodSelector
DiscoverySelectors.selectMethod
(ClassLoader classLoader, String fullyQualifiedMethodName) Create aMethodSelector
for the supplied fully qualified method name and class loader.static MethodSelector
DiscoverySelectors.selectMethod
(String fullyQualifiedMethodName) Create aMethodSelector
for the supplied fully qualified method name.static NestedMethodSelector
DiscoverySelectors.selectNestedMethod
(ClassLoader classLoader, List<String> enclosingClassNames, String nestedClassName, String methodName) Create aNestedMethodSelector
for the supplied nested class name, method name, and class loader. -
Uses of PreconditionViolationException in org.junit.platform.launcher
Modifier and TypeMethodDescriptionstatic PostDiscoveryFilter
TagFilter.excludeTags
(String... tagExpressions) Create an exclude filter based on the supplied tag expressions.static PostDiscoveryFilter
TagFilter.excludeTags
(List<String> tagExpressions) Create an exclude filter based on the supplied tag expressions.TestPlan.getTestIdentifier
(String uniqueId) Deprecated.static PostDiscoveryFilter
TagFilter.includeTags
(String... tagExpressions) Create an include filter based on the supplied tag expressions.static PostDiscoveryFilter
TagFilter.includeTags
(List<String> tagExpressions) Create an include filter based on the supplied tag expressions. -
Uses of PreconditionViolationException in org.junit.platform.launcher.core
Modifier and TypeMethodDescriptionstatic Launcher
LauncherFactory.create()
static Launcher
LauncherFactory.create
(LauncherConfig config) Factory method for creating a newLauncher
using the suppliedLauncherConfig
.static LauncherSession
LauncherFactory.openSession()
static LauncherSession
LauncherFactory.openSession
(LauncherConfig config) Factory method for opening a newLauncherSession
using the suppliedLauncherConfig
.
TestPlan.getTestIdentifier(UniqueId)