blob: 49e051c53a9b7a33235942fdc154d40fdf5bd82d [file] [log] [blame]
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.gwt.core;
import com.google.gwt.core.client.GWTTest;
import com.google.gwt.core.client.GwtServletBaseTest;
import com.google.gwt.core.client.JavaScriptExceptionTest;
import com.google.gwt.core.client.JavaScriptObjectTest;
import com.google.gwt.core.client.JsArrayMixedTest;
import com.google.gwt.core.client.JsArrayTest;
import com.google.gwt.core.client.JsIdentityTest;
import com.google.gwt.core.client.JsonUtilsTest;
import com.google.gwt.core.client.SchedulerTest;
import com.google.gwt.core.client.ScriptInjectorTest;
import com.google.gwt.core.client.WindowOnErrorTest;
import com.google.gwt.core.client.impl.ImplTest;
import com.google.gwt.core.client.impl.SchedulerImplTest;
import com.google.gwt.core.client.impl.StackTraceCreatorCollectorTest;
import com.google.gwt.core.client.impl.StackTraceDevTest;
import com.google.gwt.core.client.impl.StackTraceEmulTest;
import com.google.gwt.core.client.impl.StackTraceNativeTest;
import com.google.gwt.core.client.impl.StackTraceStripTest;
import com.google.gwt.core.shared.SerializableThrowableTest;
import com.google.gwt.junit.tools.GWTTestSuite;
import junit.framework.Test;
/**
* All core tests that use GWTTestCase.
*/
public class CoreSuite {
public static Test suite() {
GWTTestSuite suite = new GWTTestSuite("All core tests");
suite.addTestSuite(GwtServletBaseTest.class);
suite.addTestSuite(GWTTest.class);
suite.addTestSuite(ImplTest.class);
suite.addTestSuite(JavaScriptExceptionTest.class);
suite.addTestSuite(JavaScriptObjectTest.class);
suite.addTestSuite(JsIdentityTest.class);
suite.addTestSuite(JsArrayTest.class);
suite.addTestSuite(JsArrayMixedTest.class);
suite.addTestSuite(JsonUtilsTest.class);
suite.addTestSuite(SchedulerImplTest.class);
suite.addTestSuite(SchedulerTest.class);
suite.addTestSuite(ScriptInjectorTest.class);
suite.addTestSuite(SerializableThrowableTest.class);
suite.addTestSuite(StackTraceCreatorCollectorTest.class);
suite.addTestSuite(StackTraceDevTest.class);
suite.addTestSuite(StackTraceEmulTest.class);
suite.addTestSuite(StackTraceNativeTest.class);
suite.addTestSuite(StackTraceStripTest.class);
suite.addTestSuite(WindowOnErrorTest.class);
// Uncomment to print native stack traces for different platforms
// suite.addTestSuite(com.google.gwt.core.client.impl.StackTraceGenerator.class);
return suite;
}
}