[embjopr-commits] EMBJOPR SVN: r779 - in trunk/jsfunit: src/test/java/org/jboss/jopr/jsfunit/as5/jbcache and 1 other directory.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Tue Oct 6 20:02:48 EDT 2009


Author: ozizka at redhat.com
Date: 2009-10-06 20:02:48 -0400 (Tue, 06 Oct 2009)
New Revision: 779

Modified:
   trunk/jsfunit/pom.xml
   trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTestBase.java
Log:
 * POM: Added bind-all profile which makes Cargo act like -b 0.0.0.0 .

Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml	2009-10-06 22:33:44 UTC (rev 778)
+++ trunk/jsfunit/pom.xml	2009-10-07 00:02:48 UTC (rev 779)
@@ -211,7 +211,7 @@
                            <jsfunit.tempdir>${basedir}/target/jboss42x/tmp</jsfunit.tempdir>
                            <jsfunit.deploy.dir>${basedir}/target/jboss42x/deploy</jsfunit.deploy.dir>
                            <jboss.configuration>${cargo.jboss.configuration}</jboss.configuration>
-                           <!--<jboss.bind.address>${cargo.jboss.bind.address}</jboss.bind.address>-->
+                           <jboss.bind.address>${cargo.jboss.bind.address}</jboss.bind.address>
                            <jsfunit.jboss.home.dir>${basedir}/target/jboss42x</jsfunit.jboss.home.dir>
                            <htmlunit.browser>${htmlunit.browser}</htmlunit.browser>
                         </systemProperties>
@@ -755,7 +755,15 @@
         </build>
       </profile> <!-- "profile" profile (JBoss Profiler) -->
 
+      <!-- Bind to all IPs -->
+      <profile>
+        <id>bind-all</id>
+        <properties>
+          <cargo.jboss.bind.address>0.0.0.0</cargo.jboss.bind.address>
+        </properties>
+      </profile>
 
+
       <!-- Hudson profile (commented out - hesitating to hard-code version dir to pom.xml)
       <profile>
         <id>running-in-hudson</id>

Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTestBase.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTestBase.java	2009-10-06 22:33:44 UTC (rev 778)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jbcache/JBossCacheTestBase.java	2009-10-07 00:02:48 UTC (rev 779)
@@ -41,7 +41,10 @@
 
 
 
-
+	/**
+	 * Some JBoss AS configurations don't have Cache included -
+	 * in that case, skip all JBoss Cache tests (don't fail).
+	 */
 	protected boolean isJBossConfigWithoutCache(){
 		boolean isJBossConfigWithoutCache = ! ejtt.getJBossConfig().equals("all");
 		if( isJBossConfigWithoutCache )



More information about the embjopr-commits mailing list