Class PojoAndJUnit3Checker

java.lang.Object
org.apache.maven.surefire.junit.PojoAndJUnit3Checker
All Implemented Interfaces:
ScannerFilter

public class PojoAndJUnit3Checker extends Object implements ScannerFilter
  • Field Details

  • Constructor Details

    • PojoAndJUnit3Checker

      public PojoAndJUnit3Checker(JUnit3TestChecker jUnit3TestChecker)
  • Method Details

    • accept

      public boolean accept(Class testClass)
      Description copied from interface: ScannerFilter
      Indicates if the class should be accepted by the directory scanner
      Specified by:
      accept in interface ScannerFilter
      Parameters:
      testClass - The class in question
      Returns:
      true if the class should be part of the directory scan result.
    • isPojoTest

      private boolean isPojoTest(Class<?> testClass)