Package org.xhtmlrenderer.test
Class ReferenceComparison
java.lang.Object
org.xhtmlrenderer.test.ReferenceComparison
ReferenceComparison runs a comparison of rendering a set of source XHTML files against a
-
Constructor Summary
ConstructorsConstructorDescriptionReferenceComparison
(int width, boolean verbose) Initializes (does not launch) the reference comparison. -
Method Summary
Modifier and TypeMethodDescriptionvoid
compareDirectory
(File sourceDirectory, File referenceDir, File failedDirectory) void
compareFile
(File source, File referenceDir, File failedDirectory, org.xhtmlrenderer.test.ReferenceComparison.CompareStatistics stat) static void
-
Constructor Details
-
ReferenceComparison
public ReferenceComparison(int width, boolean verbose) Initializes (does not launch) the reference comparison.- Parameters:
width
- width at which pages should be renderedverbose
-
-
-
Method Details
-
main
- 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
-