Skip to content

Conversation

vladak
Copy link
Member

@vladak vladak commented Sep 24, 2025

Continuing the quest to increase coverage of the PageConfig class, this change adds tests for the addScript() method. Note there is a pre-existing set of tests which exercise the Scripts class, this merely adds tests for the missing chain link from the JSPs.

While there, I fixed some pre-existing nits such as the exposed visibility of the Scripts#Type enum via the addScript(String contextPath, String scriptName, Type type) method (by promoting it to public).

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 24, 2025
@vladak vladak added testing and removed OCA Verified All contributors have signed the Oracle Contributor Agreement. labels Sep 24, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 24, 2025
@vladak vladak merged commit 6f60ee6 into oracle:master Sep 24, 2025
10 checks passed
@vladak vladak deleted the page_config_test_add_script branch September 24, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement. testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant