[webbeans-commits] Webbeans SVN: r1590 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/specialization/producer/method.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed Feb 18 20:03:15 EST 2009


Author: shane.bryzak at jboss.com
Date: 2009-02-18 20:03:15 -0500 (Wed, 18 Feb 2009)
New Revision: 1590

Modified:
   tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java
Log:
mapped specialization tests

Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java	2009-02-19 00:38:53 UTC (rev 1589)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/inheritance/specialization/producer/method/ProducerMethodSpecializationTest.java	2009-02-19 01:03:15 UTC (rev 1590)
@@ -35,8 +35,8 @@
 
    @Test
    @SpecAssertions({
-     @SpecAssertion(section = "4.3.1", id = "unknown"),
-     @SpecAssertion(section = "3.4.5", id = "unknown")
+     @SpecAssertion(section = "4.3.1", id = "c"),
+     @SpecAssertion(section = "3.4.5", id = "a")
    })
    public void testSpecializingBeanHasBindingsOfSpecializedAndSpecializingBean()
    {
@@ -48,8 +48,8 @@
    
    @Test
    @SpecAssertions({
-     @SpecAssertion(section = "4.3.1", id = "unknown"),
-     @SpecAssertion(section = "3.4.5", id = "unknown")
+     @SpecAssertion(section = "4.3.1", id = "d"),
+     @SpecAssertion(section = "3.4.5", id = "a")
    })
    public void testSpecializingBeanHasNameOfSpecializedBean()
    {
@@ -59,7 +59,7 @@
    }
    
    @Test(expectedExceptions=DefinitionException.class)
-   @SpecAssertion(section = "4.3.1", id = "unknown")
+   @SpecAssertion(section = "4.3.1", id = "d")
    public void testSpecializingAndSpecializedBeanHasName()
    {
       deployBeans(HighSchool_Broken.class);
@@ -67,8 +67,8 @@
    
    @Test
    @SpecAssertions({
-     @SpecAssertion(section = "4.3.1", id = "unknown"),
-     @SpecAssertion(section = "3.4.5", id = "unknown")
+     @SpecAssertion(section = "4.3.1", id = "f"),
+     @SpecAssertion(section = "3.4.5", id = "a")
    })
    public void testSpecializedBeanNotInstantiated() throws Exception
    {
@@ -87,35 +87,35 @@
    }
    
    @Test(expectedExceptions=InconsistentSpecializationException.class) 
-   @SpecAssertion(section="4.3.1", id = "unknown")
+   @SpecAssertion(section="4.3.1", id = "a")
    public void testSpecializingBeanDoesNotHaveHigherPrecedenceThanSpecializedBean()
    {
       deployBeans(ClothesShop_Broken.class);
    }
    
    @Test(expectedExceptions=InconsistentSpecializationException.class) 
-   @SpecAssertion(section="4.3.1", id = "unknown")
+   @SpecAssertion(section="4.3.1", id = "review")
    public void testTwoBeansSpecializeTheSameBean()
    {
       deployBeans(PictureShop_Broken.class, Bookshop_Broken.class);
    }
    
    @Test(expectedExceptions=DefinitionException.class) 
-   @SpecAssertion(section="3.4.5", id = "unknown")
+   @SpecAssertion(section="3.4.5", id = "b")
    public void testSpecializedStaticMethod()
    {
       deployBeans(FurnitureShop_Broken.class);
    }
    
    @Test(expectedExceptions=DefinitionException.class) 
-   @SpecAssertion(section="3.4.5", id = "unknown")
+   @SpecAssertion(section="3.4.5", id = "c")
    public void testSpecializedMethodDoesNotOverrideAnotherProducerMethod()
    {
       deployBeans(FurnitureShop_Broken.class);
    }
    
    @Test(expectedExceptions=DefinitionException.class) 
-   @SpecAssertion(section="3.4.5", id = "unknown")
+   @SpecAssertion(section="3.4.5", id = "c")
    public void testSpecializedMethodIndirectlyOverridesAnotherProducerMethod()
    {
       deployBeans(ShoeShop_Broken.class);




More information about the weld-commits mailing list