org.squashtest.csp.tm.domain.campaign
Class TestPlanStatistics
java.lang.Object
org.squashtest.csp.tm.domain.campaign.TestPlanStatistics
public class TestPlanStatistics
- extends Object
Dto for Test-plan statistics
Properties :
- int nbTestCases
- int progression (number between 0 and 100)
- int nbSuccess = SUCCESS + WARNING
- int nbFailure
- int nbUntestable
- int nbBlocked = BLOCKED + ERROR
- int nbReady
- int nbRunning
- TestPlanStatus status
- int nbDone
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOTAL_NUMBER_OF_TEST_CASE_KEY
public static final String TOTAL_NUMBER_OF_TEST_CASE_KEY
- See Also:
- Constant Field Values
TestPlanStatistics
public TestPlanStatistics()
TestPlanStatistics
public TestPlanStatistics(Map<String,Integer> statisticValues)
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.