Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.test
Class ReferenceComparison

java.lang.Object
  extended by org.xhtmlrenderer.test.ReferenceComparison

public class ReferenceComparison
extends java.lang.Object

ReferenceComparison runs a comparison of rendering a set of source XHTML files against a


Constructor Summary
ReferenceComparison(int width, boolean verbose)
          Initializes (does not launch) the reference comparison.
 
Method Summary
 void compareDirectory(java.io.File sourceDirectory, java.io.File referenceDir, java.io.File failedDirectory)
           
 void compareFile(java.io.File source, java.io.File referenceDir, java.io.File failedDirectory, org.xhtmlrenderer.test.ReferenceComparison.CompareStatistics stat)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceComparison

public ReferenceComparison(int width,
                           boolean verbose)
Initializes (does not launch) the reference comparison.

Parameters:
width - width at which pages should be rendered
verbose -
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

compareDirectory

public void compareDirectory(java.io.File sourceDirectory,
                             java.io.File referenceDir,
                             java.io.File failedDirectory)
                      throws java.io.IOException
Throws:
java.io.IOException

compareFile

public void compareFile(java.io.File source,
                        java.io.File referenceDir,
                        java.io.File failedDirectory,
                        org.xhtmlrenderer.test.ReferenceComparison.CompareStatistics stat)
                 throws java.io.IOException
Throws:
java.io.IOException

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home