org.daisy.zedval.engine
Class CustomTestProcessor
java.lang.Object
org.daisy.zedval.engine.ZedTestProcessor
org.daisy.zedval.engine.CustomTestProcessor
- public class CustomTestProcessor
- extends ZedTestProcessor
A CustomTestProcessor
object executes tests via a custom Java
class
- Author:
- James Pritchett
Constructor Summary |
CustomTestProcessor(java.lang.String id,
java.lang.String l,
java.util.LinkedHashMap tests,
java.util.LinkedHashMap files,
ZedContext c,
java.lang.String testerName)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CustomTestProcessor
public CustomTestProcessor(java.lang.String id,
java.lang.String l,
java.util.LinkedHashMap tests,
java.util.LinkedHashMap files,
ZedContext c,
java.lang.String testerName)
- Parameters:
id
- ID of this ZedTestProcessor (from processor map)l
- Name for this ZedTestProcessortests
- LinkedHashMap of ZedTests that this ZedTestProcessor
implements (key = id)files
- LinkedHashMap of ZedFiles upon which this ZedTestProcessor is
to be invoked (key = absolute full path)c
- ZedContext for this runtesterName
- The name of a class that implements the ZedCustomTest
interface that will actually execute the tests
performTests
public boolean performTests()
- Performs the tests on all the files
- Overrides:
performTests
in class ZedTestProcessor
- Returns:
- TRUE if tests were performed on one or more files
getTester
public ZedCustomTest getTester()
- Returns the object being used to test files
- Returns:
- The ZedCustomTest object
getTesterName
public java.lang.String getTesterName()
- Returns the class name of the object being used to test files
- Returns:
- The ZedCustomTest implementation class name
toString
public java.lang.String toString()
- Overrides:
toString
in class ZedTestProcessor