1 package org.xmlBlaster.test.stress;
2
3 import junit.framework.*;
4
5 /**
6 * TestSuite that runs all the sample tests.
7 * <pre>
8 * java -Xms18M -Xmx256M -Djava.compiler= org.xmlBlaster.test.stress.AllTests
9 * java -Xms18M -Xmx256M -Djava.compiler= junit.swingui.TestRunner -noloading org.xmlBlaster.test.stress.AllTests
10 * </pre>
11 */
12 public class AllTests {
13 public static void main (String[] args) {
14 junit.textui.TestRunner.run (suite());
15 }
16 public static Test suite() {
17 TestSuite suite= new TestSuite("All xmlBlaster stress tests");
18 suite.addTest(new TestSuite(org.xmlBlaster.test.stress.LoadTestSub.class));
19 suite.addTest(new TestSuite(org.xmlBlaster.test.stress.RamTest.class));
20 suite.addTest(new TestSuite(org.xmlBlaster.test.stress.BigMessage.class));
21 suite.addTest(new TestSuite(org.xmlBlaster.test.stress.MassiveSubTest.class));
22 return suite;
23 }
24 // To force compilation:
25 public void dummy() {
26 new BigMessage("BigMessage");
27 }
28 }
syntax highlighted by Code2HTML, v. 0.9.1