[weld-commits] Weld SVN: r4625 - in cdi-tck/trunk/impl/src/main: resources and 1 other directory.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Tue Nov 3 13:57:08 EST 2009


Author: pete.muir at jboss.org
Date: 2009-11-03 13:57:08 -0500 (Tue, 03 Nov 2009)
New Revision: 4625

Modified:
   cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/alternative/metadata/AlternativeMetadataTest.java
   cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
Log:
Split out tests

Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/alternative/metadata/AlternativeMetadataTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/alternative/metadata/AlternativeMetadataTest.java	2009-11-03 18:36:28 UTC (rev 4624)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/alternative/metadata/AlternativeMetadataTest.java	2009-11-03 18:57:08 UTC (rev 4625)
@@ -58,7 +58,7 @@
    }
    
    @Test
-   @SpecAssertion(section = "11.4", id = "k")
+   @SpecAssertion(section = "11.4", id = "ka")
    // WELD-201
    public void testGetTypeClosureUsed() {
       assert GroceryWrapper.isGetTypeClosureUsed();

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-03 18:36:28 UTC (rev 4624)
+++ cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml	2009-11-03 18:57:08 UTC (rev 4625)
@@ -5450,9 +5450,21 @@
          <text>Check that |getBaseType()| is used to determine the type of _disposed parameter_. The base type should be different from the orignal type specified in the class definition</text>
       </assertion>
       
-      <assertion id="k">
-         <text>Check that a |getTypeClosure()| is used to determine the bean types. The type closure should be different from the orignal type specified in the class definition.</text>
+      <assertion id="ka">
+         <text>Check that a |getTypeClosure()| is used to determine the bean types for a managed bean. The type closure should be different from the orignal type specified in the class definition.</text>
       </assertion>
+      
+      <assertion id="kb">
+         <text>Check that a |getTypeClosure()| is used to determine the bean types for a session bean. The type closure should be different from the orignal type specified in the class definition.</text>
+      </assertion>
+      
+      <assertion id="kc">
+         <text>Check that a |getTypeClosure()| is used to determine the bean types for a producer field. The type closure should be different from the orignal type specified in the class definition.</text>
+      </assertion>
+      
+      <assertion id="kd">
+         <text>Check that a |getTypeClosure()| is used to determine the bean types for a producer method. The type closure should be different from the orignal type specified in the class definition.</text>
+      </assertion>
 
       <assertion id="l">
          <text>Check that |getAnnotations()| is used to determine the bean scope. The annotations should be different from the orignal type specified in the class definition.</text>



More information about the weld-commits mailing list