1b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot/** 2b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot * 3b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot */ 4b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabotpackage org.junit.runners.model; 5b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot 6b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot 7b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot/** 8b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot * Represents one or more actions to be taken at runtime in the course 9b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot * of running a JUnit test suite. 10b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot */ 11b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabotpublic abstract class Statement { 12b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot /** 13b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot * Run the action, throwing a {@code Throwable} if anything goes wrong. 14b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot */ 15b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot public abstract void evaluate() throws Throwable; 16b3823db9f1192d8c81345740b3e65bd6738ba55bBrett Chabot}