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

[CXF-9019] Jaxws spi unit test coverage enhancement. #1890

Merged
merged 3 commits into from
May 24, 2024

Conversation

jgoodyear
Copy link
Contributor

The provided unit test enhancement helps provide wider coverage of ProviderImpl, and introduces coverage to the WrapperClassLoader.

In ProviderImpl we add test cases for most methods - we do not dive too deep into underlying objects/services - those have their own unit tests to assert correctness.

In the case of WrapperClassLoader we mock the class loader behavoir in order to exercise the generate and createWrapperClass functionality.

@jgoodyear
Copy link
Contributor Author

Will update for importing ordering.

Copy link
Member

@reta reta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @jgoodyear !

@reta reta merged commit 6ad50d5 into apache:main May 24, 2024
4 checks passed
reta pushed a commit that referenced this pull request May 24, 2024
* [cxf-rt-frontend-jaxws] Improve JAXWS SPI unit test coverage

* Add header to WrapperClassCreatorProxyServiceTest

* Fix imports

(cherry picked from commit 6ad50d5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants