jsystem.extensions.report.html
Class HtmlWriter

java.lang.Object
  extended byjsystem.extensions.report.html.HtmlWriter

public class HtmlWriter
extends Object


Field Summary
static String PACKAGE_FRAME
           
static String TEST_FRAME
           
static String TESTLIST_FRAME
           
 
Constructor Summary
HtmlWriter(String resultDirectory)
           
 
Method Summary
 void addReport(TestReport testReport)
           
 void endTest(long runningTime)
           
 boolean getLastTestReportStatus()
          Retern the last test report status.
 String newTestStart(String packageName, String tName, String methodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE_FRAME

public static String PACKAGE_FRAME

TESTLIST_FRAME

public static String TESTLIST_FRAME

TEST_FRAME

public static String TEST_FRAME
Constructor Detail

HtmlWriter

public HtmlWriter(String resultDirectory)
           throws IOException
Method Detail

newTestStart

public String newTestStart(String packageName,
                           String tName,
                           String methodName)
                    throws IOException
Throws:
IOException

endTest

public void endTest(long runningTime)
             throws IOException
Throws:
IOException

addReport

public void addReport(TestReport testReport)
               throws IOException
Throws:
IOException

getLastTestReportStatus

public boolean getLastTestReportStatus()
Retern the last test report status.

Returns:
Test status, true for success and false for fail.