Overview  Package   Class  Tree  Index 

be.lassi.web
Class TestDocBuilder

java.lang.Object
  extended by be.lassi.web.PageBuilder
      extended by be.lassi.web.DocBuilder
          extended by 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 be.lassi.web.DocBuilder
exclude, process, processLine
 
Methods inherited from class be.lassi.web.PageBuilder
depth, getSourceDir, sourceFilename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 changed
targetDir - the directory with the html pages after change
Method Detail

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

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2