Remove some test suites.
Some of them are causing tests to be executed twice. Others are just
noise as surefire finds and executes the tests even without the suite.
Change-Id: I95c1083e1ab70e774705eb969ddb908745e6050a
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/c/linuxtools/org.eclipse.linuxtools/+/176414
diff --git a/javadocs/org.eclipse.linuxtools.javadocs.tests/pom.xml b/javadocs/org.eclipse.linuxtools.javadocs.tests/pom.xml
index a67752c..65c2d8f 100644
--- a/javadocs/org.eclipse.linuxtools.javadocs.tests/pom.xml
+++ b/javadocs/org.eclipse.linuxtools.javadocs.tests/pom.xml
@@ -31,12 +31,6 @@
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
- <excludes>
- <!-- test mojo matches TestProject be default and treats it as PojoTest -->
- <exclude>**/Test*.class</exclude>
- </excludes>
- <testSuite>org.eclipse.linuxtools.javadocs.tests</testSuite>
- <testClass>org.eclipse.linuxtools.javadocs.test.AllTests</testClass>
<useUIHarness>true</useUIHarness>
<useUIThread>true</useUIThread>
<product>org.eclipse.platform.ide</product>
diff --git a/javadocs/org.eclipse.linuxtools.javadocs.tests/src/org/eclipse/linuxtools/javadocs/test/AllTests.java b/javadocs/org.eclipse.linuxtools.javadocs.tests/src/org/eclipse/linuxtools/javadocs/test/AllTests.java
deleted file mode 100644
index 0ac3fa3..0000000
--- a/javadocs/org.eclipse.linuxtools.javadocs.tests/src/org/eclipse/linuxtools/javadocs/test/AllTests.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2015, 2018 Red Hat Inc. and others.
- *
- * This program and the accompanying materials are made
- * available under the terms of the Eclipse Public License 2.0
- * which is available at https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *******************************************************************************/
-package org.eclipse.linuxtools.javadocs.test;
-
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-import org.junit.runners.Suite.SuiteClasses;
-
-/**
- * Run this suite as JUnit plug-in test.
- *
- */
-@RunWith(Suite.class)
-@SuiteClasses({
- CheckJavadoc.class,
- }
-)
-
-public class AllTests {
- // Empty
-}
diff --git a/javadocs/org.eclipse.linuxtools.javadocs.tests/src/org/eclipse/linuxtools/javadocs/test/CheckJavadoc.java b/javadocs/org.eclipse.linuxtools.javadocs.tests/src/org/eclipse/linuxtools/javadocs/test/CheckJavadocTest.java
similarity index 98%
rename from javadocs/org.eclipse.linuxtools.javadocs.tests/src/org/eclipse/linuxtools/javadocs/test/CheckJavadoc.java
rename to javadocs/org.eclipse.linuxtools.javadocs.tests/src/org/eclipse/linuxtools/javadocs/test/CheckJavadocTest.java
index 4a1f31b..4ca7356 100644
--- a/javadocs/org.eclipse.linuxtools.javadocs.tests/src/org/eclipse/linuxtools/javadocs/test/CheckJavadoc.java
+++ b/javadocs/org.eclipse.linuxtools.javadocs.tests/src/org/eclipse/linuxtools/javadocs/test/CheckJavadocTest.java
@@ -27,7 +27,7 @@
import org.eclipse.linuxtools.internal.javadocs.ui.preferences.PreferenceConstants;
import org.junit.Test;
-public class CheckJavadoc {
+public class CheckJavadocTest {
/**
* Create a valid Toc (topic contribution) using JavaDocTocProvider. A valid Toc
diff --git a/libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests/src/org/eclipse/linuxtools/cdt/libhover/devhelp/test/AllTests.java b/libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests/src/org/eclipse/linuxtools/cdt/libhover/devhelp/test/AllTests.java
index f907dc9..4574211 100644
--- a/libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests/src/org/eclipse/linuxtools/cdt/libhover/devhelp/test/AllTests.java
+++ b/libhover/org.eclipse.linuxtools.cdt.libhover.devhelp.tests/src/org/eclipse/linuxtools/cdt/libhover/devhelp/test/AllTests.java
@@ -18,7 +18,7 @@
*
*/
@RunWith(Suite.class)
-@SuiteClasses({ CheckDevhelp.class, })
+@SuiteClasses(CheckDevhelp.class)
public class AllTests {
// empty
}
diff --git a/profiling/org.eclipse.linuxtools.profiling.provider.tests/src/org/eclipse/linuxtools/profiling/provider/tests/AllTests.java b/profiling/org.eclipse.linuxtools.profiling.provider.tests/src/org/eclipse/linuxtools/profiling/provider/tests/AllTests.java
deleted file mode 100644
index d3bb9e9..0000000
--- a/profiling/org.eclipse.linuxtools.profiling.provider.tests/src/org/eclipse/linuxtools/profiling/provider/tests/AllTests.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012, 2018 Red Hat, Inc.
- *
- * This program and the accompanying materials are made
- * available under the terms of the Eclipse Public License 2.0
- * which is available at https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Red Hat initial API and implementation
- *******************************************************************************/
-package org.eclipse.linuxtools.profiling.provider.tests;
-
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-import org.junit.runners.Suite.SuiteClasses;
-
-@RunWith(Suite.class)
-@SuiteClasses({LaunchTest.class, ExtensionPointTest.class})
-public class AllTests {
-
-}
diff --git a/profiling/org.eclipse.linuxtools.rdt.proxy.tests/src/org/eclipse/linuxtools/rdt/proxy/tests/AllTests.java b/profiling/org.eclipse.linuxtools.rdt.proxy.tests/src/org/eclipse/linuxtools/rdt/proxy/tests/AllTests.java
deleted file mode 100644
index 7f2c9b2..0000000
--- a/profiling/org.eclipse.linuxtools.rdt.proxy.tests/src/org/eclipse/linuxtools/rdt/proxy/tests/AllTests.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2018 Red Hat, Inc and others.
- *
- * This program and the accompanying materials are made
- * available under the terms of the Eclipse Public License 2.0
- * which is available at https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *******************************************************************************/
-package org.eclipse.linuxtools.rdt.proxy.tests;
-
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-import org.junit.runners.Suite.SuiteClasses;
-
-@RunWith(Suite.class)
-@SuiteClasses({CommandLauncherProxyTest.class, FileProxyTest.class,
- RemoteProxyManagerTest.class
-})
-public class AllTests {
-
-}