[webbeans-commits] Webbeans SVN: r458 - ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Sun Dec 7 15:41:12 EST 2008


Author: gavin.king at jboss.com
Date: 2008-12-07 15:41:12 -0500 (Sun, 07 Dec 2008)
New Revision: 458

Modified:
   ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanModelTest.java
Log:
static methods now allowed

Modified: ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanModelTest.java
===================================================================
--- ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanModelTest.java	2008-12-07 20:38:40 UTC (rev 457)
+++ ri/trunk/webbeans-ri/src/test/java/org/jboss/webbeans/test/ProducerMethodBeanModelTest.java	2008-12-07 20:41:12 UTC (rev 458)
@@ -43,7 +43,7 @@
       tarantulaModel.getDeploymentType().equals(AnotherDeploymentType.class);
    }
    
-   @Test(groups="producerMethod", expectedExceptions=DefinitionException.class) @SpecAssertion(section="3.4")
+   @Test(groups="producerMethod") @SpecAssertion(section="3.4")
    public void testStaticMethod() throws Exception
    {
       SimpleBean<BeanWithStaticProducerMethod> bean = createSimpleBean(BeanWithStaticProducerMethod.class);




More information about the weld-commits mailing list