summaryrefslogtreecommitdiffstats
path: root/junit4/src/main/java/junit/framework/Protectable.java
blob: e1432370cfaf2685241c8d6899584554626227ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package junit.framework;

/**
 * A <em>Protectable</em> can be run and can throw a Throwable.
 *
 * @see TestResult
 */
public interface Protectable {

	/**
	 * Run the the following method protected.
	 */
	public abstract void protect() throws Throwable;
}