
org.unidal.eunit.testfwk.spi.ITestPlan Maven / Gradle / Ivy
package org.unidal.eunit.testfwk.spi;
import java.lang.reflect.Method;
import org.unidal.eunit.model.entity.EunitMethod;
import org.unidal.eunit.testfwk.spi.task.ITask;
import org.unidal.eunit.testfwk.spi.task.ITaskType;
import org.unidal.eunit.testfwk.spi.task.ValveMap;
public interface ITestPlan {
public ITestPlan addAfter(ITask extends ITaskType> task);
public ITestPlan addAfterClass(ITask extends ITaskType> task);
public ITestPlan addBefore(ITask extends ITaskType> task);
public ITestPlan addBeforeClass(ITask extends ITaskType> task);
public ITestPlan addDeferredAction(IDeferredAction action);
public ITestPlan addTestCase(EunitMethod eunitMethod, ITestCase testCase);
public void bindTo(ITestClassRunner runner);
public void executeDeferredActions();
public ValveMap getCaseValveMap();
public ValveMap getClassValveMap();
public ITestCase getTestCase(Method method);
public static interface IDeferredAction {
public void execute();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy