incubator-deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdebussc...@apache.org
Subject git commit: DELTASPIKE-103: Integration testing on wls12c
Date Mon, 27 Feb 2012 15:59:54 GMT
Updated Branches:
  refs/heads/master 50f9259bc -> f6ca9fed5


DELTASPIKE-103: Integration testing on wls12c


Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/f6ca9fed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/f6ca9fed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/f6ca9fed

Branch: refs/heads/master
Commit: f6ca9fed59e63418210667608a78def9eacb2a5a
Parents: 50f9259
Author: Rudy De Busscher <rdebusscher@gmail.com>
Authored: Mon Feb 27 16:59:18 2012 +0100
Committer: Rudy De Busscher <rdebusscher@gmail.com>
Committed: Mon Feb 27 16:59:18 2012 +0100

----------------------------------------------------------------------
 .../src/test/resources/arquillian.xml              |   10 +++
 deltaspike/parent/it/pom.xml                       |   49 +++++++++++++++
 2 files changed, 59 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/f6ca9fed/deltaspike/core/integration-test/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/deltaspike/core/integration-test/src/test/resources/arquillian.xml b/deltaspike/core/integration-test/src/test/resources/arquillian.xml
index 934c35b..953f57a 100644
--- a/deltaspike/core/integration-test/src/test/resources/arquillian.xml
+++ b/deltaspike/core/integration-test/src/test/resources/arquillian.xml
@@ -39,4 +39,14 @@
     <container qualifier="glassfish-remote-3.1">
     </container>
 
+    <container qualifier="wls-remote-12c">
+        <configuration>
+            <property name="adminUrl">t3://localhost:7001</property>
+            <property name="adminUserName">weblogic1</property>
+            <property name="adminPassword">weblogic1</property>
+            <property name="target">AdminServer</property>
+            <property name="wlsHome">${WLS_HOME}</property>
+        </configuration>
+    </container>
+
 </arquillian>

http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/f6ca9fed/deltaspike/parent/it/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/parent/it/pom.xml b/deltaspike/parent/it/pom.xml
index 9e5b20c..e567e45 100644
--- a/deltaspike/parent/it/pom.xml
+++ b/deltaspike/parent/it/pom.xml
@@ -38,6 +38,14 @@
         <jboss.as.version>7.1.0.CR1b</jboss.as.version>
     </properties>
 
+    <repositories>
+        <repository>
+            <!-- required for org.jboss.arquillian.container:arquillian-wls-remote-12.1
-->
+            <id>JBoss</id>
+            <name>JBoss Repository</name>
+            <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+        </repository>
+    </repositories>
 
     <dependencies>
         <dependency>
@@ -189,6 +197,47 @@
         </profile>
 
         <profile>
+            <id>wls-remote-12c</id>
+            <dependencies>
+
+                <dependency>
+                    <groupId>org.jboss.arquillian.container</groupId>
+                    <artifactId>arquillian-wls-remote-12.1</artifactId>
+                    <version>1.0.0.Alpha2</version>
+                    <scope>test</scope>
+                </dependency>
+
+            </dependencies>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <version>${maven.surefire.plugin.version}</version>
+                        <configuration>
+                            <systemProperties>
+                                <arquillian.launch>wls-remote-12c</arquillian.launch>
+                            </systemProperties>
+                            <systemPropertyVariables>
+                                <WLS_HOME>${env.WLS_HOME}</WLS_HOME>
+                            </systemPropertyVariables>
+                            <!-- we just use groups to mark that a test should be executed
only
+                     with specific environments. even though a java-ee6 application server
has to be able to run
+                     all tests in theory, we have to exclude some tests because there are
e.g. packaging issues or
+                     there are currently issues with arquillian. if a test isn't restricted
to an environment,
+                     no category is used for the test-class. -->
+                            <excludedGroups>
+                                org.apache.deltaspike.test.category.FullProfileCategory,
+                                org.apache.deltaspike.test.category.SeCategory
+                            </excludedGroups>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+
+        </profile>
+
+        <profile>
             <id>jbossas-managed-7</id>
             <!-- JBOSS_HOME must be set for this work correctly -->
             <dependencies>


Mime
View raw message