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

holmos.webtest.junitextentions.excute.ExcuteThread Maven / Gradle / Ivy

There is a newer version: 1.0.2u10
Show newest version
package holmos.webtest.junitextentions.excute;

import holmos.webtest.junitextentions.parameters.HolmosFrameWorkMethod;

import java.util.ArrayList;

import org.junit.runner.notification.RunNotifier;

/**
 * 并行方法执行器
 * 
 * @author 吴银龙([email protected])
 * */
public class ExcuteThread extends Thread{
	private MethodRunner methodRunner;
	private HolmosFrameWorkMethod method;
	public ExcuteThread(HolmosFrameWorkMethod method,Object target,ArrayListparameters,RunNotifier notifier){
		this.methodRunner=new MethodRunner(method, target, parameters,notifier);
		this.method=method;
	}
	@Override
	public void run(){
		methodRunner.runHolmosMethod();
		this.method.setExecuted();
	}
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy