Class DefaultDirectoryScanner

java.lang.Object
org.apache.maven.surefire.api.util.DefaultDirectoryScanner
All Implemented Interfaces:
DirectoryScanner

@Deprecated public class DefaultDirectoryScanner extends Object implements DirectoryScanner
Deprecated.
Scans directories looking for tests.
Author:
Karl M. Davis, Kristian Rosenvold
  • Constructor Details

  • Method Details

    • locateTestClasses

      public TestsToRun locateTestClasses(ClassLoader classLoader, ScannerFilter scannerFilter)
      Deprecated.
      Description copied from interface: DirectoryScanner
      Locates tests based on scanning directories
      Specified by:
      locateTestClasses in interface DirectoryScanner
      Parameters:
      classLoader - The classloader to use when loading classes
      scannerFilter - The filter to include/exclude test classes
      Returns:
      The found classes that match the filter