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.dev.jjs;
17:
18: import com.google.gwt.dev.jjs.test.AutoboxTest;
19: import com.google.gwt.dev.jjs.test.BlankInterfaceTest;
20: import com.google.gwt.dev.jjs.test.ClassCastTest;
21: import com.google.gwt.dev.jjs.test.ClassObjectTest;
22: import com.google.gwt.dev.jjs.test.CompilerTest;
23: import com.google.gwt.dev.jjs.test.CoverageTest;
24: import com.google.gwt.dev.jjs.test.EnhancedForLoopTest;
25: import com.google.gwt.dev.jjs.test.EnumsTest;
26: import com.google.gwt.dev.jjs.test.HostedTest;
27: import com.google.gwt.dev.jjs.test.InnerClassTest;
28: import com.google.gwt.dev.jjs.test.InnerOuterSuperTest;
29: import com.google.gwt.dev.jjs.test.MemberShadowingTest;
30: import com.google.gwt.dev.jjs.test.MethodBindTest;
31: import com.google.gwt.dev.jjs.test.MethodCallTest;
32: import com.google.gwt.dev.jjs.test.MethodInterfaceTest;
33: import com.google.gwt.dev.jjs.test.MiscellaneousTest;
34: import com.google.gwt.dev.jjs.test.NativeLongTest;
35: import com.google.gwt.dev.jjs.test.VarargsTest;
36:
37: import junit.framework.Test;
38: import junit.framework.TestSuite;
39:
40: /**
41: * The complete compiler suite.
42: */
43: public class CompilerSuite {
44:
45: public static Test suite() {
46: TestSuite suite = new TestSuite(
47: "Test for com.google.gwt.dev.jjs");
48:
49: // $JUnit-BEGIN$
50: suite.addTestSuite(AutoboxTest.class);
51: suite.addTestSuite(ClassCastTest.class);
52: suite.addTestSuite(ClassObjectTest.class);
53: suite.addTestSuite(CompilerTest.class);
54: suite.addTestSuite(CoverageTest.class);
55: suite.addTestSuite(EnhancedForLoopTest.class);
56: suite.addTestSuite(EnumsTest.class);
57: suite.addTestSuite(HostedTest.class);
58: suite.addTestSuite(InnerClassTest.class);
59: suite.addTestSuite(InnerOuterSuperTest.class);
60: suite.addTestSuite(MemberShadowingTest.class);
61: suite.addTestSuite(MethodBindTest.class);
62: suite.addTestSuite(MethodCallTest.class);
63: suite.addTestSuite(MethodInterfaceTest.class);
64: suite.addTestSuite(MiscellaneousTest.class);
65: suite.addTestSuite(NativeLongTest.class);
66: suite.addTestSuite(BlankInterfaceTest.class);
67: suite.addTestSuite(VarargsTest.class);
68: // $JUnit-END$
69:
70: return suite;
71: }
72:
73: }
|