|
Flying Saucer Project Release ${app.version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xhtmlrenderer.test.DocumentDiffTest
public class DocumentDiffTest
Description of the Class
Field Summary | |
---|---|
static int |
height
|
static int |
width
|
Constructor Summary | |
---|---|
DocumentDiffTest()
|
Method Summary | |
---|---|
boolean |
compareTestFile(java.lang.String test,
java.lang.String diff,
int width,
int height)
Description of the Method |
void |
generateDiffs(java.io.File dir,
int width,
int height)
Description of the Method |
static void |
generateTestFile(java.lang.String test,
java.lang.String diff,
int width,
int height)
Description of the Method |
static void |
getDiff(java.lang.StringBuffer sb,
Box box,
java.lang.String tab)
Gets the diff attribute of the DocumentDiffTest object |
static void |
main(java.lang.String[] args)
The main program for the DocumentDiffTest class |
void |
runTests(java.io.File dir,
int width,
int height)
Description of the Method |
static java.lang.String |
xhtmlToDiff(java.lang.String xhtml,
int width,
int height)
Description of the Method |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int width
public static final int height
Constructor Detail |
---|
public DocumentDiffTest()
Method Detail |
---|
public void runTests(java.io.File dir, int width, int height) throws java.lang.Exception
dir
- PARAMwidth
- PARAMheight
- PARAM
java.lang.Exception
- Throwspublic void generateDiffs(java.io.File dir, int width, int height) throws java.lang.Exception
dir
- PARAMwidth
- PARAMheight
- PARAM
java.lang.Exception
- Throwspublic static void generateTestFile(java.lang.String test, java.lang.String diff, int width, int height) throws java.lang.Exception
test
- PARAMdiff
- PARAMwidth
- PARAMheight
- PARAM
java.lang.Exception
- Throwspublic static java.lang.String xhtmlToDiff(java.lang.String xhtml, int width, int height) throws java.lang.Exception
xhtml
- PARAMwidth
- PARAMheight
- PARAM
java.lang.Exception
- Throwspublic boolean compareTestFile(java.lang.String test, java.lang.String diff, int width, int height) throws java.lang.Exception
test
- PARAMdiff
- PARAMwidth
- PARAMheight
- PARAM
java.lang.Exception
- Throwspublic static void getDiff(java.lang.StringBuffer sb, Box box, java.lang.String tab)
sb
- PARAMbox
- PARAMtab
- PARAMpublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line arguments
java.lang.Exception
- Throws
|
Flying Saucer Project Release ${app.version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |