Skip to content

Commit

Permalink
Bug 464998 - Configure integration tests
Browse files Browse the repository at this point in the history
Fixed dependencies of client.test.ui for alternative run configurations

Change-Id: Ia85b05655fd65a18c510cd433b16e9fdcb7ee94a
  • Loading branch information
edgarmueller committed May 26, 2015
1 parent 5eaa63f commit 1a14d35
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 4 deletions.
40 changes: 40 additions & 0 deletions tests/org.eclipse.emf.emfstore.client.test.ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,16 @@
<artifactId>org.eclipse.emf.emfstore.client</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>eclipse-plugin</type>
<artifactId>org.eclipse.emf.emfstore.client.ui</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>eclipse-plugin</type>
<artifactId>org.eclipse.emf.emfstore.client.ui.rcp</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>eclipse-plugin</type>
<artifactId>org.eclipse.emf.emfstore.common.model.edit</artifactId>
Expand Down Expand Up @@ -494,6 +504,16 @@
<level>4</level>
<autoStart>false</autoStart>
</bundle>
<bundle>
<id>org.eclipse.emf.emfstore.client.ui</id>
<level>4</level>
<autoStart>false</autoStart>
</bundle>
<bundle>
<id>org.eclipse.emf.emfstore.client.ui.rcp</id>
<level>4</level>
<autoStart>false</autoStart>
</bundle>
<bundle>
<id>org.eclipse.emf.emfstore.client.changetracking.test</id>
<level>4</level>
Expand Down Expand Up @@ -598,6 +618,16 @@
<artifactId>org.eclipse.emf.emfstore.client</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>eclipse-plugin</type>
<artifactId>org.eclipse.emf.emfstore.client.ui</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>eclipse-plugin</type>
<artifactId>org.eclipse.emf.emfstore.client.ui.rcp</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>eclipse-plugin</type>
<artifactId>org.eclipse.emf.emfstore.common.model.edit</artifactId>
Expand Down Expand Up @@ -666,6 +696,16 @@
<level>4</level>
<autoStart>false</autoStart>
</bundle>
<bundle>
<id>org.eclipse.emf.emfstore.client.ui</id>
<level>4</level>
<autoStart>false</autoStart>
</bundle>
<bundle>
<id>org.eclipse.emf.emfstore.client.ui.rcp</id>
<level>4</level>
<autoStart>false</autoStart>
</bundle>
<bundle>
<id>org.eclipse.emf.emfstore.client.changetracking.test</id>
<level>4</level>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.eclipse.swtbot.swt.finder.results.VoidResult;
import org.eclipse.swtbot.swt.finder.waits.DefaultCondition;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotButton;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotList;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotText;
import org.junit.Test;

Expand Down Expand Up @@ -58,9 +57,6 @@ public void run() {
shareProjectController.execute();
}
});
final SWTBotList list = getBot().shell("Please select a server").bot().list();
list.select(1);
getBot().button("OK").click();

getBot().waitUntil(new DefaultCondition() {
// BEGIN SUPRESS CATCH EXCEPTION
Expand Down

0 comments on commit 1a14d35

Please sign in to comment.