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

holmos.webtest.junitextentions.annotations.Timesout Maven / Gradle / Ivy

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

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 作用于测试类的注解,单位秒也就是说最低为1s,用来限定测试类的执行时间限制,如果不设置的话,那么默认全部执行完才会退出
 * 
 * @author 吴银龙([email protected])
 * */

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Timesout {
	int value() default 1;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy