Closed
Description
Test cases need to be written to test the new Qualifiers
attribute and qualifier
deployment descriptor.
- Verify resource defined with a
Qualifiers
attribute class(es) is- injected when that qualifier is present
- injected when all qualifiers are present
- not injected when that qualifier is not present
- injected when some qualifiers are not present
- Verify resource defined with a
qualifier
deployment descriptor(s) is- injected when that qualifier is present
- injected when all qualifiers are present
- not injected when that qualifier is not present
- injected when some qualifiers are not present
- Verify resource defined with both a
Qualifiers
attribute class andqualifier
deployment descriptor is- injected when the qualifier from the deployment descriptor is present
- not injected when the qualifier from the
@Qualifiers
attribute is present
- Verify resource defined with both a
Qualifiers
attribute class and a empty list of qualifiers from a deployment descriptor (<qualfiier></qualifier>
) is always injected. - Verify if an application provides a producer, then the application will inject into the default injection point instead of the container.