Class HTMLReport

java.lang.Object
com.sun.javatest.report.HTMLReport

public class HTMLReport extends Object
HTML format of the report.
  • Field Details

    • reportCharset

      protected Charset reportCharset
      The charset to request for the report output. Defaulted to UTF-8, if this is not available at runtime, code will use the default charset provided by the runtime.
      See Also:
      • Charset.defaultCharset
    • DEFAULT_CHARSET

      protected String DEFAULT_CHARSET
      Default charset to use. This is checked against the runtime availability before being used.
  • Constructor Details

    • HTMLReport

      public HTMLReport()
  • Method Details

    • getReportFilenames

      public static String[] getReportFilenames()
      Gets the standard report file name used in JT Harness. Note that this returns the file names which are used for the main report only, not the aux. HTML files.
      Returns:
      The report name.
    • getFile

      public static String getFile(int code)
      Gets the file name based one the input code.
      Parameters:
      code - The code name for the file.
      Returns:
      The file name.
    • write

      public com.sun.javatest.report.ReportFormat.ReportLink write(ReportSettings repSettings, File dir) throws IOException
      Throws:
      IOException
    • getReportID

      public String getReportID()
    • getBaseDirName

      public String getBaseDirName()
    • getTypeName

      public String getTypeName()
    • acceptSettings

      public boolean acceptSettings(ReportSettings s)
    • getSubReports

      public List<com.sun.javatest.report.ReportFormat> getSubReports()
    • setResults

      public void setResults(List<TreeSet<TestResult>> results)
    • setKflData

      public void setKflData(KflSorter s)