[
https://issues.jboss.org/browse/CDITCK-73?page=com.atlassian.jira.plugin....
]
Martin Kouba resolved CDITCK-73.
--------------------------------
Fix Version/s: 1.1.0.Alpha1
(was: 1.1.0.CR1)
Resolution: Done
bq. a) abstract decorators can be applied at all (i.e. instantiated)
*org.jboss.cdi.tck.tests.decorators.definition.DecoratorDefinitionTest.testAbstractDecoratorNotImplementingMethodOfDecoratedType()*
bq. b) methods which are not decorating methods of the decorated type cannot be abstract
(DefinitionException)
*org.jboss.cdi.tck.tests.decorators.definition.broken.invalidAbstractMethodOnDecorator.DecoratorWithInvalidAbstractMethodTest.testAbstractMethodsNotDeclaredByDecoratedTypeNotOk()*
bq. c) when abstract decorating method are called as part of the decorator chain, they are
actually deferring the call to the injected delegate
*org.jboss.cdi.tck.tests.decorators.definition.DecoratorDefinitionTest.testAbstractDecoratorNotImplementingMethodOfDecoratedType()*
Test abstract decorators functionally
-------------------------------------
Key: CDITCK-73
URL:
https://issues.jboss.org/browse/CDITCK-73
Project: CDI TCK
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 1.0.0.GA
Reporter: Marius Bogoevici
Assignee: Martin Kouba
Fix For: 1.1.0.Alpha1
The current assertions for abstract decorators are just testing that abstract classes
annotated with decorators can be enabled and are resolved correctly. However, no
functionality test involving abstract decorators is carried out.
The assertions should test that:
a) abstract decorators can be applied at all (i.e. instantiated)
b) methods which are not decorating methods of the decorated type cannot be abstract
(DefinitionException)
c) when abstract decorating method are called as part of the decorator chain, they are
actually deferring the call to the injected delegate
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira