org.xhtmlrenderer.test
Class ReferenceComparison

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

public class ReferenceComparison
extends 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(File sourceDirectory, File referenceDir, File failedDirectory)
           
 void compareFile(File source, File referenceDir, File failedDirectory, org.xhtmlrenderer.test.ReferenceComparison.CompareStatistics stat)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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(String[] args)
                 throws IOException
Throws:
IOException

compareDirectory

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

compareFile

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


Copyright © 2013. All Rights Reserved.