Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCK Tests for Qualifiers #404

Closed
14 of 15 tasks
KyleAure opened this issue Dec 28, 2023 · 0 comments · Fixed by #422
Closed
14 of 15 tasks

TCK Tests for Qualifiers #404

KyleAure opened this issue Dec 28, 2023 · 0 comments · Fixed by #422
Assignees
Labels

Comments

@KyleAure
Copy link
Contributor

KyleAure commented Dec 28, 2023

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 and qualifier 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant