Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2017-07-20 10:32:40 -0400
committerAlexander Kurtakov2017-07-20 15:23:06 -0400
commit3d91a03ab7864953c8e774d2fe6f3bf8be2d35ec (patch)
tree8f5665185e38c402836bc1954c1c575497ff8398
parentbfbf011353bb499f7707736cbfb3f1bad02e3c2a (diff)
downloadeclipse.platform.team-3d91a03ab7864953c8e774d2fe6f3bf8be2d35ec.tar.gz
eclipse.platform.team-3d91a03ab7864953c8e774d2fe6f3bf8be2d35ec.tar.xz
eclipse.platform.team-3d91a03ab7864953c8e774d2fe6f3bf8be2d35ec.zip
Bug 476065 - Allow to run team tests with tycho-surefire-plugin
Change-Id: Ieab3a047650cb34621eee715e308165d5bf31927 Signed-off-by: Mickael Istria <mistria@redhat.com>
-rw-r--r--tests/org.eclipse.compare.tests/pom.xml17
-rw-r--r--tests/org.eclipse.core.tests.net/pom.xml9
-rw-r--r--tests/org.eclipse.jsch.tests/pom.xml2
-rw-r--r--tests/org.eclipse.team.tests.core/pom.xml5
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/pom.xml9
5 files changed, 39 insertions, 3 deletions
diff --git a/tests/org.eclipse.compare.tests/pom.xml b/tests/org.eclipse.compare.tests/pom.xml
index 2abd258f7..58b7d0eae 100644
--- a/tests/org.eclipse.compare.tests/pom.xml
+++ b/tests/org.eclipse.compare.tests/pom.xml
@@ -20,4 +20,21 @@
<artifactId>org.eclipse.compare.tests</artifactId>
<version>3.6.100-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>org.eclipse.compare.tests.AllTests</testClass>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <configuration>
+ <useUIHarness>true</useUIHarness>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/tests/org.eclipse.core.tests.net/pom.xml b/tests/org.eclipse.core.tests.net/pom.xml
index 18bfb3bad..696adfeb5 100644
--- a/tests/org.eclipse.core.tests.net/pom.xml
+++ b/tests/org.eclipse.core.tests.net/pom.xml
@@ -19,5 +19,12 @@
<groupId>org.eclipse.core</groupId>
<artifactId>org.eclipse.core.tests.net</artifactId>
<version>1.4.100-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
+ <packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>org.eclipse.core.tests.net.AllNetTests</testClass>
+ <!-- Currently, test fails with tycho-surefire-plugin -->
+ <skipTests>true</skipTests>
+ </properties>
</project>
diff --git a/tests/org.eclipse.jsch.tests/pom.xml b/tests/org.eclipse.jsch.tests/pom.xml
index d4da96f07..53e8b3353 100644
--- a/tests/org.eclipse.jsch.tests/pom.xml
+++ b/tests/org.eclipse.jsch.tests/pom.xml
@@ -19,5 +19,5 @@
<groupId>org.eclipse.jsch</groupId>
<artifactId>org.eclipse.jsch.tests</artifactId>
<version>1.1.0-SNAPSHOT</version>
- <packaging>eclipse-test-plugin</packaging>
+ <packaging>eclipse-plugin</packaging>
</project>
diff --git a/tests/org.eclipse.team.tests.core/pom.xml b/tests/org.eclipse.team.tests.core/pom.xml
index 981edd330..ddf6a5805 100644
--- a/tests/org.eclipse.team.tests.core/pom.xml
+++ b/tests/org.eclipse.team.tests.core/pom.xml
@@ -20,4 +20,9 @@
<artifactId>org.eclipse.team.tests.core</artifactId>
<version>3.8.1-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>org.eclipse.team.tests.core.AllTeamTests</testClass>
+ </properties>
</project>
diff --git a/tests/org.eclipse.team.tests.cvs.core/pom.xml b/tests/org.eclipse.team.tests.cvs.core/pom.xml
index 180ab2f12..a1f8d0afd 100644
--- a/tests/org.eclipse.team.tests.cvs.core/pom.xml
+++ b/tests/org.eclipse.team.tests.cvs.core/pom.xml
@@ -19,5 +19,12 @@
<groupId>org.eclipse.team</groupId>
<artifactId>org.eclipse.team.tests.cvs.core</artifactId>
<version>3.4.100-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
+ <packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>org.eclipse.team.tests.ccvs.core.AllCoreTests</testClass>
+ <!-- Currently, test fails with tycho-surefire-plugin -->
+ <skipTests>true</skipTests>
+ </properties>
</project>

Back to the top