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 using return types that no longer correspond to spec requirements #522

Conversation

njr-11
Copy link
Contributor

@njr-11 njr-11 commented Mar 5, 2024

TCK tests need to avoid using repository method return types like Iterable, LinkedList, ArrayList, and so forth which are no longer required by the Jakarta Data specification/JavaDoc.

This pull updates these TCK repository methods to switch to return types that the spec requires.

Also, there is a TCK test that was commented out due to having the Streamable return type, which was also removed. I switched this to use a return type of List, which is a return type that is required to be supported by the spec, and re-enabled that test after renaming it from testStreamable to something more appropriate.

@njr-11 njr-11 added the test Something test-related label Mar 5, 2024
@njr-11 njr-11 added this to the Jakarta Data 1.0 milestone Mar 5, 2024
@otaviojava otaviojava merged commit 7723286 into jakartaee:main Mar 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Something test-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants