Uses of Interface
org.junit.platform.engine.Filter
-
Packages that use Filter Package Description 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 theLauncher
including theLauncherFactory
and theLauncherDiscoveryRequestBuilder
. -
-
Uses of Filter in org.junit.platform.engine
Subinterfaces of Filter in org.junit.platform.engine Modifier and Type Interface Description interface
DiscoveryFilter<T>
ADiscoveryFilter
is applied during test discovery to determine if a given container or test should be included in the test plan.Classes in org.junit.platform.engine that implement Filter Modifier and Type Class Description (package private) class
CompositeFilter<T>
Combines a collection ofFilters
into a new filter that will include elements if and only if all of the filters in the specified collection include it.Fields in org.junit.platform.engine declared as Filter Modifier and Type Field Description private static Filter
CompositeFilter. ALWAYS_INCLUDED_FILTER
Fields in org.junit.platform.engine with type parameters of type Filter Modifier and Type Field Description private java.util.Collection<Filter<T>>
CompositeFilter. filters
Methods in org.junit.platform.engine that return Filter Modifier and Type Method Description static <T,V>
Filter<T>Filter. adaptFilter(Filter<V> adaptee, java.util.function.Function<T,V> converter)
Return a filter that will include elements if and only if the adaptedFilter
includes the value converted using the suppliedFunction
.(package private) static <T> Filter<T>
CompositeFilter. alwaysIncluded()
static <T> Filter<T>
Filter. composeFilters(java.util.Collection<? extends Filter<T>> filters)
Return a filter that will include elements if and only if all of the filters in the supplied collection offilters
include it.static <T> Filter<T>
Filter. composeFilters(Filter<T>... filters)
Return a filter that will include elements if and only if all of the filters in the supplied array offilters
include it.Methods in org.junit.platform.engine with parameters of type Filter Modifier and Type Method Description static <T,V>
Filter<T>Filter. adaptFilter(Filter<V> adaptee, java.util.function.Function<T,V> converter)
Return a filter that will include elements if and only if the adaptedFilter
includes the value converted using the suppliedFunction
.static <T> Filter<T>
Filter. composeFilters(Filter<T>... filters)
Return a filter that will include elements if and only if all of the filters in the supplied array offilters
include it.Method parameters in org.junit.platform.engine with type arguments of type Filter Modifier and Type Method Description static <T> Filter<T>
Filter. composeFilters(java.util.Collection<? extends Filter<T>> filters)
Return a filter that will include elements if and only if all of the filters in the supplied collection offilters
include it.Constructor parameters in org.junit.platform.engine with type arguments of type Filter Constructor Description CompositeFilter(java.util.Collection<? extends Filter<T>> filters)
-
Uses of Filter in org.junit.platform.engine.discovery
Subinterfaces of Filter in org.junit.platform.engine.discovery Modifier and Type Interface Description interface
ClassNameFilter
DiscoveryFilter
that is applied to the name of aClass
.interface
PackageNameFilter
DiscoveryFilter
that is applied to the name of aPackage
.Classes in org.junit.platform.engine.discovery that implement Filter Modifier and Type Class Description (package private) class
AbstractClassNameFilter
AbstractClassNameFilter
that servers as a superclass for filters including or excluding fully qualified class names based on pattern-matching.(package private) class
ExcludeClassNameFilter
ClassNameFilter
that matches fully qualified class names against patterns in the form of regular expressions.(package private) class
ExcludePackageNameFilter
PackageNameFilter
that matches fully qualified package names that are not prefixed by one of the package names provided to the filter.(package private) class
IncludeClassNameFilter
ClassNameFilter
that matches fully qualified class names against patterns in the form of regular expressions.(package private) class
IncludePackageNameFilter
PackageNameFilter
that matches fully qualified package names that are prefixed by one of the package names provided to the filter. -
Uses of Filter in org.junit.platform.launcher
Subinterfaces of Filter in org.junit.platform.launcher Modifier and Type Interface Description interface
PostDiscoveryFilter
APostDiscoveryFilter
is applied toTestDescriptors
after test discovery.Classes in org.junit.platform.launcher that implement Filter Modifier and Type Class Description class
EngineFilter
AnEngineFilter
is applied to allTestEngines
before they are used. -
Uses of Filter in org.junit.platform.launcher.core
Methods in org.junit.platform.launcher.core with parameters of type Filter Modifier and Type Method Description LauncherDiscoveryRequestBuilder
LauncherDiscoveryRequestBuilder. filters(Filter<?>... filters)
Add all of the suppliedfilters
to the request.private void
LauncherDiscoveryRequestBuilder. storeFilter(Filter<?> filter)
-