/******************************************************************************* * Copyright (c) 2009 Red Hat, Inc. * Distributed under license by Red Hat, Inc. All rights reserved. * This program is 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: * Red Hat, Inc. - initial API and implementation ******************************************************************************/ package org.jboss.tools.cdi.text.ext.test; import junit.framework.Test; import junit.framework.TestSuite; import org.eclipse.jdt.internal.core.JavaModelManager; import org.eclipse.wst.validation.ValidationFramework; import org.jboss.tools.cdi.core.test.CDICoreTestSetup; public class CdiTextExtAllTests { public static Test suite() { // it could be done here because it is not needed to be enabled back JavaModelManager.getIndexManager().disable(); ValidationFramework.getDefault().suspendAllValidation(true); TestSuite suiteAll = new TestSuite("CDI Text Ext Tests"); TestSuite suite = new TestSuite("CDI OpenOns Tests"); suite.addTestSuite(AssignableBeansDialogTest.class); suite.addTestSuite(InjectedPointHyperlinkDetectorTest.class); suite.addTestSuite(ProducerDisposerHyperlinkDetectorTest.class); suite.addTestSuite(EventAndObserverMethodHyperlinkDetectorTest.class); suite.addTestSuite(BeansXmlHyperLinkTest.class); suiteAll.addTest(new CDICoreTestSetup(suite)); return suiteAll; } }