Skip to content

test: extract nested Page mock in DesktopNotificationTest #1573 - #1585

Merged
hyyan merged 1 commit into
webforj:mainfrom
AzazelSensei:test/s9016-desktop-notification-mock-1573
Sep 4, 2026
Merged

hyyan merged 1 commit into
webforj:mainfrom
AzazelSensei:test/s9016-desktop-notification-mock-1573

Conversation

@AzazelSensei

Copy link
Copy Markdown
Contributor

I pulled the nested mock(Page.class) in DesktopNotificationTest into a local variable so it satisfies java:S9016.

Closes #1573

Sonar java:S9016 wants the mock created as a local variable.
@AzazelSensei
AzazelSensei requested a review from hyyan as a code owner September 4, 2026 14:21
@github-actions github-actions Bot added the module: components The change is in the components module label Sep 4, 2026
@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2026

Copy link
Copy Markdown

@hyyan hyyan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks @AzazelSensei for your contribution

@hyyan
hyyan merged commit 97e996f into webforj:main Sep 4, 2026
7 checks passed
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Code Coverage

Overall Project 81.54% 🍏

There is no coverage information present for the Files changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: components The change is in the components module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address java:S9016 findings in webforj-components

2 participants