| /******************************************************************************* |
| * Copyright (c) 2009, 2013 Tasktop Technologies and others. |
| * |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * https://www.eclipse.org/legal/epl-2.0 |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Tasktop Technologies - initial API and implementation |
| *******************************************************************************/ |
| |
| package org.eclipse.mylyn.discovery.tests; |
| |
| import junit.framework.Test; |
| import junit.framework.TestSuite; |
| |
| import org.eclipse.mylyn.commons.sdk.util.TestConfiguration; |
| import org.eclipse.mylyn.discovery.tests.core.BundleDiscoveryStrategyTest; |
| import org.eclipse.mylyn.discovery.tests.core.ConnectorDiscoveryRemoteTest; |
| import org.eclipse.mylyn.discovery.tests.core.ConnectorDiscoveryTest; |
| import org.eclipse.mylyn.discovery.tests.core.DirectoryParserTest; |
| import org.eclipse.mylyn.discovery.tests.core.RemoteBundleDiscoveryStrategyTest; |
| import org.eclipse.mylyn.discovery.tests.core.util.WebUtilTest; |
| |
| /** |
| * @author Steffen Pingel |
| */ |
| public class AllDiscoveryTests { |
| |
| public static Test suite() { |
| return suite(TestConfiguration.getDefault()); |
| } |
| |
| public static Test suite(TestConfiguration configuration) { |
| TestSuite suite = new TestSuite(AllDiscoveryTests.class.getName()); |
| suite.addTestSuite(ConnectorDiscoveryTest.class); |
| suite.addTestSuite(DirectoryParserTest.class); |
| suite.addTestSuite(BundleDiscoveryStrategyTest.class); |
| suite.addTestSuite(WebUtilTest.class); |
| if (!configuration.isLocalOnly()) { |
| suite.addTestSuite(RemoteBundleDiscoveryStrategyTest.class); |
| suite.addTestSuite(ConnectorDiscoveryRemoteTest.class); |
| } |
| return suite; |
| } |
| |
| } |