KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > modules > cart > AllTests


1 /*
2  * Created on Mar 24, 2004
3  */

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 /**
15  * @author cburkey
16  *
17  */

18 public class AllTests
19 {
20     
21     
22     public static Test suite()
23     {
24         TestSuite suite = new TestSuite("eCommerce Test");
25         //$JUnit-BEGIN$
26
String JavaDoc 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(AniaraConverterTest.class);
34
suite.addTestSuite(CatalogEditTest.class);
35         //suite.addTestSuite(AuthorizeNetOrderArchiveTest.class );
36
suite.addTest(com.openedit.store.AllTests.suite());
37         suite.addTestSuite(CartTest.class);
38         suite.addTestSuite(ImageResizerTest.class);
39         suite.addTestSuite(OrderExportTest.class);
40         //$JUnit-END$
41
return suite;
42     }
43 }
44
Popular Tags