openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1083759 - /openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
Date Mon, 21 Mar 2011 12:31:19 GMT
Author: struberg
Date: Mon Mar 21 12:31:19 2011
New Revision: 1083759

URL: http://svn.apache.org/viewvc?rev=1083759&view=rev
Log:
OWB-547 better just force the DefaultContextsService for unit tests

Modified:
    openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties

Modified: openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties?rev=1083759&r1=1083758&r2=1083759&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
(original)
+++ openwebbeans/trunk/webbeans-test/cditest-owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
Mon Mar 21 12:31:19 2011
@@ -15,13 +15,17 @@
 #specific language governing permissions and limitations
 #under the License.
 
-#general configuration section for testing with OpenWebBeans
+# this is the test configuration, thus it has anordinal between the plugins and the application
+configuration.ordinal=60
 
 # make ViewScoped available
 #org.apache.webbeans.application.useJSF2Extensions=true
-
 # use non-JTA resource injection
 org.apache.webbeans.spi.ResourceInjectionService=org.apache.webbeans.resource.spi.se.StandaloneResourceInjectionService
 
 #Lifecycle to start container
 org.apache.webbeans.spi.ContainerLifecycle=org.apache.webbeans.lifecycle.StandaloneLifeCycle
+
+# we force the default implementation of org.apache.webbeans.corespi.ContextsService.
+# because picking up e.g. the WebContextsService would make unit tests stop working
+org.apache.webbeans.spi.ContextsService=org.apache.webbeans.corespi.se.DefaultContextsService



Mime
View raw message