junit.extensions.abbot
Class ScriptTestCollector
java.lang.Object
junit.runner.ClassPathTestCollector
junit.runner.LoadingTestCollector
junit.extensions.abbot.ScriptTestCollector
- All Implemented Interfaces:
- junit.runner.TestCollector
public class ScriptTestCollector
- extends junit.runner.LoadingTestCollector
Collects all available classes derived from ScriptTestCase in the current
classpath.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptTestCollector
public ScriptTestCollector()
ScriptTestCollector
public ScriptTestCollector(ClassLoader loader)
collectTests
public Enumeration collectTests()
- Override to use something other than java.class.path.
- Specified by:
collectTests
in interface junit.runner.TestCollector
- Overrides:
collectTests
in class junit.runner.ClassPathTestCollector
collectFilesInPath
public Hashtable collectFilesInPath(String classPath)
- Collect files in zip archives as well as raw class files.
- Overrides:
collectFilesInPath
in class junit.runner.ClassPathTestCollector
scanArchive
protected Map scanArchive(String name)
isTestClass
protected boolean isTestClass(String classFileName)
- Overrides:
isTestClass
in class junit.runner.LoadingTestCollector
classNameFromFile
protected String classNameFromFile(String classFileName)
- Overrides:
classNameFromFile
in class junit.runner.ClassPathTestCollector
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on