diff options
author | Mickael Istria | 2013-12-16 10:43:46 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2013-12-20 16:01:35 +0000 |
commit | 253e2c140ebff05b824b12c79bf8f8f7853a2a71 (patch) | |
tree | e8276ddb278e8ae2186d5b749709f7ed7dbdba86 | |
parent | c8dfc5df2624907827c61e5fffea628a1611eafb (diff) | |
download | webtools.maps-253e2c140ebff05b824b12c79bf8f8f7853a2a71.tar.gz webtools.maps-253e2c140ebff05b824b12c79bf8f8f7853a2a71.tar.xz webtools.maps-253e2c140ebff05b824b12c79bf8f8f7853a2a71.zip |
[419113] Configuration for surefire test runner
Signed-off-by: Mickael Istria <mistria@redhat.com>
Change-Id: I2ec69e92a8b8cab4af406ee7983564abbba77ebd
-rw-r--r-- | pom.xml | 14 | ||||
-rw-r--r-- | tests/org.eclipse.wst.jsdt.core.tests.compiler/pom.xml | 8 | ||||
-rw-r--r-- | tests/org.eclipse.wst.jsdt.core.tests.model/pom.xml | 8 | ||||
-rw-r--r-- | tests/org.eclipse.wst.jsdt.debug.core.tests/META-INF/MANIFEST.MF | 3 | ||||
-rw-r--r-- | tests/org.eclipse.wst.jsdt.debug.core.tests/pom.xml | 28 | ||||
-rw-r--r-- | tests/org.eclipse.wst.jsdt.debug.rhino.tests/META-INF/MANIFEST.MF | 3 | ||||
-rw-r--r-- | tests/org.eclipse.wst.jsdt.debug.rhino.tests/pom.xml | 8 | ||||
-rw-r--r-- | tests/org.eclipse.wst.jsdt.ui.tests/pom.xml | 28 |
8 files changed, 93 insertions, 7 deletions
@@ -35,4 +35,18 @@ <module>tests/org.eclipse.wst.jsdt.debug.rhino.tests</module> <module>tests/org.eclipse.wst.jsdt.ui.tests</module> </modules> + + <repositories> + <!-- To reference parent pom --> + <repository> + <id>Webtools Repository - Releases</id> + <name>Webtools Repository - Releases</name> + <url>https://repo.eclipse.org/content/repositories/webtools-releases/</url> + </repository> + <repository> + <id>Webtools Repository - Snapshots</id> + <name>Webtools Repository - Snapshots</name> + <url>https://repo.eclipse.org/content/repositories/webtools-snapshots/</url> + </repository> + </repositories> </project> diff --git a/tests/org.eclipse.wst.jsdt.core.tests.compiler/pom.xml b/tests/org.eclipse.wst.jsdt.core.tests.compiler/pom.xml index 8f1463ac8..fc5c9628d 100644 --- a/tests/org.eclipse.wst.jsdt.core.tests.compiler/pom.xml +++ b/tests/org.eclipse.wst.jsdt.core.tests.compiler/pom.xml @@ -8,6 +8,7 @@ Contributors: Thanh Ha (Eclipse Foundation) - initial implementation + Mickael Istria (Red Hat Inc.) - 419113 Enable tests with Tycho --> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" @@ -23,5 +24,10 @@ <groupId>org.eclipse.webtools.jsdt</groupId> <artifactId>org.eclipse.wst.jsdt.core.tests.compiler</artifactId> <version>1.0.700-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.jsdt.core.tests.compiler.JSDTCompilerTests</testClass> + </properties> </project> diff --git a/tests/org.eclipse.wst.jsdt.core.tests.model/pom.xml b/tests/org.eclipse.wst.jsdt.core.tests.model/pom.xml index 0e26e5af7..77cf03a5c 100644 --- a/tests/org.eclipse.wst.jsdt.core.tests.model/pom.xml +++ b/tests/org.eclipse.wst.jsdt.core.tests.model/pom.xml @@ -8,6 +8,7 @@ Contributors: Thanh Ha (Eclipse Foundation) - initial implementation + Mickael Istria (Red Hat Inc.) - 419113 Enable tests with Tycho --> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" @@ -23,5 +24,10 @@ <groupId>org.eclipse.webtools.jsdt</groupId> <artifactId>org.eclipse.wst.jsdt.core.tests.model</artifactId> <version>1.0.600-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.jsdt.core.tests.RunJSDTCoreTests</testClass> + </properties> </project> diff --git a/tests/org.eclipse.wst.jsdt.debug.core.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.jsdt.debug.core.tests/META-INF/MANIFEST.MF index b6ee14486..7db72856c 100644 --- a/tests/org.eclipse.wst.jsdt.debug.core.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.wst.jsdt.debug.core.tests/META-INF/MANIFEST.MF @@ -14,7 +14,8 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.debug.ui, org.eclipse.wst.jsdt.core, org.eclipse.core.resources, - org.eclipse.debug.core + org.eclipse.debug.core, + org.eclipse.wst.jsdt.debug.ui Bundle-RequiredExecutionEnvironment: J2SE-1.4 Bundle-ActivationPolicy: lazy Export-Package: org.eclipse.wst.debug.core.tests;x-internal:=true, diff --git a/tests/org.eclipse.wst.jsdt.debug.core.tests/pom.xml b/tests/org.eclipse.wst.jsdt.debug.core.tests/pom.xml index 43cc324ad..9856bb47d 100644 --- a/tests/org.eclipse.wst.jsdt.debug.core.tests/pom.xml +++ b/tests/org.eclipse.wst.jsdt.debug.core.tests/pom.xml @@ -8,6 +8,7 @@ Contributors: Thanh Ha (Eclipse Foundation) - initial implementation + Mickael Istria (Red Hat Inc.) - 419113 Enable tests with Tycho --> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" @@ -23,5 +24,30 @@ <groupId>org.eclipse.webtools.jsdt</groupId> <artifactId>org.eclipse.wst.jsdt.debug.core.tests</artifactId> <version>1.0.300-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.debug.core.tests.JavaScriptDebugTestSuite</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>true</useUIThread> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.equinox.event</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project> diff --git a/tests/org.eclipse.wst.jsdt.debug.rhino.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.jsdt.debug.rhino.tests/META-INF/MANIFEST.MF index 710e2526b..9ad85d1e0 100644 --- a/tests/org.eclipse.wst.jsdt.debug.rhino.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.wst.jsdt.debug.rhino.tests/META-INF/MANIFEST.MF @@ -9,7 +9,8 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.wst.jsdt.debug.rhino, org.eclipse.wst.jsdt.debug.rhino.debugger, org.mozilla.javascript;bundle-version="1.7.2", - org.eclipse.wst.jsdt.debug.transport + org.eclipse.wst.jsdt.debug.transport, + org.eclipse.jface.text Bundle-RequiredExecutionEnvironment: J2SE-1.4 Bundle-Vendor: %Bundle-Vendor Export-Package: org.eclipse.wst.jsdt.debug.rhino.tests;x-internal:=true diff --git a/tests/org.eclipse.wst.jsdt.debug.rhino.tests/pom.xml b/tests/org.eclipse.wst.jsdt.debug.rhino.tests/pom.xml index 2e62c7fce..f7b1050a2 100644 --- a/tests/org.eclipse.wst.jsdt.debug.rhino.tests/pom.xml +++ b/tests/org.eclipse.wst.jsdt.debug.rhino.tests/pom.xml @@ -8,6 +8,7 @@ Contributors: Thanh Ha (Eclipse Foundation) - initial implementation + Mickael Istria (Red Hat Inc.) - 419113 Enable tests with Tycho --> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" @@ -23,5 +24,10 @@ <groupId>org.eclipse.webtools.jsdt</groupId> <artifactId>org.eclipse.wst.jsdt.debug.rhino.tests</artifactId> <version>1.0.400-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.jsdt.debug.rhino.tests.RhinoDebugTestSuite</testClass> + </properties> </project> diff --git a/tests/org.eclipse.wst.jsdt.ui.tests/pom.xml b/tests/org.eclipse.wst.jsdt.ui.tests/pom.xml index ddb2e6649..38979135d 100644 --- a/tests/org.eclipse.wst.jsdt.ui.tests/pom.xml +++ b/tests/org.eclipse.wst.jsdt.ui.tests/pom.xml @@ -8,6 +8,7 @@ Contributors: Thanh Ha (Eclipse Foundation) - initial implementation + Mickael Istria (Red Hat Inc.) - 419113 Enable tests with Tycho --> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" @@ -23,5 +24,30 @@ <groupId>org.eclipse.webtools.jsdt</groupId> <artifactId>org.eclipse.wst.jsdt.ui.tests</artifactId> <version>1.1.300-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.wst.jsdt.ui.tests.JSDTUITests</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <configuration> + <useUIHarness>true</useUIHarness> + <useUIThread>true</useUIThread> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>org.eclipse.equinox.event</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project> |