01: package org.mockejb.test;
02:
03: import org.mockejb.test.entity.BMPEntityBeanTest;
04: import org.mockejb.test.entity.EntityBeanTest;
05:
06: import junit.framework.Test;
07: import junit.framework.TestSuite;
08:
09: /**
10: * Suite with all MockEjb tests
11: *
12: * @author Alexander Ananiev
13: */
14: public class AllTests {
15:
16: public static Test suite() {
17: TestSuite suite = new TestSuite("MockEjb tests");
18:
19: // Tests for other packages
20: suite.addTestSuite(org.mockejb.jndi.MockContextTest.class);
21: suite
22: .addTestSuite(org.mockejb.test.EntityBeanSubclassTest.class);
23: suite.addTest(org.mockejb.interceptor.test.AllTests.suite());
24:
25: // "integration" tests
26: suite.addTestSuite(HelloWorldTest.class);
27: suite.addTestSuite(FundamentalsTest.class);
28: suite.addTestSuite(MDBTest.class);
29: suite.addTestSuite(JdbcAndTransactionTest.class);
30: suite.addTestSuite(StatefulTest.class);
31: // Entity tests
32: suite.addTestSuite(EntityBeanTest.class);
33: suite.addTestSuite(BMPEntityBeanTest.class);
34:
35: return suite;
36: }
37: }
|