org.easetech.easytest.reports.data
Class ReportTotalsBean

java.lang.Object
  extended by org.easetech.easytest.reports.data.ReportTotalsBean
All Implemented Interfaces:
Serializable

public class ReportTotalsBean
extends Object
implements Serializable

This class contains the totals of a set of tests

Author:
gpcmol
See Also:
Serialized Form

Constructor Summary
ReportTotalsBean()
           
 
Method Summary
 void addException()
           
 void addException(long exception)
           
 void addFailed()
           
 void addFailed(long failed)
           
 void addPassed()
           
 void addPassed(long passed)
           
 Long getException()
           
 Long getFailed()
           
 String getItem()
           
 Long getPassed()
           
 Double getPercentageException()
          Percentage of tests exception
 Double getPercentageFailed()
          Percentage of tests failed
 Double getPercentagePassed()
          Percentage of tests passed
 Long getTotal()
          passed + failed + exception
 BufferedImage getTotalsGraph()
           
 void setException(Long exception)
           
 void setFailed(Long failed)
           
 void setItem(String item)
           
 void setPassed(Long passed)
           
 void setTotalsGraph(BufferedImage totalsGraph)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportTotalsBean

public ReportTotalsBean()
Method Detail

getItem

public String getItem()

setItem

public void setItem(String item)

getPassed

public Long getPassed()

setPassed

public void setPassed(Long passed)

addPassed

public void addPassed()

addPassed

public void addPassed(long passed)

getFailed

public Long getFailed()

setFailed

public void setFailed(Long failed)

addFailed

public void addFailed()

addFailed

public void addFailed(long failed)

getException

public Long getException()

setException

public void setException(Long exception)

addException

public void addException()

addException

public void addException(long exception)

getTotalsGraph

public BufferedImage getTotalsGraph()

setTotalsGraph

public void setTotalsGraph(BufferedImage totalsGraph)

getTotal

public Long getTotal()
passed + failed + exception


getPercentagePassed

public Double getPercentagePassed()
Percentage of tests passed

Returns:

getPercentageFailed

public Double getPercentageFailed()
Percentage of tests failed

Returns:

getPercentageException

public Double getPercentageException()
Percentage of tests exception

Returns:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.