1
2
3
4
5 package test.crispy;
6
7 import java.net.URL;
8
9 import junit.framework.Test;
10 import junit.framework.TestSuite;
11 import net.sf.crispy.util.Util;
12 import test.crispy.concurrent.ConcurrentTest;
13 import test.crispy.impl.AdditionalTest;
14 import test.crispy.impl.EjbServiceTest;
15 import test.crispy.impl.HttpServiceTest;
16 import test.crispy.impl.JBossRemotingServiceTest;
17 import test.crispy.impl.JaxRpcServiceTest;
18 import test.crispy.impl.RestServiceTest;
19 import test.crispy.impl.RmiServiceTest;
20 import test.crispy.impl.SimpleServiceTest;
21 import test.crispy.impl.StaticBurlapTest;
22 import test.crispy.impl.StaticCorbaProxyTest;
23 import test.crispy.impl.StaticHessianTest;
24 import test.crispy.impl.StaticRmiTest;
25 import test.crispy.impl.XmlRpcServiceTest;
26 import test.crispy.impl.caucho.CauchoTest;
27 import test.crispy.impl.http.SerializerTest;
28 import test.crispy.impl.proxy.DynamicProxyTest;
29 import test.crispy.impl.rest.ParameterDeserializerTest;
30 import test.crispy.impl.rest.ParameterSerializerTest;
31 import test.crispy.impl.rest.RestServletTest;
32 import test.crispy.properties.PropertiesLoaderTest;
33 import test.crispy.server.HttpServiceEndpointTest;
34 import test.crispy.server.MultiServiceContainerTest;
35 import test.crispy.server.ServiceEndpointTest;
36 import test.crispy.server.SingleServiceContainerTest;
37 import test.crispy.util.ClassPropertiesCacheTest;
38 import test.crispy.util.ConverterTest;
39 import test.crispy.util.GraphTest;
40 import test.crispy.util.InvokerTest;
41 import test.crispy.util.UtilTest;
42
43 /**
44 * @author Linke
45 *
46 */
47 public class AllTests {
48
49
50
51 public static Test suite () {
52
53
54 TestSuite lvSuite = new TestSuite();
55
56
57 URL lvUrl = lvSuite.getClass().getResource("/jdk14-no-logging.properties");
58 Util.initJdkLogger(lvUrl.getPath());
59
60
61
62
63
64
65 lvSuite.addTestSuite(ConverterTest.class);
66 lvSuite.addTestSuite(ClassPropertiesCacheTest.class);
67 lvSuite.addTestSuite(InvokerTest.class);
68 lvSuite.addTestSuite(UtilTest.class);
69 lvSuite.addTestSuite(GraphTest.class);
70
71
72 lvSuite.addTestSuite(ConcurrentTest.class);
73
74
75 lvSuite.addTestSuite(PropertiesLoaderTest.class);
76
77
78 lvSuite.addTestSuite(DynamicProxyTest.class);
79
80
81
82 lvSuite.addTestSuite(InvocationHandlerTest.class);
83 lvSuite.addTestSuite(InvocationStrategyTest.class);
84 lvSuite.addTestSuite(ExecutorDecoratorTest.class);
85 lvSuite.addTestSuite(ServiceManagerTest.class);
86 lvSuite.addTestSuite(ProxyDecoratorTest.class);
87 lvSuite.addTestSuite(InterceptorHandlerTest.class);
88 lvSuite.addTestSuite(InterceptorFilterTest.class);
89 lvSuite.addTestSuite(ExceptionWrapperTest.class);
90
91
92
93 lvSuite.addTestSuite(StaticHessianTest.class);
94 lvSuite.addTestSuite(StaticBurlapTest.class);
95 lvSuite.addTestSuite(EjbServiceTest.class);
96 lvSuite.addTestSuite(XmlRpcServiceTest.class);
97 lvSuite.addTestSuite(RmiServiceTest.class);
98 lvSuite.addTestSuite(JaxRpcServiceTest.class);
99 lvSuite.addTestSuite(StaticRmiTest.class);
100 lvSuite.addTestSuite(JBossRemotingServiceTest.class);
101 lvSuite.addTestSuite(SimpleServiceTest.class);
102 lvSuite.addTestSuite(RestServiceTest.class);
103 lvSuite.addTestSuite(HttpServiceTest.class);
104 lvSuite.addTestSuite(StaticCorbaProxyTest.class);
105
106 lvSuite.addTestSuite(AdditionalTest.class);
107
108 lvSuite.addTestSuite(CauchoTest.class);
109 lvSuite.addTestSuite(SerializerTest.class);
110
111
112 lvSuite.addTestSuite(RestServletTest.class);
113 lvSuite.addTestSuite(ParameterSerializerTest.class);
114 lvSuite.addTestSuite(ParameterDeserializerTest.class);
115
116
117 lvSuite.addTestSuite(ServiceEndpointTest.class);
118 lvSuite.addTestSuite(SingleServiceContainerTest.class);
119 lvSuite.addTestSuite(MultiServiceContainerTest.class);
120 lvSuite.addTestSuite(HttpServiceEndpointTest.class);
121
122
123 return lvSuite;
124 }
125 }