performancetestmethod.java
来自「Java mulitplayer strategy game. Adaptati」· Java 代码 · 共 33 行
JAVA
33 行
/*
* Created on 2005-09-23
* $Id: PerformanceTestMethod.java,v 1.1 2005/09/27 21:11:13 macx2k Exp $
*/
package net.sf.jawp.util.test;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation used for selecting test method in performance test case.
* @author maciek
* @version $Revision: 1.1 $
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface PerformanceTestMethod
{
/**
* You can put comment for your test method here if
* you wish.
*/
String comment() default "";
/**
* How long (in ms) will test runner try to execute test
* method.
*/
long time() default 1000L;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?