Author: shane.bryzak(a)jboss.com
Date: 2009-08-19 22:33:06 -0400 (Wed, 19 Aug 2009)
New Revision: 3565
Modified:
tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
Log:
some assertion clarifications
Modified: tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
===================================================================
--- tck/trunk/impl/src/main/resources/tck-audit-cdi.xml 2009-08-20 02:29:17 UTC (rev
3564)
+++ tck/trunk/impl/src/main/resources/tck-audit-cdi.xml 2009-08-20 02:33:06 UTC (rev
3565)
@@ -3967,8 +3967,7 @@
</assertion>
<assertion id="d">
- <text>An interceptor for lifecycle callbacks may only declare interceptor
binding types that are defined as |@Target(TYPE)|. If an
-interceptor for lifecycle callbacks declares an interceptor binding type that is defined
|@Target({TYPE, METHOD})|, the containerautomatically detects the problem and treats it as
a definition error, as defined in Section 12.4, "Problems detected automatically by
the container".</text>
+ <text>An interceptor for lifecycle callbacks may only declare interceptor
binding types that are defined as |@Target(TYPE)|. If an interceptor for lifecycle
callbacks declares an interceptor binding type that is defined |@Target({TYPE, METHOD})|,
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>
</section>
@@ -4030,10 +4029,16 @@
</section>
<section id="9.5.1" title="Interceptors with multiple
bindings">
- <assertion id="a">
- <text>An interceptor class may specify multiple interceptor bindings, in
which case the interceptor will be applied only to beans
-that declare all the bindings at the class level, and to methods of beans for which every
binding appears at either the method or class level.</text>
- </assertion>
+ <group>
+ <text>An interceptor class may specify multiple interceptor bindings, in
which case the interceptor will be applied only to beans that declare all the bindings at
the class level, and to methods of beans for which every binding appears at either the
method or class level.</text>
+ <assertion id="a">
+ <text>Test that the interceptor is applied to a bean with all of the
bindings.</text>
+ </assertion>
+
+ <assertion id="b">
+ <text>Test that the interceptor it not applied to a bean with only some of
the interceptor bindings.</text>
+ </assertion>
+ </group>
</section>
<section id="9.5.2" title="Interceptor binding types with
members">