Skip to content

Add unit tests for NoExitSecurityManager - #366

Draft
keeganwitt wants to merge 1 commit into
groovy:masterfrom
keeganwitt:testing-improvement-no-exit-security-manager-10466977708265419510
Draft

Add unit tests for NoExitSecurityManager#366
keeganwitt wants to merge 1 commit into
groovy:masterfrom
keeganwitt:testing-improvement-no-exit-security-manager-10466977708265419510

Conversation

@keeganwitt

Copy link
Copy Markdown
Member

This commit adds unit tests for the NoExitSecurityManager class to ensure it correctly delegates permission checks and prevents system exit.

Tests covered:

  • Constructors (default and with parent)
  • checkPermission delegation to parent SecurityManager
  • checkPermission handling of null parent
  • checkExit throwing SecurityException

This commit adds unit tests for the NoExitSecurityManager class to ensure it
correctly delegates permission checks and prevents system exit.

Tests covered:
- Constructors (default and with parent)
- checkPermission delegation to parent SecurityManager
- checkPermission handling of null parent
- checkExit throwing SecurityException

Co-authored-by: keeganwitt <64612+keeganwitt@users.noreply.github.com>
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.

1 participant