org.apache.maven.surefire.common.junit3
Class JUnit3TestChecker
java.lang.Object
org.apache.maven.surefire.common.junit3.JUnit3TestChecker
- All Implemented Interfaces:
- ScannerFilter
public class JUnit3TestChecker
- extends Object
- implements ScannerFilter
Missing tests ? This class is basically a subset of the JUnit4TestChecker, which is tested
to boredom and back. Unfortunately we don't have any common module between these providers,
so this stuff is duplicated. We should probably make some modules and just shade the content
into the providers.
- Author:
- Kristian Rosenvold
Method Summary |
boolean |
accept(Class testClass)
Indicates if the class should be accepted by the directory scanner |
boolean |
isSuiteOnly(Class testClass)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUnit3TestChecker
public JUnit3TestChecker(ClassLoader testClassLoader)
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.
isSuiteOnly
public boolean isSuiteOnly(Class testClass)
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.