org.apache.maven.surefire
Class SpecificTestClassFilter

java.lang.Object
  extended by org.apache.maven.surefire.SpecificTestClassFilter
All Implemented Interfaces:
ScannerFilter

public class SpecificTestClassFilter
extends Object
implements ScannerFilter


Constructor Summary
SpecificTestClassFilter(String[] classNames)
           
 
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
 

Constructor Detail

SpecificTestClassFilter

public SpecificTestClassFilter(String[] classNames)
Method Detail

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.