01: /*
02: * Copyright 2007 Google Inc.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
05: * use this file except in compliance with the License. You may obtain a copy of
06: * the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13: * License for the specific language governing permissions and limitations under
14: * the License.
15: */
16: package com.google.gwt.user;
17:
18: import com.google.gwt.user.client.rpc.CollectionsTest;
19: import com.google.gwt.user.client.rpc.CustomFieldSerializerTest;
20: import com.google.gwt.user.client.rpc.EnumsTest;
21: import com.google.gwt.user.client.rpc.InheritanceTest;
22: import com.google.gwt.user.client.rpc.ObjectGraphTest;
23: import com.google.gwt.user.client.rpc.UnicodeEscapingTest;
24: import com.google.gwt.user.client.rpc.ValueTypesTest;
25: import com.google.gwt.user.rebind.rpc.SerializableTypeOracleBuilderTest;
26: import com.google.gwt.user.server.rpc.RPCTest;
27: import com.google.gwt.user.server.rpc.SerializationPolicyLoaderTest;
28: import com.google.gwt.user.server.rpc.impl.LegacySerializationPolicyTest;
29: import com.google.gwt.user.server.rpc.impl.StandardSerializationPolicyTest;
30:
31: import junit.framework.Test;
32: import junit.framework.TestSuite;
33:
34: /**
35: * A collection of TestCases for the RPC system.
36: */
37: public class RPCSuite {
38: public static Test suite() {
39: TestSuite suite = new TestSuite(
40: "Test for com.google.gwt.user.client.rpc");
41:
42: suite.addTestSuite(SerializableTypeOracleBuilderTest.class);
43: suite.addTestSuite(RPCTest.class);
44: suite.addTestSuite(ValueTypesTest.class);
45: suite.addTestSuite(EnumsTest.class);
46: suite.addTestSuite(InheritanceTest.class);
47: suite.addTestSuite(CollectionsTest.class);
48: suite.addTestSuite(CustomFieldSerializerTest.class);
49: suite.addTestSuite(ObjectGraphTest.class);
50: suite
51: .addTestSuite(com.google.gwt.user.client.rpc.RemoteServiceServletTest.class);
52: suite
53: .addTestSuite(com.google.gwt.user.server.rpc.RemoteServiceServletTest.class);
54: suite.addTestSuite(UnicodeEscapingTest.class);
55: suite.addTestSuite(LegacySerializationPolicyTest.class);
56: suite.addTestSuite(StandardSerializationPolicyTest.class);
57: suite.addTestSuite(SerializationPolicyLoaderTest.class);
58:
59: return suite;
60: }
61: }
|