1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package net.sf.jameleon.event;
20
21
22 import java.util.EventListener;
23
24 /***
25 * A listener for Test Run events. A Test Run is the action of running one or tests
26 * through the GUI or the command line.
27 *
28 * Currently the following two events are tracked:
29 * <ul>
30 * <li>beginTestRun - gets called before any tests are run.</li>
31 * <li>endTestRun - gets called after all tests are executed.</li>
32 * </ul>
33 */
34 public interface TestRunListener extends EventListener{
35 /***
36 * Gets called before the execution of a test run
37 * @param event - a TestRunEvent Object
38 */
39 public void beginTestRun(TestRunEvent event);
40
41 /***
42 * Gets called after the execution of a test suite
43 * @param event - a TestRunEvent Object
44 */
45 public void endTestRun(TestRunEvent event);
46
47 }