| Paul Duffin | cd7c34d | 2016-12-12 16:35:36 +0000 | [diff] [blame] | 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 | } | ||||