[weld-commits] Weld SVN: r4539 - cdi-tck/trunk/impl/src/main/resources.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Sun Nov 1 23:05:55 EST 2009


Author: shane.bryzak at jboss.com
Date: 2009-11-01 23:05:54 -0500 (Sun, 01 Nov 2009)
New Revision: 4539

Modified:
   cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
Log:
assertions for inheritance chapter


Modified: cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
===================================================================
--- cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml	2009-11-02 03:57:14 UTC (rev 4538)
+++ cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml	2009-11-02 04:05:54 UTC (rev 4539)
@@ -1996,9 +1996,13 @@
     <assertion id="k">
       <text>A bean X that specializes bean Y will have the same name as Y if Y has a name.</text>
     </assertion>
+    
+    <assertion id="l">
+      <text>X must have all bean types of Y.  If X does not support some bean type of Y, the container automatically detects the problem and treats it as a definition error.</text>
+    </assertion>
 
     <group>
-      <text>If X declares a name explicitly, using |@Named|, the container automatically detects the problem and treats it as a definition error, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+      <text>If Y has a name and X declares a name explicitly, using |@Named|, the container automatically detects the problem and treats it as a definition error.</text>
             
       <assertion id="la">
         <text>Test that a specializing producer method with a name throws a deployment exception.</text>
@@ -2012,9 +2016,9 @@
         <text>Test that a specializing enterprise bean with a name throws a deployment exception.</text>
       </assertion>            
     </group>
-
-    <assertion id="m">
-      <text>X must have all the bean types of Y. If X does not support some bean type of Y, the container automatically detects the problem and treats it as a definition error, as defined in Section 12.4, "Problems detected automatically by the container".</text>
+    
+    <assertion id="n">
+      <text>If an interceptor or decorator is annotated |@Specializes|, non-portable behavior results.</text>
     </assertion>
   </section>
 



More information about the weld-commits mailing list