org.daisy.zedval.engine
Class ManualTestProcessor

java.lang.Object
  extended byorg.daisy.zedval.engine.ZedTestProcessor
      extended byorg.daisy.zedval.engine.ManualTestProcessor

public class ManualTestProcessor
extends ZedTestProcessor

A ManualTestProcessor object creates a report of tests that will need to be done manually

Author:
James Pritchett

Constructor Summary
ManualTestProcessor(java.lang.String id, java.lang.String l, java.util.LinkedHashMap tests, java.util.LinkedHashMap files, ZedContext c, java.io.File reportFile)
           
 
Method Summary
 java.io.File getReportFile()
          Returns the File object for the output report
 boolean performTests()
          Performs the tests on all the files
 java.lang.String toString()
           
 
Methods inherited from class org.daisy.zedval.engine.ZedTestProcessor
getContext, getFilesTested, getId, getLabel, getTestsImplemented
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManualTestProcessor

public ManualTestProcessor(java.lang.String id,
                           java.lang.String l,
                           java.util.LinkedHashMap tests,
                           java.util.LinkedHashMap files,
                           ZedContext c,
                           java.io.File reportFile)
Parameters:
id - ID of this ManualTestProcessor (from processor map)
l - Name for this ManualTestProcessor
tests - LinkedHashMap of ZedTests that this ManualTestProcessor reports (key = id)
files - LinkedHashMap of ZedFiles upon which this ManualTestProcessor is to be invoked (key = absolute full path)
c - ZedContext for this run
reportFile - A File object defining the report output file
Method Detail

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

getReportFile

public java.io.File getReportFile()
Returns the File object for the output report

Returns:
The File object

toString

public java.lang.String toString()
Overrides:
toString in class ZedTestProcessor