Uses of Class
org.junit.platform.commons.PreconditionViolationException
Packages that use 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
Methods in org.junit.platform.commons.util that throw PreconditionViolationExceptionModifier and TypeMethodDescriptionstatic voidAssert that the suppliedpredicateistrue.static voidAssert that the suppliedpredicateistrue.static <T extends Collection<?>>
@Nullable TPreconditions.containsNoNullElements(@Nullable T collection, String message) Assert that the supplied collection contains nonullelements.static <T extends Collection<?>>
@Nullable TPreconditions.containsNoNullElements(@Nullable T collection, Supplier<String> messageSupplier) Assert that the supplied collection contains nonullelements.static <T> T @Nullable []Preconditions.containsNoNullElements(T @Nullable [] array, String message) Assert that the supplied array contains nonullelements.static <T> T @Nullable []Preconditions.containsNoNullElements(T @Nullable [] array, Supplier<String> messageSupplier) Assert that the supplied array contains nonullelements.static StringAssert that the suppliedStringis not blank.static StringAssert that the suppliedStringis not blank.static int[]Assert that the supplied array is neithernullnor empty.static <T extends Collection<?>>
TAssert that the suppliedCollectionis neithernullnor empty.static <T extends Collection<?>>
TAssert that the suppliedCollectionis neithernullnor empty.static <T> T[]Assert that the supplied array is neithernullnor empty.static <T> T[]Assert that the supplied array is neithernullnor empty.static <T> TAssert that the suppliedObjectis notnull.static <T> TAssert that the suppliedObjectis notnull. -
Uses of PreconditionViolationException in org.junit.platform.engine
Methods in org.junit.platform.engine that throw PreconditionViolationException -
Uses of PreconditionViolationException in org.junit.platform.engine.discovery
Methods in org.junit.platform.engine.discovery that throw PreconditionViolationExceptionModifier and TypeMethodDescriptionstatic MethodSelectorDiscoverySelectors.selectMethod(@Nullable ClassLoader classLoader, String fullyQualifiedMethodName) Create aMethodSelectorfor the supplied fully qualified method name and class loader.static MethodSelectorDiscoverySelectors.selectMethod(String fullyQualifiedMethodName) Create aMethodSelectorfor the supplied fully qualified method name.static NestedMethodSelectorDiscoverySelectors.selectNestedMethod(@Nullable ClassLoader classLoader, List<String> enclosingClassNames, String nestedClassName, String methodName) Create aNestedMethodSelectorfor the supplied nested class name, method name, and class loader. -
Uses of PreconditionViolationException in org.junit.platform.launcher
Methods in org.junit.platform.launcher that throw PreconditionViolationExceptionModifier and TypeMethodDescriptionstatic PostDiscoveryFilterTagFilter.excludeTags(String... tagExpressions) Create an exclude filter based on the supplied tag expressions.static PostDiscoveryFilterTagFilter.excludeTags(List<String> tagExpressions) Create an exclude filter based on the supplied tag expressions.TestPlan.getTestIdentifier(String uniqueId) Deprecated.static PostDiscoveryFilterTagFilter.includeTags(String... tagExpressions) Create an include filter based on the supplied tag expressions.static PostDiscoveryFilterTagFilter.includeTags(List<String> tagExpressions) Create an include filter based on the supplied tag expressions. -
Uses of PreconditionViolationException in org.junit.platform.launcher.core
Methods in org.junit.platform.launcher.core that throw PreconditionViolationExceptionModifier and TypeMethodDescriptionstatic LauncherLauncherFactory.create()static LauncherLauncherFactory.create(LauncherConfig config) Factory method for creating a newLauncherusing the suppliedLauncherConfig.static LauncherSessionLauncherFactory.openSession()static LauncherSessionLauncherFactory.openSession(LauncherConfig config) Factory method for opening a newLauncherSessionusing the suppliedLauncherConfig.
TestPlan.getTestIdentifier(UniqueId)