public class DocumentDiffTest extends Object
| Constructor and Description |
|---|
DocumentDiffTest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compareTestFile(String test,
String diff,
int width,
int height)
Description of the Method
|
void |
generateDiffs(File dir,
int width,
int height)
Description of the Method
|
static void |
generateTestFile(String test,
String diff,
int width,
int height)
Description of the Method
|
static void |
getDiff(StringBuffer sb,
Box box,
String tab)
Gets the diff attribute of the DocumentDiffTest object
|
static void |
main(String[] args)
The main program for the DocumentDiffTest class
|
void |
runTests(File dir,
int width,
int height)
Description of the Method
|
static String |
xhtmlToDiff(String xhtml,
int width,
int height)
Description of the Method
|
public static final int width
public static final int height
public void runTests(File dir, int width, int height) throws Exception
dir - PARAMwidth - PARAMheight - PARAMException - Throwspublic void generateDiffs(File dir, int width, int height) throws Exception
dir - PARAMwidth - PARAMheight - PARAMException - Throwspublic static void generateTestFile(String test, String diff, int width, int height) throws Exception
test - PARAMdiff - PARAMwidth - PARAMheight - PARAMException - Throwspublic static String xhtmlToDiff(String xhtml, int width, int height) throws Exception
xhtml - PARAMwidth - PARAMheight - PARAMException - Throwspublic boolean compareTestFile(String test, String diff, int width, int height) throws Exception
test - PARAMdiff - PARAMwidth - PARAMheight - PARAMException - Throwspublic static void getDiff(StringBuffer sb, Box box, String tab)
sb - PARAMbox - PARAMtab - PARAMCopyright © 2020. All rights reserved.