Author: dgolovin
Date: 2011-08-15 20:26:17 -0400 (Mon, 15 Aug 2011)
New Revision: 33950
Modified:
trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test/
trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test/pom.xml
Log:
https://issues.jboss.org/browse/JBIDE-9470 test failures in
org.jboss.tools.deltacloud.ui.bot.test
fixed most of the problems here but one problem left is how to configure delta cloud
server to use in this test when it ran on hudson.
Property changes on: trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test
___________________________________________________________________
Modified: svn:ignore
- target
buildlog.latest.txt
bin
build
+ target
buildlog.latest.txt
bin
build
swtbot.properties
screenshots
Modified: trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test/pom.xml
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test/pom.xml 2011-08-15
23:57:12 UTC (rev 33949)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.ui.bot.test/pom.xml 2011-08-16
00:26:17 UTC (rev 33950)
@@ -11,4 +11,48 @@
<artifactId>org.jboss.tools.deltacloud.ui.bot.test</artifactId>
<packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <systemProperties>-Dswtbot.test.properties.file=./swtbot.properties</systemProperties>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <configuration>
+ <useUIThread>false</useUIThread>
+ <skip>${swtbot.test.skip}</skip>
+ <dependencies>
+ <dependency>
+ <type>p2-installable-unit</type>
+ <artifactId>org.jboss.tools.deltacloud.feature.feature.group</artifactId>
+ <version>0.0.0</version>
+ </dependency>
+ </dependencies>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>${maven.antrun.plugin.version}</version>
+ <executions>
+ <execution>
+ <id>default-swtbot-config</id>
+ <phase>generate-test-resources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <echo file="swtbot.properties"
append="false">JAVA=1.6,${jboss.tools.jre.6}
+SS=password
+ </echo>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
\ No newline at end of file