org.openqa.selenium.server.htmlrunner
Class HTMLTestResults

java.lang.Object
  extended by org.openqa.selenium.server.htmlrunner.HTMLTestResults

public class HTMLTestResults
extends Object

A data model class for the results of the Selenium HTMLRunner (aka TestRunner, FITRunner)

Author:
Darren Cotterill, Ajit George

Constructor Summary
HTMLTestResults(String postedSeleniumVersion, String postedSeleniumRevision, String postedResult, String postedTotalTime, String postedNumTestTotal, String postedNumTestPasses, String postedNumTestFailures, String postedNumCommandPasses, String postedNumCommandFailures, String postedNumCommandErrors, String postedSuite, List<String> postedTestTables, String postedLog)
           
 
Method Summary
 String getNumCommandErrors()
           
 String getNumCommandFailures()
           
 String getNumCommandPasses()
           
 String getNumTestFailures()
           
 String getNumTestPasses()
           
 int getNumTotalTests()
           
 String getResult()
           
 Collection getTestTables()
           
 String getTotalTime()
           
static String quoteCharacters(String s)
           
 void write(Writer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLTestResults

public HTMLTestResults(String postedSeleniumVersion,
                       String postedSeleniumRevision,
                       String postedResult,
                       String postedTotalTime,
                       String postedNumTestTotal,
                       String postedNumTestPasses,
                       String postedNumTestFailures,
                       String postedNumCommandPasses,
                       String postedNumCommandFailures,
                       String postedNumCommandErrors,
                       String postedSuite,
                       List<String> postedTestTables,
                       String postedLog)
Method Detail

getResult

public String getResult()

getNumCommandErrors

public String getNumCommandErrors()

getNumCommandFailures

public String getNumCommandFailures()

getNumCommandPasses

public String getNumCommandPasses()

getNumTestFailures

public String getNumTestFailures()

getNumTestPasses

public String getNumTestPasses()

getTestTables

public Collection getTestTables()

getTotalTime

public String getTotalTime()

getNumTotalTests

public int getNumTotalTests()

write

public void write(Writer out)
           throws IOException
Throws:
IOException

quoteCharacters

public static String quoteCharacters(String s)


Copyright © 2012. All Rights Reserved.