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