fr.inria.peerunit.test.oracle
Class GlobalVerdict
java.lang.Object
fr.inria.peerunit.test.oracle.GlobalVerdict
public class GlobalVerdict
- extends java.lang.Object
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Eduardo Almeida
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GlobalVerdict
public GlobalVerdict(int i)
addLocalVerdict
public void addLocalVerdict(Verdicts localVerdict)
- Calculates the global verdict of a test suit.
Once verdict is
FAIL it will not have another verdict.
- Parameters:
localVerdict - is the current verdict.index - is the threshold of inclusive results accepted to get a correct (PASS) global verdict.- Since:
- 1.0
getGlobalVerdict
public Verdicts getGlobalVerdict()
- Returns the global verdict.
- Returns:
- the global verdict :
PASS, FAIL, INCONCLUSIVE, ERROR. - Since:
- 1.0
getJudged
public int getJudged()
- Returns the number of executed testers.
- Returns:
- the number of executed testers (passed, failed and inconclusive).
- Since:
- 1.0
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
putResult
public void putResult(MethodDescription md,
ResultSet rs)
getResultFor
public ResultSet getResultFor(MethodDescription md)
containsMethod
public boolean containsMethod(MethodDescription md)
Copyright © 2010. All Rights Reserved.