/******************************************************************************* * 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.seam.config.ui.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.seam.config.core.test.SeamConfigTestSetup; public class CdiSeamConfigUIAllTests { 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 Config UI Tests"); TestSuite suiteConfig = new TestSuite("CDI Seam Config UI Tests"); suiteConfig.addTestSuite(SeamConfigContentAssistTest.class); suiteAll.addTest(new SeamConfigTestSetup(suiteConfig)); return suiteAll; } }