Uses of Class
org.junit.platform.commons.util.PreconditionViolationException
-
Packages that use PreconditionViolationException Package Description org.junit.platform.commons.util Internal common utilities for JUnit.org.junit.platform.engine Public API for test engines.org.junit.platform.engine.discovery org.junit.platform.launcher Public API for configuring and launching test plans.org.junit.platform.launcher.core Core support classes for theLauncherincluding theLauncherFactoryand theLauncherDiscoveryRequestBuilder. -
-
Uses of PreconditionViolationException in org.junit.platform.commons.util
Methods in org.junit.platform.commons.util that throw PreconditionViolationException Modifier and Type Method Description static voidPreconditions. condition(boolean predicate, String message)Assert that the suppliedpredicateistrue.static voidPreconditions. condition(boolean predicate, Supplier<String> messageSupplier)Assert that the suppliedpredicateistrue.static <T> T[]Preconditions. containsNoNullElements(T[] array, String message)Assert that the supplied array contains nonullelements.static <T> T[]Preconditions. containsNoNullElements(T[] array, Supplier<String> messageSupplier)Assert that the supplied array contains nonullelements.static <T extends Collection<?>>
TPreconditions. containsNoNullElements(T collection, String message)Assert that the supplied collection contains nonullelements.static <T extends Collection<?>>
TPreconditions. containsNoNullElements(T collection, Supplier<String> messageSupplier)Assert that the supplied collection contains nonullelements.static StringPreconditions. notBlank(String str, String message)Assert that the suppliedStringis not blank.static StringPreconditions. notBlank(String str, Supplier<String> messageSupplier)Assert that the suppliedStringis not blank.static <T> T[]Preconditions. notEmpty(T[] array, String message)Assert that the supplied array is neithernullnor empty.static <T> T[]Preconditions. notEmpty(T[] array, Supplier<String> messageSupplier)Assert that the supplied array is neithernullnor empty.static <T extends Collection<?>>
TPreconditions. notEmpty(T collection, String message)Assert that the suppliedCollectionis neithernullnor empty.static <T extends Collection<?>>
TPreconditions. notEmpty(T collection, Supplier<String> messageSupplier)Assert that the suppliedCollectionis neithernullnor empty.static <T> TPreconditions. notNull(T object, String message)Assert that the suppliedObjectis notnull.static <T> TPreconditions. notNull(T object, Supplier<String> messageSupplier)Assert that the suppliedObjectis notnull. -
Uses of PreconditionViolationException in org.junit.platform.engine
Methods in org.junit.platform.engine that throw PreconditionViolationException Modifier and Type Method Description static TestTagTestTag. create(String name)Create aTestTagfrom the suppliedname. -
Uses of PreconditionViolationException in org.junit.platform.engine.discovery
Methods in org.junit.platform.engine.discovery that throw PreconditionViolationException Modifier and Type Method Description static MethodSelectorDiscoverySelectors. selectMethod(String fullyQualifiedMethodName)Create aMethodSelectorfor the supplied fully qualified method name. -
Uses of PreconditionViolationException in org.junit.platform.launcher
Methods in org.junit.platform.launcher that throw PreconditionViolationException Modifier and Type Method Description static 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.TestIdentifierTestPlan. getTestIdentifier(String uniqueId)Get theTestIdentifierwith the supplied unique ID.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 PreconditionViolationException Modifier and Type Method Description static LauncherLauncherFactory. create()Factory method for creating a newLauncherusing dynamically detected test engines.
-