Class IncludePackageNameFilter

java.lang.Object
org.junit.platform.engine.discovery.IncludePackageNameFilter
All Implemented Interfaces:
PackageNameFilter, DiscoveryFilter<String>, Filter<String>

class IncludePackageNameFilter extends Object implements PackageNameFilter
PackageNameFilter that matches fully qualified package names that are prefixed by one of the package names provided to the filter.

If the fully qualified name of a package starts with at least one of the packages names of the filter, the package will be included.

Since:
1.0
  • Field Details

    • packageNames

      private final List<String> packageNames
    • patternDescription

      private final String patternDescription
  • Constructor Details

    • IncludePackageNameFilter

      IncludePackageNameFilter(String... packageNames)
  • Method Details