Package org.junit.platform.engine
Class CompositeFilter<T>
java.lang.Object
org.junit.platform.engine.CompositeFilter<T>
- All Implemented Interfaces:
Filter<T>
Combines a collection of
Filters
into a new filter that will
include elements if and only if all of the filters in the specified collection
include it.- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Filter
private static final FilterResult
private final Collection
<Filter<T>> private static final FilterResult
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ALWAYS_INCLUDED_FILTER
-
ALWAYS_INCLUDED_RESULT
-
INCLUDED_BY_ALL_FILTERS
-
filters
-
-
Constructor Details
-
CompositeFilter
CompositeFilter(Collection<? extends Filter<T>> filters)
-
-
Method Details
-
alwaysIncluded
-
apply
Description copied from interface:Filter
Apply this filter to the supplied object. -
toPredicate
Description copied from interface:Filter
Return aPredicate
that returnstrue
if this filter includes the object supplied to the predicate'stest
method.- Specified by:
toPredicate
in interfaceFilter<T>
-
toString
-