org.apache.maven.surefire.common.junit4
Class JUnit4TestChecker

java.lang.Object
  extended by org.apache.maven.surefire.common.junit4.JUnit4TestChecker
All Implemented Interfaces:
ScannerFilter

public class JUnit4TestChecker
extends Object
implements ScannerFilter

Author:
Kristian Rosenvold

Constructor Summary
JUnit4TestChecker(ClassLoader testClassLoader)
           
 
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

JUnit4TestChecker

public JUnit4TestChecker(ClassLoader testClassLoader)
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-2011 Apache Software Foundation. All Rights Reserved.