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.emultest;
17:
18: import com.google.gwt.emultest.java.lang.BooleanTest;
19: import com.google.gwt.emultest.java.lang.ByteTest;
20: import com.google.gwt.emultest.java.lang.CharacterTest;
21: import com.google.gwt.emultest.java.lang.DoubleTest;
22: import com.google.gwt.emultest.java.lang.IntegerTest;
23: import com.google.gwt.emultest.java.lang.ObjectTest;
24: import com.google.gwt.emultest.java.lang.ShortTest;
25: import com.google.gwt.emultest.java.lang.StringBufferTest;
26: import com.google.gwt.emultest.java.lang.StringTest;
27: import com.google.gwt.emultest.java.util.ArraysTest;
28: import com.google.gwt.emultest.java.util.DateTest;
29: import com.google.gwt.emultest.java.util.HashMapTest;
30: import com.google.gwt.emultest.java.util.HashSetTest;
31: import com.google.gwt.emultest.java.util.StackTest;
32:
33: import junit.framework.Test;
34: import junit.framework.TestSuite;
35:
36: /**
37: * TODO: document me.
38: */
39: public class EmulSuite {
40:
41: /** Note: due to compiler error, only can use one Test Case at a time. */
42: public static Test suite() {
43: TestSuite suite = new TestSuite(
44: "Tests for com.google.gwt.emul.java");
45:
46: // $JUnit-BEGIN$
47: suite.addTestSuite(ArraysTest.class);
48: suite.addTestSuite(BooleanTest.class);
49: suite.addTestSuite(ByteTest.class);
50: suite.addTestSuite(HashMapTest.class);
51: suite.addTestSuite(StringBufferTest.class);
52: suite.addTestSuite(StringTest.class);
53: suite.addTestSuite(CharacterTest.class);
54: suite.addTestSuite(StackTest.class);
55: suite.addTestSuite(IntegerTest.class);
56: // suite.addTestSuite(LongTest.class);
57: suite.addTestSuite(DoubleTest.class);
58: suite.addTestSuite(DateTest.class);
59: suite.addTestSuite(HashSetTest.class);
60: suite.addTestSuite(ObjectTest.class);
61: suite.addTestSuite(ShortTest.class);
62: // $JUnit-END$
63:
64: return suite;
65: }
66:
67: }
|