agenttestsuite.java
来自「关于 RFID 读写器的相关内容」· Java 代码 · 共 38 行
JAVA
38 行
package org.fosstrak.reader.rprm.core.mgmt.agent;
import junit.framework.Test;
import junit.framework.TestSuite;
/**
* Tests for package <code>org.fosstrak.reader.mgmt.agent</code>.
*/
public class AgentTestSuite {
/**
* Creates the test.
* @return The test
*/
public static Test suite() {
String className = AgentTestSuite.class.getName();
String packageName = className.substring(0, className.lastIndexOf('.'));
TestSuite suite = new TestSuite("Tests for package <" + packageName + ">");
//
// Add more tests here
//
return suite;
}
/**
* Runs the test suite using the gui runner.
* @param args No arguments
*/
public static void main(String[] args) {
junit.swingui.TestRunner.run(AgentTestSuite.class);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?