636
|
1 |
package junit.framework;
|
|
2 |
|
|
3 |
/**
|
|
4 |
* A <em>Protectable</em> can be run and can throw a Throwable.
|
|
5 |
*
|
|
6 |
* @see TestResult
|
|
7 |
*/
|
|
8 |
public interface Protectable {
|
|
9 |
|
|
10 |
/**
|
|
11 |
* Run the the following method protected.
|
|
12 |
*/
|
|
13 |
public abstract void protect() throws Throwable;
|
|
14 |
} |