ch.sf.htt
Class TestReportListener

java.lang.Object
  extended by ch.sf.htt.TestReportListener
All Implemented Interfaces:
ITestListener

public class TestReportListener
extends java.lang.Object
implements ITestListener


Nested Class Summary
 
Nested classes/interfaces inherited from interface ch.sf.htt.ITestListener
ITestListener.STATE
 
Constructor Summary
TestReportListener(java.lang.String pathToReport)
           
 
Method Summary
 void addErrorOutput(java.lang.String text)
          More standard error data is received.
 void addStandardOutput(java.lang.String text)
          More standard output data is received.
 void setState(ITestListener.STATE state)
          Updates the state of the test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestReportListener

public TestReportListener(java.lang.String pathToReport)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addStandardOutput

public void addStandardOutput(java.lang.String text)
Description copied from interface: ITestListener
More standard output data is received.

Specified by:
addStandardOutput in interface ITestListener
Parameters:
text - The stdout data.

addErrorOutput

public void addErrorOutput(java.lang.String text)
Description copied from interface: ITestListener
More standard error data is received.

Specified by:
addErrorOutput in interface ITestListener
Parameters:
text - The stderr data.

setState

public void setState(ITestListener.STATE state)
Description copied from interface: ITestListener
Updates the state of the test.

Specified by:
setState in interface ITestListener
Parameters:
state - The current test state.