mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
need to compute duration (#1063)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6375 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
3d562a179f
commit
0d8533c917
1 file changed
+2
@@ -84,10 +84,12 @@ public final class ClassResult extends TabulatedResult implements Comparable<Cla
|
||||
|
||||
void freeze() {
|
||||
passCount=failCount=0;
|
||||
duration=0;
|
||||
for (CaseResult r : cases) {
|
||||
r.setClass(this);
|
||||
if(r.isPassed()) passCount++;
|
||||
else failCount++;
|
||||
duration += r.getDuration();
|
||||
}
|
||||
Collections.sort(cases);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user