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

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Feb 4 08:14:08 EST 2010


Author: jharting
Date: 2010-02-04 08:14:08 -0500 (Thu, 04 Feb 2010)
New Revision: 5723

Modified:
   cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
Log:
Match tests with assertions.

Modified: cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
===================================================================
--- cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml	2010-02-04 12:02:24 UTC (rev 5722)
+++ cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml	2010-02-04 13:14:08 UTC (rev 5723)
@@ -2471,7 +2471,7 @@
       <text>The container must guarantee that when any valid injected reference to a bean of normal scope is invoked, the invocation is always processed by the current instance of the injected bean.</text>
     </assertion>
     
-    <assertion id="e">
+    <assertion id="e" testable="false">
       <text>Client proxies may be shared between multiple injection points.</text>
     </assertion>
   </section>
@@ -2574,9 +2574,21 @@
   </section>
   
   <section id="5.5.1" title="Injection using the bean constructor">
-    <assertion id="a">
-      <text>When the container instantiates a managed bean or session bean with a constructor annotated |@Inject|, the container calls this constructor, passing an injectable reference to each parameter. If there is no constructor annotated |@Inject|, the container calls the constructor with no parameters.</text>
+    <group>
+  		<text>When the container instantiates a managed bean or session bean with a constructor annotated |@Inject|, the container calls this constructor, passing an injectable reference to each parameter. If there is no constructor annotated |@Inject|, the container calls the constructor with no parameters.</text>
+    <assertion id="aa">
+    	<text>Test managed bean with a constructor annotated |@Inject|.</text>
     </assertion>
+    <assertion id="ab">
+    	<text>Test session bean with a constructor annotated |@Inject|.</text>
+    </assertion>
+    <assertion id="ba">
+    	<text>Test constructor with no parameters is used for a managed bean</text>
+    </assertion>
+    <assertion id="bb">
+    	<text>Test constructor with no parameters is used for a session bean</text>
+    </assertion>
+    </group>
   </section>
 
   <section id="5.5.2" title="Injection of fields and initializer methods">



More information about the weld-commits mailing list