1 package junitx.example.listener; 2 3 import java.util.Properties ; 4 5 import junit.framework.Test; 6 import junit.framework.TestResult; 7 import junitx.runner.listener.AbstractRunListener; 8 9 15 public class VoidRunListener extends AbstractRunListener { 16 17 public void init(Properties 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 t) { 36 } 37 38 public void testError(Test test, TestResult result, Throwable t) { 39 } 40 41 public void testSuccess(Test test, TestResult result) { 42 } 43 44 } 45 | Popular Tags |