[webbeans-dev] TCK assertions updated
Shane Bryzak
shane.bryzak at jboss.com
Wed Jun 10 00:04:58 EDT 2009
I've now completed the updates to tck-audit.xml with the assertions from
a recent version of the spec (20090519). While updating, I kept track
of section changes where practical and compiled a list (found below)
which can be used as a reference for updating the TCK unit tests. There
have been other spec updates since, however I believe it should be a
comparitively minor task to update the assertions with these few changes.
My recommendations for updating the TCK tests are:
1) Work with one test class at a time, updating the spec version
referenced in the class javadoc once all tests have been updated.
2) Use the list below to update the section ID (many sections have
simply been moved, however for some sections much content has been updated)
3) Be sure to confirm that the tests do indeed match the referenced
assertion.
Shane
Section number and title changes
Original version : PRD2
New version : 20090519
Old: 2.3.5 Specifying bindings of an injected field
New: 2.3.4 Specifying bindings of an injected field
Old: 2.3.6 Specifying bindings of a method or constructor parameter
New: 2.3.5 Specifying bindings of a method or constructor parameter
Old: 2.4.3 Declaring the bean scope using annotations
New: 2.4.3 Declaring the bean scope
Old: 2.4.5 Default scope
New: 2.4.4 Default scope
Old: 2.5.5 Default deployment type
New: 2.5.4 Default deployment type
Old: 2.5.6 Enabled deployment types
New: 2.5.5 Enabled deployment types
Old: 2.6 Bean names
New: 2.6 Bean EL names
Old: 2.6.3 Default bean names
New: 2.6.2 Default bean EL names
Old: 2.6.4 Beans with no name
New: 2.6.3 Beans with no EL name
Old: 2.7.1.5 Stereotypes with additional stereotypes
New: 2.7.1.4 Stereotypes with additional stereotypes
Old: 2.7.2 Declaring the stereotypes for a bean using annotations
New: 2.7.2 Declaring the stereotypes for a bean
Old: 2.7.5 Built-in stereotypes
New: 2.7.3 Built-in stereotypes
Old: 3.2 Simple Beans
New: 3.2 Managed Beans
Old: 3.2.1 Which Java classes are beans?
Old: 3.2.1 Which Java classes are managed beans?
Old: 3.2.2 Bean types of a simple bean
New: 3.2.2 Bean types of a managed bean
Old: 3.2.3 Declaring a simple bean using annotations
New: 3.2.3 Declaring a managed bean
Old: 3.2.6 Bean constructors
New: 3.2.4 Bean constructors
Old: 3.2.6.1 Declaring a bean constructor using annotations
New: 3.2.4.1 Declaring a bean constructor
Old: 3.2.6.3 Bean constructor parameters
New: 3.2.4.2 Bean constructor parameters
Old: 3.2.7 Specializing a simple bean
New: 3.2.5 Specializing a managed bean
Old: 3.2.8 Default name for a simple bean
New: 3.2.6 Default name for a managed bean
Old: 3.3.3 Bean types of a session bean
New: 3.3.2 Bean types of a session bean
Old: 3.3.4 Declaring a session bean using annotations
New: 3.3.3 Declaring a session bean
Old: 3.3.7 Specializing a session bean
New: 3.3.4 Specializing a session bean
Old: 3.3.8 Default name for a session bean
New: 3.3.5 Default name for a session bean
Old: 3.4.2 Declaring a producer method using annotations
New: 3.4.2 Declaring a producer method
Old: 3.4.5 Specializing a producer method
New: 3.4.4 Specializing a producer method
Old: 3.4.6 Disposal methods
New: 3.4.5 Disposal methods
Old: 3.4.7 Disposed parameter of a disposal method
New: 3.4.6 Disposed parameter of a disposal method
Old: 3.4.8 Declaring a disposal method using annotations
New: 3.4.7 Declaring a disposal method
Old: 3.4.10 Disposal method parameters
New: 3.4.8 Disposal method parameters
Old: 3.4.11 Disposal method resolution
New: 3.4.9 Disposal method resolution
Old: 3.4.12 Default name for a producer method
New: 3.4.10 Default name for a producer method
Old: 3.5.2 Declaring a producer field using annotations
New: 3.5.2 Declaring a producer field
Old: 3.5.4 Default name for a producer field
New: 3.5.3 Default name for a producer field
Old: 3.6.1 Declaring a resource using XML
New: 3.6.1 Declaring a resource
Old: 3.7 JMS resources
New: 3.7 Message destinations
Old: 3.7.1 Bean types of a JMS resource
New: 3.7.1 Bean types of a message destination
Old: 3.7.2 Declaring a JMS resource using XML
New: 3.7.2 Declaring a message destination
Old: 3.8.1 Declaring an injected field using annotations
New: 3.8.1 Declaring an injected field
Old: 3.9.1 Declaring an initializer method using annotations
New: 3.9.1 Declaring an initializer method
Old: 3.9.3 Initializer method parameters
New: 3.9.2 Initializer method parameters
Old: 3.10 Support for Common Annotations (removed)
New: 3.10 The default binding at injection points
Old: 3.11 The Bean object for a bean (removed)
New: 3.11 Beans with the @New binding
Old: 4 Inheritance, specialization and realization
New: 4 Inheritance and specialization
Old: 4.3.1 Using specialization (removed)
Old: 4.3.2 Direct and indirect specialization
New: 4.3.1 Direct and indirect specialization
New: 4.3.2 Most specialized enabled bean for a bean
Old: 5.1 Unsatisfied and ambiguous dependencies
New: 5.1.2 Unsatisfied and ambiguous dependencies
Old: 5.9 Typesafe resolution algorithm
New: 5.1 Typesafe resolution algorithm
Old: 5.2 Primitive types and null values
New: 5.1.3 Primitive types and null values
Old: 5.9.1 Binding annotations with members
New: 5.1.4 Binding annotations with members
Old: 5.9.2 Multiple bindings
New: 5.1.5 Multiple bindings
Old: 5.11 Name resolution algorithm
New: 5.2 EL name resolution algorithm
Old: 5.4 Client proxies
New: 5.3 Client proxies
Old: 5.4.1 Unproxyable bean types
New: 5.3.1 Unproxyable bean types
Old: 5.4.2 Client proxy invocation
New: 5.3.2 Client proxy invocation
Old: 5.3 Injected reference validity
New: 5.4.2 Injected reference validity
Old: 5.6 Injection point metadata
New: 5.4.9 Injection point metadata
Old: 5.8 Dynamic lookup
New: 5.5 Programmatic lookup
Old: 5.10 EL name resolution
New: 5.6 Integration with Unified EL
Old: 8 Scopes and contexts
New: 6 Scopes and contexts
Old: 8.1 The Context interface
New: 6.2 The Context interface
Old: 8.2 Normal scopes and pseudo-scopes
New: 6.3 Normal scopes and pseudo-scopes
Old: 8.3 Dependent pseudo-scope
New: 6.4 Dependent pseudo-scope
Old: 8.3.2 Dependent object destruction
New: 6.4.3 Dependent object destruction
Old: 5.3 Injected reference Validity
New: 6.5.4 Contextual reference validity
Old: 8.4 Passivating scopes and serialization
New: 6.6.3 Passivating scopes
Old: 8.5.1 Request context lifecycle
New: 6.7.1 Request context lifecycle
Old: 8.5.2 Session context lifecycle
New: 6.7.2 Session context lifecycle
Old: 8.5.3 Application context lifecycle
New: 6.7.3 Application context lifecycle
Old: 8.5.4 Conversation context lifecycle
New: 6.7.4 Conversation context lifecycle
Old: 6.4 Lifecycle of simple beans
New: 7.2 Lifecycle of managed beans
Old: 6.5 Lifecycle of stateful session beans
New: 7.3 Lifecycle of stateful session beans
Old: 6.6 Lifecycle of stateless session and singleton beans
New: 7.4 Lifecycle of stateless session and singleton beans
Old: 6.7 Lifecycle of producer methods
New: 7.5 Lifecycle of producer methods
Old: 6.8 Lifecycle of producer fields
New: 7.6 Lifecycle of producer fields
Old: 6.9 Lifecycle of resources
New: 7.7 Lifecycle of resources
Old: 6.10 Lifecycle of JMS resources
New: 7.8 Lifecycle of message destinations
Old: 7 Events
New: 10 Events
Old: 7.1 Event types and binding types
New: 10.1 Event types and binding types
Old: 7.7.1 Event binding types with members
New: 10.2.1 Event binding types with members
Old: 7.5 Observer methods
New: 10.5 Observer methods
Old: 7.5.1 Event parameter of an observer method
New: 10.5.1 Event parameter of an observer method
Old: 7.5.6 Transactional observer methods
New: 10.5.5 Transactional observer methods
Old: 7.4 Observer notification
New: 10.6 Observer notification
Old: 7.5.8 Observer object for an observer method
New: 10.6.1 Observer method notification
Old: 7.5.9 Observer invocation context
New: 10.6.2 Observer method invocation context
More information about the weld-dev
mailing list