Class EmailableReporter

  • All Implemented Interfaces:
    IReporter, ITestNGListener

    @Deprecated
    public class EmailableReporter
    extends java.lang.Object
    implements IReporter
    Deprecated.
    - This reporter is being deprecated in favour of the newer EmailableReporter2
    Reported designed to render self-contained HTML top down view of a testing suite.
    Since:
    5.2
    • Constructor Detail

      • EmailableReporter

        public EmailableReporter()
        Deprecated.
    • Method Detail

      • getFileName

        public java.lang.String getFileName()
        Deprecated.
      • setFileName

        public void setFileName​(java.lang.String fileName)
        Deprecated.
      • generateReport

        public void generateReport​(java.util.List<XmlSuite> xml,
                                   java.util.List<ISuite> suites,
                                   java.lang.String outdir)
        Deprecated.
        Creates summary of the run
        Specified by:
        generateReport in interface IReporter
        Parameters:
        xml - The list of XmlSuite
        suites - The list of ISuite
        outdir - The output directory
      • createWriter

        protected java.io.PrintWriter createWriter​(java.lang.String outdir)
                                            throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • generateMethodSummaryReport

        protected void generateMethodSummaryReport​(java.util.List<ISuite> suites)
        Deprecated.
        Creates a table showing the highlights of each test method with links to the method details
        Parameters:
        suites - The run suites
      • generateMethodDetailReport

        protected void generateMethodDetailReport​(java.util.List<ISuite> suites)
        Deprecated.
        Creates a section showing known results for each method
        Parameters:
        suites - All suites
      • generateExceptionReport

        protected void generateExceptionReport​(java.lang.Throwable exception)
        Deprecated.
      • generateSuiteSummaryReport

        public void generateSuiteSummaryReport​(java.util.List<ISuite> suites)
        Deprecated.
      • startHtml

        protected void startHtml​(java.io.PrintWriter out)
        Deprecated.
      • endHtml

        protected void endHtml​(java.io.PrintWriter out)
        Deprecated.