Skip to content

Conversation

RakeshGuptaDev
Copy link
Contributor

@RakeshGuptaDev RakeshGuptaDev commented Aug 29, 2025

… Security Admin Module

What changes were proposed in this pull request?

AI Disclosure

Added AI-generated Test methods/Test classes for the below modules using Cursor AI and manually reviewed.

Implement unit tests for the org.apache.ranger.security.* package within the Security Admin module.

This includes writing test cases for the following sub-packages:

  • org.apache.ranger.security.web.authentication
  • org.apache.ranger.security.handler
  • org.apache.ranger.security.web.filter
  • org.apache.ranger.security.context
  • org.apache.ranger.security.listener
  • org.apache.ranger.security.standalone

How was this patch tested?

Build completed successfully along with all test cases using the command: mvn clean compile package install.

As per Jacoco
Apache -> Security-Admin Module

Packages Covered

org.apache.ranger.security.web.authentication -> 0% to 91% Coverage

org.apache.ranger.security.handler -> 0% to 82% Coverage

org.apache.ranger.security.web.filter -> 7% to 82% Coverage

org.apache.ranger.security.context -> 3% to 99% Coverage

org.apache.ranger.security.listener -> 1% to 82% Coverage

org.apache.ranger.security.standalone -> 0% to 100% Coverage

Copy link
Contributor

@dhavalshah9131 dhavalshah9131 left a comment

Choose a reason for hiding this comment

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

Please fix the failing test cases

@RakeshGuptaDev
Copy link
Contributor Author

Test cases fixed.

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