Tycho build for org.eclipse.egit.ui.test
commitda053e043f3224c714774746f1f3aa9f639e3fe1
authorMatthias Sohn <matthias.sohn@sap.com>
Wed, 14 Apr 2010 23:33:06 +0000 (15 01:33 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 26 Apr 2010 21:03:24 +0000 (26 23:03 +0200)
treecd91285a177ec783f043a1a611e5e830f731db24
parentebbaf062ba76916d2de47b91f5e12a68a2ad3a5f
Tycho build for org.eclipse.egit.ui.test

Following approach described in [1].

Fixed dependencies:
- correcting wrong version range for org.eclipse.core.filesystem
- org.eclipse.ui and org.hamcrest need to be referenced via require-bundle

Make GitCloneWizardTest.canCloneARemoteRepo() independent from Eclipse
workspace name. This eliminates the need to configure the workspace used
by the test run from Tycho.

Introduce maven property "ui.test.vmargs" to enable passing VM parameters to the
VM running the tests.

Also introduce maven property "platform-version-name" to simplify building
against different Eclipse platform releases. E.g. to build and test
against helios platform release run

mvn -Dplatform-version-name=helios clean install

The following platform versions are supported:
- ganymede
- galileo
- helios

The tests are executed in the integration-test phase of the default Maven
lifecycle [2].

Since the feature org.eclipse.sdk.ide is not available in the ganymede p2
repository the feature org.eclipse.pde.feature.group is used to setup the
test harness.

[1] https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho
[2] http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Change-Id: I06e94589589ad18b50daf641d89fd65a8c46f694
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui.test/META-INF/MANIFEST.MF
org.eclipse.egit.ui.test/pom.xml [new file with mode: 0644]
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/wizards/clone/GitCloneWizardTest.java
pom.xml