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)
           
 boolean checkforTestAnnotatedMethod(Class testClass)
           
 boolean isRunWithPresentInClassLoader()
           
 
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)
Specified by:
accept in interface ScannerFilter

checkforTestAnnotatedMethod

public boolean checkforTestAnnotatedMethod(Class testClass)

isRunWithPresentInClassLoader

public boolean isRunWithPresentInClassLoader()


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.