org.xhtmlrenderer.test
Class ReferenceComparison
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceComparison
public ReferenceComparison(int width,
boolean verbose)
- Initializes (does not launch) the reference comparison.
- Parameters:
width - width at which pages should be renderedverbose -
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.