hudson.plugins.javatest_report
Class Report

java.lang.Object
  extended by hudson.plugins.javatest_report.TestObject<S>
      extended by hudson.plugins.javatest_report.TestCollection<Report,Suite>
          extended by hudson.plugins.javatest_report.Report
All Implemented Interfaces:
hudson.model.ModelObject

public final class Report
extends TestCollection<Report,Suite>

Root of the SQE test report.

A Report is a set of Suites.

Author:
Kohsuke Kawaguchi

Constructor Summary
Report(JavaTestAction owner)
           
 
Method Summary
 void add(java.io.File reportXml)
          Loads SQE report file into this Report object.
 java.lang.String getChildTitle()
          Returns the caption of the children.
 hudson.model.AbstractBuild getOwner()
           
 Report getPreviousResult()
          Gets the counter part of this TestObject in the previous run.
 
Methods inherited from class hudson.plugins.javatest_report.TestCollection
add, get, getChildren, getDynamic, getFailCount, getFailedTests, getPackages, getPackageTests, getSkippedCount, getSkippedTests, getTotalCount
 
Methods inherited from class hudson.plugins.javatest_report.TestObject
addAttribute, getAge, getDescription, getDisplayName, getFailedSince, getId, getName, getStatus, getStatusMessage, setDescription, setId, setName, setStatusString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Report

public Report(JavaTestAction owner)
Method Detail

getOwner

public hudson.model.AbstractBuild getOwner()
Overrides:
getOwner in class TestObject<Report>

getPreviousResult

public Report getPreviousResult()
Description copied from class: TestObject
Gets the counter part of this TestObject in the previous run.

Overrides:
getPreviousResult in class TestObject<Report>
Returns:
null if no such counter part exists.

add

public void add(java.io.File reportXml)
         throws java.io.IOException,
                org.xml.sax.SAXException
Loads SQE report file into this Report object.

Throws:
java.io.IOException
org.xml.sax.SAXException

getChildTitle

public java.lang.String getChildTitle()
Description copied from class: TestCollection
Returns the caption of the children. Used in the view.

Specified by:
getChildTitle in class TestCollection<Report,Suite>


Copyright © 2004-2011. All Rights Reserved.