jsystem.framework.report
Class SystemOutTestReporter

java.lang.Object
  extended byjsystem.framework.report.SystemOutTestReporter
All Implemented Interfaces:
TestReporter

public class SystemOutTestReporter
extends Object
implements TestReporter

Print the reporting to the standard output.


Constructor Summary
SystemOutTestReporter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemOutTestReporter

public SystemOutTestReporter()
Method Detail

initReporterManager

public void initReporterManager()
Description copied from interface: TestReporter
Launch the manager GUI.

Specified by:
initReporterManager in interface TestReporter

asUI

public boolean asUI()
Specified by:
asUI in interface TestReporter
Returns:
true if suport GUI false if not

report

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

Specified by:
report in interface TestReporter
Parameters:
title - the report title.
message - the report message
isPass - true if pass
bold - true if bold

getName

public String getName()
Description copied from interface: TestReporter
Get the reporter unick name.

Specified by:
getName in interface TestReporter
Returns:
the reporter name.