[webbeans-commits] Webbeans SVN: r958 - in tck/trunk: impl/src/main/java/org/jboss/webbeans/tck/tests/definition and 1 other directory.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed Jan 14 08:46:43 EST 2009


Author: pete.muir at jboss.org
Date: 2009-01-14 08:46:43 -0500 (Wed, 14 Jan 2009)
New Revision: 958

Modified:
   tck/trunk/api/src/main/java/org/jboss/webbeans/tck/api/Beans.java
   tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/tests/definition/CommonWebBeanTest.java
Log:
remove getBindings

Modified: tck/trunk/api/src/main/java/org/jboss/webbeans/tck/api/Beans.java
===================================================================
--- tck/trunk/api/src/main/java/org/jboss/webbeans/tck/api/Beans.java	2009-01-14 13:43:03 UTC (rev 957)
+++ tck/trunk/api/src/main/java/org/jboss/webbeans/tck/api/Beans.java	2009-01-14 13:46:43 UTC (rev 958)
@@ -79,9 +79,4 @@
     */
    Set<Class<? extends Annotation>> getSupportedScopes(Bean<?> bean);
    
-   /**
-    * 
-    * @return
-    */
-   Set<Annotation> getBindings(Bean<?> bean);
 }

Modified: tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/tests/definition/CommonWebBeanTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/tests/definition/CommonWebBeanTest.java	2009-01-14 13:43:03 UTC (rev 957)
+++ tck/trunk/impl/src/main/java/org/jboss/webbeans/tck/tests/definition/CommonWebBeanTest.java	2009-01-14 13:46:43 UTC (rev 958)
@@ -1,7 +1,5 @@
 package org.jboss.webbeans.tck.tests.definition;
 
-import static org.jboss.webbeans.tck.impl.WebBeansTCKImpl.configuration;
-
 import java.lang.reflect.Method;
 
 import javax.webbeans.Production;
@@ -47,7 +45,7 @@
    public void testBindingTypesNonEmpty()
    {
       Bean<?> model = getSimpleBean(RedSnapper.class);
-      assert configuration().getBeans().getBindings(model).size() > 0;
+      assert model.getBindings().size() > 0;
    }
    
    @Test




More information about the weld-commits mailing list