Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTran Le2014-04-06 22:25:19 +0000
committerTran Le2014-04-06 22:25:19 +0000
commit0594d7eeb0996b84599ce6244570b5c4d6895243 (patch)
tree310cd1e8989007b5d72185f733b3253fd14ea75f
parente395e257729ca9d480e6dbde7000439937a02885 (diff)
downloadwebtools.dali-0594d7eeb0996b84599ce6244570b5c4d6895243.tar.gz
webtools.dali-0594d7eeb0996b84599ce6244570b5c4d6895243.tar.xz
webtools.dali-0594d7eeb0996b84599ce6244570b5c4d6895243.zip
429892 - [CBI] Enable JUnit tests for dali.common repov201404062226
-rw-r--r--common/tests/org.eclipse.jpt.common.core.tests/pom.xml9
-rw-r--r--common/tests/org.eclipse.jpt.common.ui.tests/pom.xml23
-rw-r--r--common/tests/org.eclipse.jpt.common.utility.tests/pom.xml13
3 files changed, 37 insertions, 8 deletions
diff --git a/common/tests/org.eclipse.jpt.common.core.tests/pom.xml b/common/tests/org.eclipse.jpt.common.core.tests/pom.xml
index 9471a0d1a0..725f4d83bb 100644
--- a/common/tests/org.eclipse.jpt.common.core.tests/pom.xml
+++ b/common/tests/org.eclipse.jpt.common.core.tests/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2012, 2013 Eclipse Foundation and others.
+ Copyright (c) 2012, 2014 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
@@ -23,5 +23,10 @@
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.jpt.common.core.tests</artifactId>
<version>1.4.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
+ <packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>org.eclipse.jpt.common.core.tests.internal.JptCommonCoreTests</testClass>
+ </properties>
</project>
diff --git a/common/tests/org.eclipse.jpt.common.ui.tests/pom.xml b/common/tests/org.eclipse.jpt.common.ui.tests/pom.xml
index c9458dd118..7797f4bb1b 100644
--- a/common/tests/org.eclipse.jpt.common.ui.tests/pom.xml
+++ b/common/tests/org.eclipse.jpt.common.ui.tests/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2012, 2013 Eclipse Foundation and others.
+ Copyright (c) 2012, 2014 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
@@ -23,5 +23,24 @@
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.jpt.common.ui.tests</artifactId>
<version>1.4.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
+ <packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>org.eclipse.jpt.common.ui.tests.JptCommonUiTests</testClass>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <configuration>
+ <useUIHarness>true</useUIHarness>
+ <useUIThread>true</useUIThread>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/common/tests/org.eclipse.jpt.common.utility.tests/pom.xml b/common/tests/org.eclipse.jpt.common.utility.tests/pom.xml
index 7991ecc808..526f50ab8d 100644
--- a/common/tests/org.eclipse.jpt.common.utility.tests/pom.xml
+++ b/common/tests/org.eclipse.jpt.common.utility.tests/pom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (c) 2012, 2013 Eclipse Foundation and others.
+ Copyright (c) 2012, 2014 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is available at
@@ -14,8 +14,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.eclipse.webtools.dali</groupId>
- <artifactId>org.eclipse.webtools.dali</artifactId>
+ <groupId>org.eclipse.webtools.dali</groupId>
+ <artifactId>org.eclipse.webtools.dali</artifactId>
<version>3.4.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
@@ -23,5 +23,10 @@
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.jpt.common.utility.tests</artifactId>
<version>2.3.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
+ <packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <testSuite>${project.artifactId}</testSuite>
+ <testClass>org.eclipse.jpt.common.utility.tests.internal.JptCommonUtilityTests</testClass>
+ </properties>
</project>

Back to the top