Class SuiteHTMLReporter

  • All Implemented Interfaces:
    IReporter, ITestNGListener

    @Deprecated
    public class SuiteHTMLReporter
    extends java.lang.Object
    implements IReporter
    Deprecated.
    - This reporter is deprecated as of TestNG 7.9.0 in favour of Main
    This class implements an HTML reporter for suites.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AFTER
      Deprecated.
      Generate information about the methods that were run
      static java.lang.String BEFORE
      Deprecated.
       
      static java.lang.String CLASSES
      Deprecated.
       
      static java.lang.String GROUPS
      Deprecated.
       
      static java.lang.String METHODS_ALPHABETICAL
      Deprecated.
       
      static java.lang.String METHODS_CHRONOLOGICAL
      Deprecated.
       
      static java.lang.String METHODS_NOT_RUN
      Deprecated.
       
      static java.lang.String REPORTER_OUTPUT
      Deprecated.
       
      static java.lang.String TESTNG_XML
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      SuiteHTMLReporter()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected java.lang.String generateOutputDirectoryName​(java.lang.String outputDirectory)
      Deprecated.
      Overridable by subclasses to create different directory names (e.g.
      void generateReport​(java.util.List<XmlSuite> xmlSuites, java.util.List<ISuite> suites, java.lang.String outputDirectory)
      Deprecated.
      Generate a report for the given suites into the specified output directory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • METHODS_CHRONOLOGICAL

        public static final java.lang.String METHODS_CHRONOLOGICAL
        Deprecated.
        See Also:
        Constant Field Values
      • METHODS_ALPHABETICAL

        public static final java.lang.String METHODS_ALPHABETICAL
        Deprecated.
        See Also:
        Constant Field Values
      • REPORTER_OUTPUT

        public static final java.lang.String REPORTER_OUTPUT
        Deprecated.
        See Also:
        Constant Field Values
      • METHODS_NOT_RUN

        public static final java.lang.String METHODS_NOT_RUN
        Deprecated.
        See Also:
        Constant Field Values
      • TESTNG_XML

        public static final java.lang.String TESTNG_XML
        Deprecated.
        See Also:
        Constant Field Values
      • AFTER

        public static final java.lang.String AFTER
        Deprecated.
        Generate information about the methods that were run
        See Also:
        Constant Field Values
    • Constructor Detail

      • SuiteHTMLReporter

        public SuiteHTMLReporter()
        Deprecated.
    • Method Detail

      • generateReport

        public void generateReport​(java.util.List<XmlSuite> xmlSuites,
                                   java.util.List<ISuite> suites,
                                   java.lang.String outputDirectory)
        Deprecated.
        Description copied from interface: IReporter
        Generate a report for the given suites into the specified output directory.
        Specified by:
        generateReport in interface IReporter
        Parameters:
        xmlSuites - The list of XmlSuite
        suites - The list of ISuite
        outputDirectory - The output directory
      • generateOutputDirectoryName

        protected java.lang.String generateOutputDirectoryName​(java.lang.String outputDirectory)
        Deprecated.
        Overridable by subclasses to create different directory names (e.g. with timestamps).
        Parameters:
        outputDirectory - the output directory specified by the user
        Returns:
        the name of the output directory of the report