KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > junit > internal > Mediator


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.junit.internal;
8
9
10 import com.inversoft.junit.WebTestCase;
11
12
13 /**
14  * This interface describes the classes that will control the
15  * flow of the testing framework. This interface is used for
16  * both local and remote tests.
17  *
18  * @author Brian Pontarelli
19  * @since 2.0
20  * @version 2.0
21  */

22 public interface Mediator {
23
24     /**
25      * Conducts the test itself.
26      *
27      * @param testCase The test case to mediate the test on
28      * @throws Throwable If the test failed or something else went wrong
29      */

30     void mediate(WebTestCase testCase) throws Throwable JavaDoc;
31 }
32
Popular Tags