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) |
void |
generateDiffs(File dir,
int width,
int height) |
static void |
generateTestFile(String test,
String diff,
int width,
int height) |
static void |
getDiff(StringBuilder 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) |
static String |
xhtmlToDiff(String xhtml,
int width,
int height) |
public static final int width
public static final int height
public void runTests(File dir, int width, int height)
public void generateDiffs(File dir, int width, int height) throws Exception
Exceptionpublic static void generateTestFile(String test, String diff, int width, int height) throws Exception
Exceptionpublic static String xhtmlToDiff(String xhtml, int width, int height) throws Exception
Exceptionpublic boolean compareTestFile(String test, String diff, int width, int height) throws Exception
Exceptionpublic static void getDiff(StringBuilder sb, Box box, String tab)
Copyright © 2023. All rights reserved.