All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 task);

   public ITestPlan addAfterClass(ITask task);

   public ITestPlan addBefore(ITask task);

   public ITestPlan addBeforeClass(ITask 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