blob: 4a8c4e074f304bdb028579b47b1614c72bfa3b7c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.jsp.ui.tests;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.eclipse.jst.jsp.ui.tests.contentassist.BeanInfoProviderTest;
import org.eclipse.jst.jsp.ui.tests.contentassist.JSPJavaTranslatorTest;
import org.eclipse.jst.jsp.ui.tests.contentassist.JSPTranslationTest;
import org.eclipse.jst.jsp.ui.tests.document.FileBufferDocumentTester;
import org.eclipse.jst.jsp.ui.tests.modelquery.ModelQueryTester;
import org.eclipse.jst.jsp.ui.tests.other.PreferencesTest;
import org.eclipse.jst.jsp.ui.tests.other.ScannerUnitTests;
import org.eclipse.jst.jsp.ui.tests.other.UnitTests;
import org.eclipse.jst.jsp.ui.tests.pagedirective.TestPageDirective;
import org.eclipse.jst.jsp.ui.tests.partitioning.TestStructuredPartitioner;
import org.eclipse.jst.jsp.ui.tests.registry.AdapterFactoryRegistryTest;
public class JSPUITestSuite extends TestSuite {
public static Test suite() {
return new JSPUITestSuite();
}
public JSPUITestSuite() {
super("SSE JSP UI Test Suite");
//addTest(OtherTests.suite());
addTest(new TestSuite(PreferencesTest.class, "PreferencesTest"));
addTest(new TestSuite(ScannerUnitTests.class, "ScannerUnitTests"));
addTest(new TestSuite(UnitTests.class, "UnitTests"));
addTest(new TestSuite(TestStructuredPartitioner.class, "TestStructuredPartioner"));
addTest(new TestSuite(ModelQueryTester.class, "ModelQueryTester"));
addTest(new TestSuite(JSPJavaTranslatorTest.class, "JSPJavaTranslatorTest"));
addTest(new TestSuite(TestEmailNotice.class, "TestEmailNotice"));
addTest(new TestSuite(BeanInfoProviderTest.class, "BeanInfoProviderTest"));
addTest(new TestSuite(JSPTranslationTest.class, "JSPTranslationTest"));
addTest(new TestSuite(AdapterFactoryRegistryTest.class, "AdapterFactoryRegistryText"));
// moved from jsp core tests because they require UI
addTest(new TestSuite(TestPageDirective.class));
addTest(new TestSuite(FileBufferDocumentTester.class));
addTest(new TestSuite(TestModelClone.class));
// pa_TODO fix this test
//addTest(new TestSuite(JSPSearchTests.class));
}
}