Interface TestFilter

  • All Known Implementing Classes:
    AcceptAllTestFilter

    public interface TestFilter
    An object that can filter out tests before they are inserted into a test suite
    Version:
    $Revision: 1.3 $
    See Also:
    RecursiveTestSuite
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean accept​(java.lang.Class clazz)
      Return true if the specified class should be run in this test suite
    • Method Detail

      • accept

        boolean accept​(java.lang.Class clazz)
        Return true if the specified class should be run in this test suite
        Parameters:
        clazz - The class object. This class must be a subclass of Test
        Returns:
        true if the specified class should be run in this test suite