Author: jgargula
Date: 2012-05-16 09:35:07 -0400 (Wed, 16 May 2012)
New Revision: 41065
Added:
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/resources/SWTBotTest.properties
Modified:
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/META-INF/MANIFEST.MF
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/pom.xml
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java
Log:
Added support for lunching from maven.
Modified:
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
---
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/META-INF/MANIFEST.MF 2012-05-16
13:28:31 UTC (rev 41064)
+++
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/META-INF/MANIFEST.MF 2012-05-16
13:35:07 UTC (rev 41065)
@@ -12,7 +12,7 @@
org.eclipse.swtbot.swt.finder;bundle-version="2.0.0",
org.junit4;bundle-version="4.5.0",
org.jboss.tools.ui.bot.ext,
- org.drools.eclipse;bundle-version="5.3.0",
+ org.drools.eclipse;bundle-version="5.3.1",
org.eclipse.swtbot.eclipse.gef.finder,
org.apache.log4j;bundle-version="1.2.13"
Bundle-ActivationPolicy: lazy
Modified:
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/pom.xml
===================================================================
---
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/pom.xml 2012-05-16
13:28:31 UTC (rev 41064)
+++
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/pom.xml 2012-05-16
13:35:07 UTC (rev 41065)
@@ -1,27 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
-<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>
- <parent>
- <groupId>org.jboss.tools.soa-tooling</groupId>
- <artifactId>org.jboss.tools.soa-tooling.tests</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </parent>
- <groupId>org.jboss.tools</groupId>
- <artifactId>org.jboss.tools.drools.ui.bot.test</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>eclipse-test-plugin</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-surefire-plugin</artifactId>
- <version>${tychoVersion}</version>
- <configuration>
- <useUIThread>false</useUIThread>
- <testSuite>org.jboss.tools.drools.ui.bot.test</testSuite>
- <testClass>org.jboss.tools.drools.ui.bot.test.DroolsAllBotTests</testClass>
- </configuration>
- </plugin>
- </plugins>
- </build>
+<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>
+ <parent>
+ <groupId>org.jboss.tools.soa-tooling</groupId>
+ <artifactId>org.jboss.tools.soa-tooling.tests</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.drools.ui.bot.test</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>eclipse-test-plugin</packaging>
+ <properties>
+ <systemProperties>-Dswtbot.test.skip=false
-Dtest.configurations.dir=resources/</systemProperties>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tychoVersion}</version>
+ <configuration>
+ <useUIThread>false</useUIThread>
+
<testSuite>org.jboss.tools.drools.ui.bot.test</testSuite>
+
<testClass>org.jboss.tools.drools.ui.bot.test.DroolsAllBotTests</testClass>
+ <dependencies combine.children="append">
+ <dependency>
+ <type>p2-installable-unit</type>
+
<artifactId>org.jboss.ide.eclipse.as.feature.feature.group</artifactId>
+ <version>0.0.0</version>
+ </dependency>
+ <dependency>
+ <type>p2-installable-unit</type>
+
<artifactId>org.guvnor.tools.feature.feature.group</artifactId>
+ <version>5.3.1</version>
+ </dependency>
+ </dependencies>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
Added:
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/resources/SWTBotTest.properties
===================================================================
---
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/resources/SWTBotTest.properties
(rev 0)
+++
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/resources/SWTBotTest.properties 2012-05-16
13:35:07 UTC (rev 41065)
@@ -0,0 +1,10 @@
+# SWTBotTest properties
+# all properties are optional, all defined paths should exist
+# <java version>,<jre/jdk home>
+# JAVA=1.6,/opt/sun-jdk-1.6.0.19/jre
+JAVA=1.6,/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/
+# EAP|AS|EPP|SOA,<server version>,<jre version to run
with>|default,<server home>,<optional remote system host>,<optional
remote home>
+# note : when server is type of SOA, version is version of SOA (not the bundled EAP)
+# SERVER=EAP,5.0,1.6,/data/jboss/jboss-eap-5.0/jboss-as
+#SERVER=EAP,4.3,1.6,${jbosstools.test.jboss-eap.home}
+SERVER=EAP,4.3,1.6,/home/jgargula/Programs/jboss-eap-5.1/jboss-as
Modified:
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java
===================================================================
---
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java 2012-05-16
13:28:31 UTC (rev 41064)
+++
trunk/build/aggregate/soatests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/DroolsViewsTest.java 2012-05-16
13:35:07 UTC (rev 41065)
@@ -68,7 +68,7 @@
}
bot.waitForNumberOfShells(1);
-
+
// waits for running debugging
while (!eclipse.isDebugging()) {
bot.sleep(Timing.time500MS());
@@ -166,6 +166,9 @@
/**
* Tests refreshing of Agenda view.
+ *
+ * This test is ignored because it's not a bug, it should be feature
+ *
https://issues.jboss.org/browse/JBIDE-10682
*/
@Test
@Ignore