aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/junit/framework/Protectable.java
blob: 9f30b102da33db78b27dc9cf0d9b35dbefc36cd6 (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;
}