Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2012-06-29 15:16:09 +0000
committerMickael Istria2012-07-18 08:02:53 +0000
commit2501aaec9d085c8edf9fba93565cdf9f1964e339 (patch)
tree0ce18cb52ae4a3ea74a054d8b0736fc00f343907 /org.eclipse.swtbot.forms.finder.test
parent3ab699559105c80d2952cae6fad1380a2c838ad2 (diff)
downloadorg.eclipse.swtbot-2501aaec9d085c8edf9fba93565cdf9f1964e339.tar.gz
org.eclipse.swtbot-2501aaec9d085c8edf9fba93565cdf9f1964e339.tar.xz
org.eclipse.swtbot-2501aaec9d085c8edf9fba93565cdf9f1964e339.zip
359024: Move to Tycho
[MS]: - added profile to make UI tests run on Mac - switched to use latest Tycho version 0.15.0 - removed unnecessary redundant version specifier from all pom.xml files - added Juno p2 repository profile - fixed groupId of o.e.s.e.finder.test and o.e.swtbot.test - extend version range for junit dependency to allow usage from Helios, Indigo and Juno Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.swtbot.forms.finder.test')
-rw-r--r--org.eclipse.swtbot.forms.finder.test/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.swtbot.forms.finder.test/pom.xml80
2 files changed, 82 insertions, 1 deletions
diff --git a/org.eclipse.swtbot.forms.finder.test/META-INF/MANIFEST.MF b/org.eclipse.swtbot.forms.finder.test/META-INF/MANIFEST.MF
index d2245dd4..8739e84a 100644
--- a/org.eclipse.swtbot.forms.finder.test/META-INF/MANIFEST.MF
+++ b/org.eclipse.swtbot.forms.finder.test/META-INF/MANIFEST.MF
@@ -16,5 +16,6 @@ Require-Bundle: org.eclipse.swt,
org.eclipse.ui.forms,
org.eclipse.core.runtime,
org.eclipse.ui,
- org.eclipse.swtbot.eclipse.finder
+ org.eclipse.swtbot.eclipse.finder,
+ org.eclipse.ui.forms.examples;bundle-version="3.1.100"
Bundle-Vendor: Eclipse SWTBot
diff --git a/org.eclipse.swtbot.forms.finder.test/pom.xml b/org.eclipse.swtbot.forms.finder.test/pom.xml
new file mode 100644
index 00000000..529a9287
--- /dev/null
+++ b/org.eclipse.swtbot.forms.finder.test/pom.xml
@@ -0,0 +1,80 @@
+<!-- Copyright (c) 2011 PetalsLink. All rights reserved. This program and
+ the accompanying materials are made available under the terms of the Eclipse
+ Public License v1.0 which accompanies this distribution, and is available
+ at http://www.eclipse.org/legal/epl-v10.html Authors: * Mickael Istria (PetalsLink) -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.eclipse.swtbot.plugins</groupId>
+ <artifactId>org.eclipse.swtbot.forms.finder.test</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <parent>
+ <groupId>org.eclipse.swtbot</groupId>
+ <artifactId>parent</artifactId>
+ <version>2.0.5-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <properties>
+ <!-- tycho.testArgLine repeated to re-use the configuration for argLine for jacoco agent -->
+ <uitest.vmparams>${tycho.testArgLine} -Xms64m -Xmx1024m -XX:MaxPermSize=128M</uitest.vmparams>
+ </properties>
+ <profiles>
+ <profile>
+ <id>skip-ui-tests</id>
+ <activation>
+ <property>
+ <name>skip-ui-tests</name>
+ </property>
+ </activation>
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+ </profile>
+ <profile>
+ <id>macosx</id>
+ <activation>
+ <os>
+ <name>mac os x</name>
+ <family>mac</family>
+ </os>
+ </activation>
+ <properties>
+ <ui.test.vmargs>${uitest.vmparams} -XstartOnFirstThread</ui.test.vmargs>
+ </properties>
+ </profile>
+ <profile>
+ <id>other-os</id>
+ <activation>
+ <os>
+ <name>not-mac</name>
+ <family>!mac</family>
+ </os>
+ </activation>
+ <properties>
+ <ui.test.vmargs>${uitest.vmparams}</ui.test.vmargs>
+ </properties>
+ </profile>
+ </profiles>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <argLine>${ui.test.vmargs}</argLine>
+ <useUIHarness>true</useUIHarness>
+ <useUIThread>false</useUIThread>
+ <product>org.eclipse.sdk.ide</product>
+ <application>org.eclipse.ui.ide.workbench</application>
+ <testSuite>org.eclipse.swtbot.forms.finder.test</testSuite>
+ <testClass>org.eclipse.swtbot.forms.finder.test.AllTests</testClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project> \ No newline at end of file

Back to the top