openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r794392 - /incubator/openwebbeans/trunk/webbeans-tck/src/test/java/org/apache/webbeans/test/tck/BeansImpl.java
Date Wed, 15 Jul 2009 20:11:17 GMT
Author: gerdogdu
Date: Wed Jul 15 20:11:17 2009
New Revision: 794392

URL: http://svn.apache.org/viewvc?rev=794392&view=rev
Log:
update tck for broken error.

Modified:
    incubator/openwebbeans/trunk/webbeans-tck/src/test/java/org/apache/webbeans/test/tck/BeansImpl.java

Modified: incubator/openwebbeans/trunk/webbeans-tck/src/test/java/org/apache/webbeans/test/tck/BeansImpl.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-tck/src/test/java/org/apache/webbeans/test/tck/BeansImpl.java?rev=794392&r1=794391&r2=794392&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-tck/src/test/java/org/apache/webbeans/test/tck/BeansImpl.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-tck/src/test/java/org/apache/webbeans/test/tck/BeansImpl.java
Wed Jul 15 20:11:17 2009
@@ -23,8 +23,7 @@
 import org.apache.webbeans.component.ManagedBean;
 import org.apache.webbeans.component.WebBeansType;
 import org.apache.webbeans.config.DefinitionUtil;
-import org.apache.webbeans.config.SimpleWebBeansConfigurator;
-import org.apache.webbeans.ejb.EJBUtil;
+import org.apache.webbeans.config.ManagedBeanConfigurator;
 import org.apache.webbeans.util.AnnotationUtil;
 import org.jboss.jsr299.tck.spi.Beans;
 
@@ -42,15 +41,15 @@
     {
         ManagedBean<T> bean = null;
 
-        SimpleWebBeansConfigurator.checkSimpleWebBeanCondition(clazz);
+        ManagedBeanConfigurator.checkSimpleWebBeanCondition(clazz);
         
-        bean = SimpleWebBeansConfigurator.define(clazz, WebBeansType.SIMPLE);
+        bean = ManagedBeanConfigurator.define(clazz, WebBeansType.MANAGED);
 
         return bean;
     }
 
     public boolean isEnterpriseBean( Class<?> clazz ) {
-        return EJBUtil.isEJBMessageDrivenClass(clazz) || EJBUtil.isEJBSessionClass(clazz);
+        return false;
     }
 
     public boolean isEntityBean( Class<?> clazz ) 
@@ -63,11 +62,11 @@
     }
 
     public boolean isStatefulBean( Class<?> clazz ) {
-        return EJBUtil.isEJBSessionStatefulClass(clazz);
+        return false;
     }
 
     public boolean isStatelessBean( Class<?> clazz ) {
-        return EJBUtil.isEJBSessionStateless(clazz);
+        return false;
     }
 
     public <T> T getEnterpriseBean(Class<? extends T> beanType, Class<T>
localInterface)



Mime
View raw message