KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > junitx > example > listener > VoidRunListener


1 package junitx.example.listener;
2
3 import java.util.Properties JavaDoc;
4
5 import junit.framework.Test;
6 import junit.framework.TestResult;
7 import junitx.runner.listener.AbstractRunListener;
8
9 /**
10  * This lazy listener does simply nothing.
11  *
12  * @version $Revision: 1.3 $, $Date: 2003/05/08 02:51:16 $
13  * @author <a HREF="mailto:vbossica@users.sourceforge.net">Vladimir Ritz Bossicard</a>
14  */

15 public class VoidRunListener extends AbstractRunListener {
16
17     public void init(Properties JavaDoc props) {
18     }
19
20     public void runStarted(Test test, long time) {
21     }
22
23     public void runStopped(Test test, long duration) {
24     }
25
26     public void runEnded(Test test, TestResult result, long duration) {
27     }
28
29     public void testIgnored(Test test) {
30     }
31     
32     public void testStarted(Test test, TestResult result) {
33     }
34
35     public void testFailure(Test test, TestResult result, Throwable JavaDoc t) {
36     }
37
38     public void testError(Test test, TestResult result, Throwable JavaDoc t) {
39     }
40
41     public void testSuccess(Test test, TestResult result) {
42     }
43
44 }
45
Popular Tags