Package org.xhtmlrenderer.test
Class DocumentDiffTest
java.lang.Object
org.xhtmlrenderer.test.DocumentDiffTest
Description of the Class
- Author:
- empty
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
compareTestFile
(String test, String diff, int width, int height) Description of the Methodvoid
generateDiffs
(File dir, int width, int height) Description of the Methodstatic void
generateTestFile
(String test, String diff, int width, int height) Description of the Methodstatic void
getDiff
(StringBuffer sb, Box box, String tab) Gets the diff attribute of the DocumentDiffTest objectstatic void
The main program for the DocumentDiffTest classvoid
Description of the Methodstatic String
xhtmlToDiff
(String xhtml, int width, int height) Description of the Method
-
Field Details
-
width
public static final int width- See Also:
-
height
public static final int height- See Also:
-
-
Constructor Details
-
DocumentDiffTest
public DocumentDiffTest()
-
-
Method Details
-
runTests
Description of the Method- Parameters:
dir
- PARAMwidth
- PARAMheight
- PARAM- Throws:
Exception
- Throws
-
generateDiffs
Description of the Method- Parameters:
dir
- PARAMwidth
- PARAMheight
- PARAM- Throws:
Exception
- Throws
-
generateTestFile
public static void generateTestFile(String test, String diff, int width, int height) throws Exception Description of the Method- Parameters:
test
- PARAMdiff
- PARAMwidth
- PARAMheight
- PARAM- Throws:
Exception
- Throws
-
xhtmlToDiff
Description of the Method- Parameters:
xhtml
- PARAMwidth
- PARAMheight
- PARAM- Returns:
- Returns
- Throws:
Exception
- Throws
-
compareTestFile
Description of the Method- Parameters:
test
- PARAMdiff
- PARAMwidth
- PARAMheight
- PARAM- Returns:
- Returns
- Throws:
Exception
- Throws
-
getDiff
Gets the diff attribute of the DocumentDiffTest object- Parameters:
sb
- PARAMbox
- PARAMtab
- PARAM
-
main
The main program for the DocumentDiffTest class- Parameters:
args
- The command line arguments- Throws:
Exception
- Throws
-