1 24 package org.objectweb.jalisto.test.core.suite; 25 26 import junit.framework.Test; 27 import org.objectweb.jalisto.se.test.workbench.JalistoTestEngine; 28 import org.objectweb.jalisto.se.test.workbench.JalistoTestSuite; 29 import org.objectweb.jalisto.test.core.suite.BasicFunctionnalityTestCase; 30 import org.objectweb.jalisto.test.core.suite.ExtentTestCase; 31 import org.objectweb.jalisto.test.core.suite.InitStoreTestCase; 32 33 public class MainTestSuite extends JalistoTestSuite { 34 public static Test suite() { 35 JalistoTestSuite suite = new MainTestSuite(); 36 37 suite.addTest(InitStoreTestCase.suite()); 39 suite.addTest(PopulateTestCase.suite()); 40 suite.addTest(BasicFunctionnalityTestCase.suite()); 41 suite.addTest(RollbackTestCase.suite()); 42 suite.addTest(RestructureTestCase.suite()); 43 suite.addTest(MetaRepositoryTestCase.suite()); 44 suite.addTest(ExtentTestCase.suite()); 45 46 suite.addTest(MultiOptimisticTestCase.suite()); 47 48 51 return suite; 54 } 55 56 public static void main(String [] args) { 57 String lidoProperties = "jalisto.properties"; 58 if (args.length == 1) { 59 lidoProperties = args[0]; 60 } 61 String runtimeArgs[] = {"-v", "-nt", MainTestSuite.class.getName(), "-db", lidoProperties}; 62 JalistoTestEngine.main(runtimeArgs); 63 } 64 65 } 66 | Popular Tags |