KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hudson > tasks > junit > TabulatedResult


1 package hudson.tasks.junit;
2
3 import java.util.Collection JavaDoc;
4
5 /**
6  * Cumulated result of multiple tests.
7  *
8  * @author Kohsuke Kawaguchi
9  */

10 public abstract class TabulatedResult extends TestObject {
11
12     /**
13      * Gets the human readable title of this result object.
14      */

15     public abstract String JavaDoc getTitle();
16
17     /**
18      * Gets the total number of passed tests.
19      */

20     public abstract int getPassCount();
21
22     /**
23      * Gets the total number of failed tests.
24      */

25     public abstract int getFailCount();
26
27     /**
28      * Gets the total number of tests.
29      */

30     public final int getTotalCount() {
31         return getPassCount()+getFailCount();
32     }
33
34     /**
35      * Gets the child test result objects.
36      */

37     public abstract Collection JavaDoc<?> getChildren();
38
39 }
40
Popular Tags