alltests.java

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

JAVA
33
字号
package org.xmlBlaster.test.contrib.replication;import junit.framework.Test;import junit.framework.TestSuite;/** * TestSuite that runs all the sample tests.  * <pre> * java -Ddb.password=secret -Djava.compiler= org.xmlBlaster.test.contrib.replication.AllTests * java -Ddb.password=secret -Djava.compiler= junit.swingui.TestRunner -noloading org.xmlBlaster.test.contrib.replication.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 contrib.replication plugin tests");      suite.addTest(new TestSuite(org.xmlBlaster.test.contrib.replication.TestHelperClasses.class));      suite.addTest(new TestSuite(org.xmlBlaster.test.contrib.replication.TestDbBasics.class));      suite.addTest(new TestSuite(org.xmlBlaster.test.contrib.replication.TestSyncPart.class));      suite.addTest(new TestSuite(org.xmlBlaster.test.contrib.replication.TestDbSpecific.class));      suite.addTest(new TestSuite(org.xmlBlaster.test.contrib.replication.TestReplicationWriter.class));      suite.addTest(new TestSuite(org.xmlBlaster.test.contrib.replication.TestReplication.class));      return suite;   }   // To force compilation:   public void dummy() {      new TestDbSpecific(null);   }}

⌨️ 快捷键说明

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