geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viol...@apache.org
Subject svn commit: r1085294 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/test/java/org/apache/geronimo/openejb/DeepBindableContextTest.java
Date Fri, 25 Mar 2011 09:00:07 GMT
Author: violalu
Date: Fri Mar 25 09:00:07 2011
New Revision: 1085294

URL: http://svn.apache.org/viewvc?rev=1085294&view=rev
Log:
GERONIMO-5874 change DeepBindableContextTest.java test case avoiding test failure.

Modified:
    geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/test/java/org/apache/geronimo/openejb/DeepBindableContextTest.java

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/test/java/org/apache/geronimo/openejb/DeepBindableContextTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/test/java/org/apache/geronimo/openejb/DeepBindableContextTest.java?rev=1085294&r1=1085293&r2=1085294&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/test/java/org/apache/geronimo/openejb/DeepBindableContextTest.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/test/java/org/apache/geronimo/openejb/DeepBindableContextTest.java
Fri Mar 25 09:00:07 2011
@@ -24,7 +24,7 @@ import javax.naming.Context;
 import javax.naming.NamingException;
 
 import junit.framework.TestCase;
-import org.apache.geronimo.gjndi.GlobalContextGBean;
+import org.apache.xbean.naming.context.WritableContext;
 import org.apache.xbean.naming.global.GlobalContextManager;
 
 /**
@@ -34,7 +34,7 @@ public class DeepBindableContextTest ext
     
     public void testBindUnbind() throws Exception {
         System.setProperty("java.naming.factory.initial", "org.apache.xbean.naming.global.GlobalContextManager");
-        GlobalContextGBean globalContext = new GlobalContextGBean(null);
+        WritableContext globalContext = new WritableContext("");
         GlobalContextManager.setGlobalContext(globalContext);
         DeepBindableContext context = new DeepBindableContext("openejb", false, true, false,
false);
         globalContext.bind("openejb", context);



Mime
View raw message