public class PowerEmailableReporter extends Object implements org.testng.IReporter
| 构造器和说明 |
|---|
PowerEmailableReporter() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected PrintWriter |
createWriter(String outdir)
Create writer print writer.
|
protected void |
endHtml(PrintWriter out)
Finishes HTML stream
|
protected void |
generateExceptionReport(Throwable exception,
org.testng.ITestNGMethod method)
Generate exception report.
|
protected void |
generateMethodDetailReport(List<org.testng.ISuite> suites)
Creates a section showing known results for each method
|
protected void |
generateMethodSummaryReport(List<org.testng.ISuite> suites)
Creates a table showing the highlights of each test method with links to
the method details
|
void |
generateReport(List<org.testng.xml.XmlSuite> xml,
List<org.testng.ISuite> suites,
String outdir)
Creates summary of the run
|
void |
generateSuiteSummaryReport(List<org.testng.ISuite> suites)
Generate suite summary report.
|
protected void |
startHtml(PrintWriter out)
Starts HTML stream
|
public void generateReport(List<org.testng.xml.XmlSuite> xml, List<org.testng.ISuite> suites, String outdir)
generateReport 在接口中 org.testng.IReporterprotected PrintWriter createWriter(String outdir) throws IOException
outdir - the outdirIOException - the io exceptionprotected void generateMethodSummaryReport(List<org.testng.ISuite> suites)
suites - the suitesprotected void generateMethodDetailReport(List<org.testng.ISuite> suites)
suites - the suitesprotected void generateExceptionReport(Throwable exception, org.testng.ITestNGMethod method)
exception - the exceptionmethod - the methodpublic void generateSuiteSummaryReport(List<org.testng.ISuite> suites)
suites - the suitesprotected void startHtml(PrintWriter out)
out - the outprotected void endHtml(PrintWriter out)
out - the outCopyright © 2016. All rights reserved.