alltests.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 29 行

JAVA
29
字号
package org.xmlBlaster.test.stress;import junit.framework.*;/** * TestSuite that runs all the sample tests.  * <pre> * java -Xms18M -Xmx256M -Djava.compiler= org.xmlBlaster.test.stress.AllTests * java -Xms18M -Xmx256M -Djava.compiler= junit.swingui.TestRunner -noloading org.xmlBlaster.test.stress.AllTests * </pre> */public class AllTests {   public static void main (String[] args) {      junit.textui.TestRunner.run (suite());   }   public static Test suite() {      TestSuite suite= new TestSuite("All xmlBlaster stress tests");      suite.addTest(new TestSuite(org.xmlBlaster.test.stress.LoadTestSub.class));      suite.addTest(new TestSuite(org.xmlBlaster.test.stress.RamTest.class));      suite.addTest(new TestSuite(org.xmlBlaster.test.stress.BigMessage.class));      suite.addTest(new TestSuite(org.xmlBlaster.test.stress.MassiveSubTest.class));      return suite;   }   // To force compilation:   public void dummy() {      new BigMessage("BigMessage");    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?