be.lassi.web
Class TestDocBuilder
java.lang.Object
be.lassi.web.PageBuilder
be.lassi.web.DocBuilder
be.lassi.web.TestDocBuilder
public class TestDocBuilder
- extends DocBuilder
Adds the LASSI navigation at the top of the JUnit report
html pages.
Constructor Summary |
TestDocBuilder(java.lang.String sourceDir,
java.lang.String targetDir)
Constructs a new instance. |
Method Summary |
static void |
main(java.lang.String[] args)
Processes the test report files. |
protected java.lang.String |
path(int depth)
Gets the path to the root directory from a directory
at given depth. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDocBuilder
public TestDocBuilder(java.lang.String sourceDir,
java.lang.String targetDir)
- Constructs a new instance.
- Parameters:
sourceDir
- the directory with the html pages to be changedtargetDir
- the directory with the html pages after change
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Processes the test report files.
- Parameters:
args
- the command line arguments
- Throws:
java.io.IOException
- if problem with reading or writing the files
path
protected java.lang.String path(int depth)
- Description copied from class:
PageBuilder
- Gets the path to the root directory from a directory
at given depth.
- Overrides:
path
in class PageBuilder
- Parameters:
depth
- the sub-directory depth
- Returns:
- the path to the root