jsystem.framework.report
Interface TestReporter

All Known Implementing Classes:
HtmlTestReporter, SystemOutTestReporter, TestReporterTable, XmlReporter

public interface TestReporter

TestReporter define the methods that should be implemented by all the system reporter. The reporter should register to the ListenerManager, and will be notify by the report method when a report is added.


Method Summary
 boolean asUI()
           
 String getName()
          Get the reporter unick name.
 void initReporterManager()
          Launch the manager GUI.
 void report(String title, String message, boolean isPass, boolean bold)
          This method will be called by the ListenerManager when new report is added.
 

Method Detail

initReporterManager

public void initReporterManager()
Launch the manager GUI.


asUI

public boolean asUI()
Returns:
true if suport GUI false if not

report

public void report(String title,
                   String message,
                   boolean isPass,
                   boolean bold)
This method will be called by the ListenerManager when new report is added.

Parameters:
title - the report title.
message - the report message
isPass - true if pass
bold - true if bold

getName

public String getName()
Get the reporter unick name.

Returns:
the reporter name.