DESCRIPTION

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

Tycho seems to hardcode the workspace path to "target/work/data" hence as a
workaround change the Eclipse workspace path used by the tests to this path.

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

[1] https://docs.sonatype.org/display/TYCHO/How+to+run+SWTBot+tests+with+Tycho

Change-Id: I06e94589589ad18b50daf641d89fd65a8c46f694
Signed-off-by: Douglas Trujillo xxx@xxx.xxx


COMMENTS

author: Douglas Trujillo
date: 2010-04-19 23:03:33.000000000

Uploaded patch set 8.

-------------------------------------
author: Douglas Trujillo
date: 2010-04-19 23:11:27.000000000

Patch Set 8: Looks good to me, but someone else must approve; IP review completed

GitCloneWizardTest.canCloneARemoteRepo() checks if the cloned repository exists after running the test. The path to the cloned repository is under the eclipse workspace used in the test run. Since Tycho seems to hardcode the workspace path used for plugin tests this test failed when run from Tycho. As a workaround I changed the workspace path used in the tests to the path eclipse-plugin-test expects. This way now all tests succeed (at least on my box) :-)

-------------------------------------
