geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1140966 - in /geronimo/tck/branches/3.0: geronimo-porting/src/main/java/org/apache/geronimo/test/tck/BeansImpl.java jcdi-tck-runner/src/test/resources/tck-tests-released.xml
Date Wed, 29 Jun 2011 04:59:13 GMT
Author: dblevins
Date: Wed Jun 29 04:59:13 2011
New Revision: 1140966

URL: http://svn.apache.org/viewvc?rev=1140966&view=rev
Log:
One more challenge and tweak to the porting code

Modified:
    geronimo/tck/branches/3.0/geronimo-porting/src/main/java/org/apache/geronimo/test/tck/BeansImpl.java
    geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests-released.xml

Modified: geronimo/tck/branches/3.0/geronimo-porting/src/main/java/org/apache/geronimo/test/tck/BeansImpl.java
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/geronimo-porting/src/main/java/org/apache/geronimo/test/tck/BeansImpl.java?rev=1140966&r1=1140965&r2=1140966&view=diff
==============================================================================
--- geronimo/tck/branches/3.0/geronimo-porting/src/main/java/org/apache/geronimo/test/tck/BeansImpl.java
(original)
+++ geronimo/tck/branches/3.0/geronimo-porting/src/main/java/org/apache/geronimo/test/tck/BeansImpl.java
Wed Jun 29 04:59:13 2011
@@ -30,7 +30,8 @@ public class BeansImpl implements Beans 
 
     public boolean isProxy(Object instance) {
         System.out.println("isProxy: " + instance);
-        return instance.getClass().getName().contains("$$");
+        final String name = instance.getClass().getName();
+        return name.contains("$$") || name.startsWith("$Proxy");
     }
 
     @Override

Modified: geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests-released.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests-released.xml?rev=1140966&r1=1140965&r2=1140966&view=diff
==============================================================================
--- geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests-released.xml (original)
+++ geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests-released.xml Wed
Jun 29 04:59:13 2011
@@ -10,6 +10,7 @@
             <package name="org.jboss.jsr299.tck.interceptors.tests.*"/>
         </packages>
         <classes>
+
           <!-- CDI-136 This requirement has been removed from the spec -->
           <class name="org.jboss.jsr299.tck.tests.context.passivating.broken.dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean.EnterpriseBeanWithIllegalDependencyTest">
             <methods>
@@ -26,6 +27,14 @@
               <exclude name="testEnterpriseBeanWithNonPassivatingDecoratorFails"/>
             </methods>
           </class>
+
+          <!-- CDITCK-223 -->
+          <class name="org.jboss.jsr299.tck.tests.implementation.enterprise.lifecycle.EnterpriseBeanLifecycleTest">
+            <methods>
+              <exclude name="testCreateSFSB"/>
+            </methods>
+          </class>
+
         </classes>
     </test>
 </suite>



Mime
View raw message