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 Filterprivate static final FilterResultprivate 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:FilterApply this filter to the supplied object. -
toPredicate
Description copied from interface:FilterReturn aPredicatethat returnstrueif this filter includes the object supplied to the predicate'stestmethod.- Specified by:
toPredicatein interfaceFilter<T>
-
toString
-