org.apache.maven.surefire
Class SpecificTestClassFilter
java.lang.Object
org.apache.maven.surefire.SpecificTestClassFilter
- All Implemented Interfaces:
- ScannerFilter
public class SpecificTestClassFilter
- extends Object
- implements ScannerFilter
Method Summary |
boolean |
accept(Class testClass)
Indicates if the class should be accepted by the directory scanner |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpecificTestClassFilter
public SpecificTestClassFilter(String[] classNames)
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.
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.