| java.lang.Object org.apache.cactus.integration.maven.CactusScanner
CactusScanner | public class CactusScanner (Code) | | Process
FileSet and extracts classes that are Cactus tests. As
a Cactus test can be a simple JUnit test case wrapped in a Cactus suite,
it is very difficult to find out only Cactus tests. Thus, in this version,
we are only finding JUnit tests.
A class is considered to be a JUnit Test Case if:
- It extends
TestCase
- It is not abstract
- It has at least one method that starts with "test", returns void and
takes no parameters
version: $Id: CactusScanner.java 238815 2004-02-29 16:34:44Z vmassol $ |
clear | public void clear()(Code) | | Remove all Cactus class names that were found in the
Fileset |
iterator | public Iterator iterator()(Code) | | the list of valid Cactus test cases |
processFileSet | public void processFileSet(FileSet theFileset, Path theClasspath)(Code) | | Finds the Cactus test cases from a list of files.
Parameters: theFileset - the list of files in which to look for Cactus tests Parameters: theClasspath - the classpaths needed to load the test classes |
setProject | public void setProject(Project theProject)(Code) | | Parameters: theProject - the Ant project that is currently executing |
|
|