1 20 21 package net.sourceforge.lightcrypto.test; 22 23 import junit.framework.Test; 24 import junit.framework.TestSuite; 25 26 36 37 public class RunTest { 38 39 public final static String TEMPFOLDER = "c:/temp/"; 40 41 46 public static Test suite() { 47 TestSuite suite = new TestSuite("net.sourceforge.lightcrypto"); 48 suite.addTestSuite(DigestTest.class); 49 suite.addTestSuite(KeyTest.class); 50 suite.addTestSuite(CryptTest.class); 51 suite.addTestSuite(HMacTest.class); 52 suite.addTestSuite(MacTest.class); 53 suite.addTestSuite(HsqldbTest.class); 54 return suite; 55 } 56 57 62 public static void main(String args[]) { 63 junit.textui.TestRunner.run(suite()); 64 } 65 } 66 | Popular Tags |