org.squashtest.csp.tm.domain.campaign
Class TestPlanStatistics

java.lang.Object
  extended by org.squashtest.csp.tm.domain.campaign.TestPlanStatistics

public class TestPlanStatistics
extends Object

Dto for Test-plan statistics
Properties :


Field Summary
static String TOTAL_NUMBER_OF_TEST_CASE_KEY
           
 
Constructor Summary
TestPlanStatistics()
           
TestPlanStatistics(Map<String,Integer> statisticValues)
           
 
Method Summary
 int getNbBlocked()
           
 int getNbDone()
           
 int getNbFailure()
           
 int getNbReady()
           
 int getNbRunning()
           
 int getNbSuccess()
           
 int getNbTestCases()
           
 int getNbUntestable()
           
 int getProgression()
           
 TestPlanStatus getStatus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOTAL_NUMBER_OF_TEST_CASE_KEY

public static final String TOTAL_NUMBER_OF_TEST_CASE_KEY
See Also:
Constant Field Values
Constructor Detail

TestPlanStatistics

public TestPlanStatistics()

TestPlanStatistics

public TestPlanStatistics(Map<String,Integer> statisticValues)
Method Detail

getNbTestCases

public int getNbTestCases()

getProgression

public int getProgression()

getNbSuccess

public int getNbSuccess()

getNbFailure

public int getNbFailure()

getNbUntestable

public int getNbUntestable()

getNbBlocked

public int getNbBlocked()

getNbReady

public int getNbReady()

getNbRunning

public int getNbRunning()

getStatus

public TestPlanStatus getStatus()

getNbDone

public int getNbDone()
Returns:
summ of Test-plan-items with status of "untestable", "blocked", "failure" or "success".
Nb : (success = success + warning) and (blocked = blocked + error)


Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.