1 4 package com.openedit.modules.cart; 5 6 import junit.framework.Test; 7 import junit.framework.TestSuite; 8 9 import com.openedit.modules.cart.editor.CatalogEditTest; 10 import com.openedit.store.convert.ExcelConverterTest; 11 import com.openedit.store.images.ImageResizerTest; 12 import com.openedit.store.orders.OrderExportTest; 13 14 18 public class AllTests 19 { 20 21 22 public static Test suite() 23 { 24 TestSuite suite = new TestSuite("eCommerce Test"); 25 String base = System.getProperty("oe.root.path"); 27 if ( base == null) 28 { 29 System.setProperty("oe.root.path","webapp"); 30 } 31 suite.addTest(com.openedit.store.retailproconvert.AllTests.suite()); 32 suite.addTestSuite(ExcelConverterTest.class); 33 suite.addTestSuite(CatalogEditTest.class); 35 suite.addTest(com.openedit.store.AllTests.suite()); 37 suite.addTestSuite(CartTest.class); 38 suite.addTestSuite(ImageResizerTest.class); 39 suite.addTestSuite(OrderExportTest.class); 40 return suite; 42 } 43 } 44 | Popular Tags |