org.testng.reporters
Class EmailableReporter

java.lang.Object  extended by org.testng.reporters.EmailableReporter
All Implemented Interfaces:
IReporter, ITestNGListener

public class EmailableReporter
extends Object
implements IReporter

Reported designed to render self-contained HTML top down view of a testing suite.

Since:
5.2
Version:
$Revision: 719 $
Author:
Paul Mendelson


Constructor Summary
EmailableReporter()
           
 
Method Summary
protected  PrintWritercreateWriter(String outdir)
           
protected  voidendHtml(PrintWriter out)
          Finishes HTML stream
protected  voidgenerateExceptionReport(Throwable exception, ITestNGMethod method)
           
protected  voidgenerateMethodDetailReport(List<ISuite> suites)
          Creates a section showing known results for each method
protected  voidgenerateMethodSummaryReport(List<ISuite> suites)
          Creates a table showing the highlights of each test method with links to the method details
 voidgenerateReport(List<XmlSuite> xml, List<ISuite> suites, String outdir)
          Creates summary of the run
 voidgenerateSuiteSummaryReport(List<ISuite> suites)
           
protected  voidstartHtml(PrintWriter out)
          Starts HTML stream
protected  voidwriteStyle(String[] formats, String[] targets)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailableReporter

public EmailableReporter()
Method Detail

generateReport

public void generateReport(List<XmlSuite> xml,                           List<ISuite> suites,                           String outdir)
Creates summary of the run

Specified by:
generateReport in interface IReporter

createWriter

protected PrintWriter createWriter(String outdir)                            throws IOException
Throws:
IOException

generateMethodSummaryReport

protected void generateMethodSummaryReport(List<ISuite> suites)
Creates a table showing the highlights of each test method with links to the method details


generateMethodDetailReport

protected void generateMethodDetailReport(List<ISuite> suites)
Creates a section showing known results for each method


generateExceptionReport

protected void generateExceptionReport(Throwable exception,                                       ITestNGMethod method)

generateSuiteSummaryReport

public void generateSuiteSummaryReport(List<ISuite> suites)

writeStyle

protected void writeStyle(String[] formats,                          String[] targets)

startHtml

protected void startHtml(PrintWriter out)
Starts HTML stream


endHtml

protected void endHtml(PrintWriter out)
Finishes HTML stream



Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14